wiki.techinc.nl/tests/phpunit/includes/api
aude 851552a5c4 Replace use of assertType with assertInternalType and assertInstanceOf
These are available in phpunit since 3.5.0, which I think
is reasonable to expect people to have at this point,
especially when we actually require 3.7.0 or higher in phpunit.php:

Use assertSame instead of assertArrayEquals in UIDGeneratorTest.
assertSame (and assertEqual) care about sortorder of the array,
and is perfectly sufficient in this case to check they array is correct.

if ( $puVersion !== '@package_version@' && version_compare( $puVersion, '3.7.0', '<' ) ) {
        die( "PHPUnit 3.7.0 or later required; you have {$puVersion}.\n" );
}

Change-Id: Ic32ab45110e4c4304ef046ae8d0e98c741255559
2015-04-09 01:15:44 -04:00
..
format Add lots of @throws 2014-12-24 13:49:20 +00:00
query Replace use of assertType with assertInternalType and assertInstanceOf 2015-04-09 01:15:44 -04:00
ApiBaseTest.php Fixed spacing 2013-12-08 20:31:47 +01:00
ApiBlockTest.php Cleanup Api phpunit Tests 2013-10-24 19:17:01 +01:00
ApiCreateAccountTest.php Make ApiCreateAccount return camelcase statuses 2014-02-20 20:49:45 +05:30
ApiEditPageTest.php Enable the creation of empty pages 2014-07-25 23:26:18 -04:00
ApiLoginTest.php Profile all external HTTP requests from MW 2015-03-03 20:54:30 -08:00
ApiMainTest.php Don't require database access in ApiMainTest 2015-04-02 15:32:06 +00:00
ApiModuleManagerTest.php Add @covers tags to ApiModuleManagerTest 2014-09-08 10:52:10 +00:00
ApiOptionsTest.php Use mergeMwGlobalArrayValue in ApiOptionsTest 2014-10-23 17:42:34 +00:00
ApiParseTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiPurgeTest.php Pass phpcs-strict on some test files (5/x) 2014-04-24 18:51:45 +02:00
ApiQueryAllPagesTest.php Cleanup a bunch of tests and add todos 2014-03-09 15:12:45 +01:00
ApiRevisionDeleteTest.php Fix phpcs errors in tests dir 2014-08-17 22:57:09 +01:00
ApiTestCase.php Destroy session after running api tests 2014-12-16 20:50:35 +00:00
ApiTestCaseUpload.php tests: Clean up file headers 2015-04-01 00:17:12 +01:00
ApiTestContext.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
ApiTokensTest.php Split ApiTest class into seperate module classes 2013-11-05 12:40:50 +01:00
ApiUnblockTest.php Cleanup Api phpunit Tests 2013-10-24 19:17:01 +01:00
ApiUploadTest.php tests: Clean up file headers 2015-04-01 00:17:12 +01:00
ApiWatchTest.php Fixed spacing 2013-12-08 20:31:47 +01:00
generateRandomImages.php phpcs: More require/include is not a function 2013-05-21 23:26:28 +02:00
MockApi.php Fixed spacing 2013-11-19 19:03:54 +01:00
MockApiQueryBase.php Fix capitalization in ApiQueryBase::titlePartToKey() 2013-12-23 12:53:43 -05:00
PrefixUniquenessTest.php API: HTMLize and internationalize the help, add Special:ApiHelp 2014-10-10 10:46:39 -04:00
RandomImageGenerator.php Change @return to start with type 2014-08-20 20:35:41 +02:00
UserWrapper.php Fixed spacing 2013-11-19 19:03:54 +01:00
words.txt Add words.txt for us Windows users. This is a random selection of 1000 words from gnuwin32 miscfiles package 2011-07-15 17:13:24 +00:00