Merge ApiTestSetup into ApiTestCase and update all subclasses. The amount of duplicat...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Jul 2011 16:34:02 +0000 (16:34 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 1 Jul 2011 16:34:02 +0000 (16:34 +0000)
commit85a5f0eb8541736b9ccc84fce1a3bbf1c4893bb5
tree542b35e77409a762628b658f45fa72143baa29aa
parent8ed06948fabe0edebe7e9fbf28ac1fd8fe1d07d4
Merge ApiTestSetup into ApiTestCase and update all subclasses. The amount of duplication here was nasty, and also lets us get rid of a bunch of useless require_once()s.

./phpunit.php --filter Api currently gives me: Tests: 24, Assertions: 107, Incomplete: 1, Skipped: 2.
tests/TestsAutoLoader.php
tests/phpunit/includes/api/ApiBlockTest.php
tests/phpunit/includes/api/ApiPurgeTest.php
tests/phpunit/includes/api/ApiQueryTest.php
tests/phpunit/includes/api/ApiSetup.php [deleted file]
tests/phpunit/includes/api/ApiTest.php
tests/phpunit/includes/api/ApiTestCase.php
tests/phpunit/includes/api/ApiWatchTest.php
tests/phpunit/includes/api/format/ApiFormatPhpTest.php
tests/phpunit/includes/api/format/ApiFormatTestBase.php
tests/phpunit/includes/upload/UploadFromUrlTest.php