wiki.techinc.nl/tests/phpunit/includes
Brad Jorsch 31cb62dd2d DB: Add join conditions to selectField, selectFieldValues, and insertSelect
selectField() and selectFieldValues() are trivial, they just need to
pass it through to select(). In fact, selectFieldValues() was already
doing it, just no one ever updated IDatabase.

insertSelect() is a little more work. nativeInsertSelect() was
originally written as largely a copy-paste of select() and has since
gotten well out of sync. Now that we have selectSQLText(), we should be
able to just use that. DatabasePostgres's implementation can wrap the
parent implementation instead of being another copy-paste, but
DatabaseOracle seems to still need to be special.

Change-Id: I0e6a9e6daa510639d3212641606047a5db96c500
2017-06-14 05:07:42 +00:00
..
actions
api Merge "API: Restore ability for dieStatus() to be passed a non-fatal Status" 2017-06-13 23:25:35 +00:00
auth Make LocalPasswordPrimaryAuthenticationProviderTest use TS_MW timestamp conversion 2017-05-09 19:32:24 -07:00
cache tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
changes ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
collation Add collation for Bashkir (ba) 2017-05-10 04:17:46 +00:00
composer
config config: Add @covers to complete GlobalVarConfig and MultiConfig 2017-05-05 17:26:01 -07:00
content Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
context
db DB: Add join conditions to selectField, selectFieldValues, and insertSelect 2017-06-14 05:07:42 +00:00
debug Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
deferred Try harder to avoid parser cache pollution 2017-06-05 14:17:28 +00:00
diff
exception Remove $wgExceptionHooks 2017-05-22 00:57:44 +02:00
externalstore
filebackend Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
filerepo phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
GlobalFunctions ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
htmlform Merge "HTMLForm: Allow returning Message objects from HTMLFormField::validate()" 2016-11-25 09:11:07 +00:00
http Move HttpAccept* to libs 2017-06-12 18:28:25 +04:30
import Get ConfigFactory & MainConfig from MediaWikiServices 2016-11-23 00:12:38 +00:00
installer DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs 2016-11-30 20:13:30 +00:00
interwiki Merge "Fix inconsistent spec of InterwikiLookup::getAllPrefixes." 2017-05-04 16:38:08 +00:00
jobqueue Allow callback functions for creating jobs 2017-05-09 19:26:13 +02:00
json Remove spaces after cast operators 2016-10-31 13:57:39 +00:00
libs Move HttpAccept* to libs 2017-06-12 18:28:25 +04:30
linkeddata Make Special:PageData accept two-part subpage 2017-06-13 18:52:33 +04:30
linker phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
logging Various test fixes for postgres 2017-05-18 20:30:13 +00:00
mail phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
media Remove X-Content-Dimensions header 2017-06-12 18:07:28 +00:00
objectcache Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
page Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
pager Various test fixes for postgres 2017-05-18 20:30:13 +00:00
parser ParserOptions: Fix handling of 'editsection' 2017-06-14 04:52:36 +00:00
password Improve test coverage in includes/password 2017-06-07 14:28:11 +10:00
poolcounter
rcfeed Add missing @group Database tags in tests 2017-03-18 19:13:18 -04:00
registration Merge "Allow namespaces defined in extension.json to be overwritten locally." 2017-05-21 08:02:22 +00:00
resourceloader Rename all files used in ResourceLoaderImageModule tests to fake names 2017-06-06 13:17:29 +00:00
search Avoid SearchEnginePrefixTest postgres failures 2017-05-22 17:28:42 -07:00
Services phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
session session: Avoid deprecated wfMemcKey() 2017-05-23 22:25:27 -07:00
site phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
skins phpunit: Fix OutputPage::__construct warning in SkinTemplateTest 2017-02-08 18:19:43 +00:00
specialpage Change delimiter for multiple namespaces and tags 2017-05-08 23:03:46 -04:00
specials Make Special:PageData accept two-part subpage 2017-06-13 18:52:33 +04:30
tidy Merge "RemexHtml tidy driver with p-wrapping" 2017-03-08 15:24:36 +00:00
title Avoid database access in ImportTitleFactory tests dataProviders 2017-03-18 19:12:52 -04:00
upload SECURITY: Whitelist DTD declaration in SVG 2017-04-06 13:43:04 -07:00
user Do not disable password reset for blocks meant to force login 2017-06-08 08:18:24 +00:00
utils Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
AutopromoteTest.php In Autopromote skip edit count lookup if requirement is 0 or invalid 2017-05-21 14:30:42 +00:00
BlockTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
DiffHistoryBlobTest.php
EditPageTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
ExportTest.php
ExtraParserTest.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
FauxRequestTest.php FauxRequest: Complete code coverage for FauxRequestTest 2017-04-01 01:25:02 +00:00
FauxResponseTest.php
FormOptionsInitializationTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
FormOptionsTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
GitInfoTest.php Remove empty lines at end of functions 2016-11-05 11:55:10 +01:00
HooksTest.php
HtmlTest.php Html: Add a few @covers for HtmlTest 2017-03-31 18:13:24 -07:00
LicensesTest.php
LinkerTest.php
LinkFilterTest.php Move LikeMatch to Rdbms namespace 2017-02-06 21:20:39 -08:00
MediaWikiServicesTest.php Refactor Statsd classes to enable null collector to work. 2017-05-29 15:33:02 -07:00
MediaWikiTest.php Revert "MediaWiki.php: Redirect non-standard title urls to canonical" 2016-09-09 21:45:27 +00:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php
MessageTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
MovePageTest.php
MWNamespaceTest.php Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
MWTimestampTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
OutputPageTest.php resourceloader: Ensure user.styles and site.styles having their own request 2017-05-26 14:15:47 +00:00
PagePropsTest.php Remove empty lines at end of functions 2016-11-05 11:55:10 +01:00
PathRouterTest.php
PreferencesTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
PrefixSearchTest.php Avoid postgres PrefixSearchTest failures due to collation differences 2017-05-18 19:04:03 -07:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionStorageTest.php Revision::getText() was removed 2017-01-19 01:57:38 +00:00
RevisionStorageTestContentHandlerUseDB.php
RevisionTest.php Revision::getText() was removed 2017-01-19 01:57:38 +00:00
SampleTest.php Update weblinks in comments from HTTP to HTTPS 2016-11-07 15:24:46 +01:00
SanitizerTest.php ChangesList: Expose basic properties of lines as data attributes 2017-06-08 23:19:45 +00:00
SanitizerValidateEmailTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
SiteConfigurationTest.php
StatusTest.php tests: Fix invalid @covers value in StatusTest.php 2016-09-22 18:29:28 +01:00
TemplateCategoriesTest.php Disable broken TemplateCategoriesTest unit test 2017-05-20 11:36:25 +00:00
TemplateParserTest.php Better path traversal prevention in TemplateParser. 2017-03-14 18:43:11 +00:00
TestLogger.php Add TestLogger::setCollectContext and fluent interface 2017-02-01 01:45:28 +01:00
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php
TitleArrayFromResultTest.php
TitleMethodsTest.php
TitlePermissionTest.php Remove "editusercssjs" user right 2017-04-11 14:54:43 +01:00
TitleTest.php Make Titles with an unknown namespace ID refer to Special:Badtitle. 2017-06-14 04:31:07 +00:00
WatchedItemIntegrationTest.php
WatchedItemQueryServiceUnitTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
WatchedItemStoreIntegrationTest.php
WatchedItemStoreUnitTest.php A service for read-only mode 2017-04-19 12:27:06 -07:00
WatchedItemUnitTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
WebRequestTest.php Move IP::isConfigured/TrustedProxy() to ProxyLookup service 2016-09-21 20:02:09 -07:00
WikiMapTest.php
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php Update weblinks in comments from HTTP to HTTPS 2016-10-11 17:25:10 +00:00
XmlTest.php Xml: Add test for listDropDown and remove unused getArrayFromWikiTextList 2017-03-20 22:47:19 +00:00