From 8c50f16c24964a74307b33e7510e5fca17793838 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 7 Sep 2010 23:02:56 +0000 Subject: [PATCH] Merged reorganization work for PHPUnit from branches/phpunit-restructure/ --- includes/AutoLoader.php | 9 --- maintenance/tests/Makefile | 32 -------- maintenance/tests/MediaWiki_Setup.php | 34 --------- maintenance/tests/README | 24 ------ maintenance/tests/TestFileList.php | 30 -------- maintenance/tests/bootstrap.php | 6 -- maintenance/tests/phpunit.bat | 1 - maintenance/tests/phpunit.php | 54 ------------- maintenance/tests/phpunit.xml | 16 ---- maintenance/tests/phpunit/Makefile | 16 ++++ maintenance/tests/phpunit/README | 29 +++++++ maintenance/tests/phpunit/TODO | 11 +++ maintenance/tests/phpunit/bootstrap.php | 76 +++++++++++++++++++ .../tests/{ => phpunit/includes}/CdbTest.php | 0 .../includes}/ExtraParserTest.php | 0 .../{ => phpunit/includes}/GlobalTest.php | 0 .../tests/{ => phpunit/includes}/HttpTest.php | 0 .../tests/{ => phpunit/includes}/IPTest.php | 0 .../includes}/ImageFunctionsTest.php | 0 .../includes}/LanguageConverterTest.php | 0 .../{ => phpunit/includes}/LicensesTest.php | 0 .../{ => phpunit/includes}/LocalFileTest.php | 0 .../{ => phpunit/includes}/MessageTest.php | 0 .../ResourceLoaderFileModuleTest.php | 0 .../includes}/ResourceLoaderTest.php | 0 .../{ => phpunit/includes}/RevisionTest.php | 0 .../{ => phpunit/includes}/SanitizerTest.php | 0 .../includes}/SiteConfigurationTest.php | 0 .../{ => phpunit/includes}/TimeAdjustTest.php | 0 .../includes}/TitlePermissionTest.php | 0 .../{ => phpunit/includes}/TitleTest.php | 0 .../includes}/UploadFromUrlTest.php | 0 .../{ => phpunit/includes}/UploadTest.php | 0 .../tests/{ => phpunit/includes}/XmlTest.php | 0 .../{ => phpunit/includes/api}/ApiSetup.php | 0 .../{ => phpunit/includes/api}/ApiTest.php | 2 + .../includes/api}/ApiWatchTest.php | 0 .../includes/db}/DatabaseSqliteTest.php | 0 .../includes/db}/DatabaseTest.php | 0 .../includes/parser}/MediaWikiParserTest.php | 2 + .../includes/parser}/ParserHelpers.php | 0 .../includes/search}/SearchDbTest.php | 3 + .../includes/search}/SearchEngineTest.php | 0 .../includes/search}/SearchUpdateTest.php | 0 maintenance/tests/phpunit/suite.xml | 33 ++++++++ .../phpunit/suites/ExtensionsTestSuite.php | 4 + .../suites}/UploadFromUrlTestSuite.php | 2 + maintenance/tests/test-prefetch-current.xml | 75 ------------------ maintenance/tests/test-prefetch-previous.xml | 57 -------------- maintenance/tests/test-prefetch-stub.xml | 75 ------------------ 50 files changed, 178 insertions(+), 413 deletions(-) delete mode 100644 maintenance/tests/Makefile delete mode 100644 maintenance/tests/MediaWiki_Setup.php delete mode 100644 maintenance/tests/README delete mode 100644 maintenance/tests/TestFileList.php delete mode 100644 maintenance/tests/bootstrap.php delete mode 100644 maintenance/tests/phpunit.bat delete mode 100755 maintenance/tests/phpunit.php delete mode 100644 maintenance/tests/phpunit.xml create mode 100644 maintenance/tests/phpunit/Makefile create mode 100644 maintenance/tests/phpunit/README create mode 100644 maintenance/tests/phpunit/TODO create mode 100644 maintenance/tests/phpunit/bootstrap.php rename maintenance/tests/{ => phpunit/includes}/CdbTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/ExtraParserTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/GlobalTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/HttpTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/IPTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/ImageFunctionsTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/LanguageConverterTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/LicensesTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/LocalFileTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/MessageTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/ResourceLoaderFileModuleTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/ResourceLoaderTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/RevisionTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/SanitizerTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/SiteConfigurationTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/TimeAdjustTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/TitlePermissionTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/TitleTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/UploadFromUrlTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/UploadTest.php (100%) rename maintenance/tests/{ => phpunit/includes}/XmlTest.php (100%) rename maintenance/tests/{ => phpunit/includes/api}/ApiSetup.php (100%) rename maintenance/tests/{ => phpunit/includes/api}/ApiTest.php (99%) rename maintenance/tests/{ => phpunit/includes/api}/ApiWatchTest.php (100%) rename maintenance/tests/{ => phpunit/includes/db}/DatabaseSqliteTest.php (100%) rename maintenance/tests/{ => phpunit/includes/db}/DatabaseTest.php (100%) rename maintenance/tests/{ => phpunit/includes/parser}/MediaWikiParserTest.php (97%) rename maintenance/tests/{ => phpunit/includes/parser}/ParserHelpers.php (100%) rename maintenance/tests/{ => phpunit/includes/search}/SearchDbTest.php (94%) rename maintenance/tests/{ => phpunit/includes/search}/SearchEngineTest.php (100%) rename maintenance/tests/{ => phpunit/includes/search}/SearchUpdateTest.php (100%) create mode 100644 maintenance/tests/phpunit/suite.xml create mode 100644 maintenance/tests/phpunit/suites/ExtensionsTestSuite.php rename maintenance/tests/{ => phpunit/suites}/UploadFromUrlTestSuite.php (98%) delete mode 100644 maintenance/tests/test-prefetch-current.xml delete mode 100644 maintenance/tests/test-prefetch-previous.xml delete mode 100644 maintenance/tests/test-prefetch-stub.xml diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index de1838006a..24d728192c 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -693,15 +693,6 @@ $wgAutoloadLocalClasses = array( 'TestFileIterator' => 'maintenance/parserTests.inc', 'TestRecorder' => 'maintenance/parserTests.inc', - # maintenance/tests - 'ApiTestSetup' => 'maintenance/tests/ApiSetup.php', - 'MediaWikiTestSetup' => 'maintenance/tests/MediaWiki_Setup.php', - 'PHPUnitTestRecorder' => 'maintenance/tests/ParserHelpers.php', - 'ParserTestSuiteBackend' => 'maintenance/tests/ParserHelpers.php', - 'ParserUnitTest' => 'maintenance/tests/ParserHelpers.php', - 'SearchEngineTest' => 'maintenance/tests/SearchEngineTest.php', - 'UploadFromUrlTest' => 'maintenance/tests/UploadFromUrlTest.php', - # maintenance/tests/selenium 'SimpleSeleniumTestSuite' => 'maintenance/tests/selenium/SimpleSeleniumTestSuite.php', 'Selenium' => 'maintenance/tests/selenium/Selenium.php', diff --git a/maintenance/tests/Makefile b/maintenance/tests/Makefile deleted file mode 100644 index d489c24faa..0000000000 --- a/maintenance/tests/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# If you have problems with excessive memory usage, use the "tap" or "separate" targets. - -TEST_FILES=$(shell php -r 'include( "./TestFileList.php" ); echo implode( " ", $$testFiles );') -TEST_FILE_TARGETS=$(subst .php,.target,$(TEST_FILES)) - -.PHONY: help test phpunit tap separate install $(TEST_FILE_TARGETS) - -all test: phpunit - -phpunit: - php phpunit.php - -tap: - prove -e 'php phpunit.php --tap' *Test*.php - -separate: $(TEST_FILE_TARGETS) - -# Need --tap because without it, the target specification doesn't work -$(TEST_FILE_TARGETS) : %.target : %.php - php phpunit.php --tap $< - -install: - pear channel-discover pear.phpunit.de - pear install phpunit/PHPUnit - -help: - # Targets: - # phpunit (default) Run all the tests with phpunit - # separate Run each test file in a separate process - # tap Run the tests individually through Test::Harness's prove(1) - # install Install PHPUnit from phpunit.de - # help You're looking at it! diff --git a/maintenance/tests/MediaWiki_Setup.php b/maintenance/tests/MediaWiki_Setup.php deleted file mode 100644 index 85c43d18aa..0000000000 --- a/maintenance/tests/MediaWiki_Setup.php +++ /dev/null @@ -1,34 +0,0 @@ -tableName( $table ); - if ( $db->getType() == 'oracle' ) { - $wgDBprefix = 'pt_'; - } else { - $wgDBprefix = 'parsertest_'; - } - - $db->tablePrefix( $wgDBprefix ); - - if ( $db->isOpen() ) { - foreach ( $tables as $tbl ) { - $newTableName = $db->tableName( $tbl ); - $tableName = $oldTableNames[$tbl]; - $db->query( "DROP TABLE IF EXISTS $newTableName", __METHOD__ ); - $db->duplicateTableStructure( $tableName, $newTableName, __METHOD__ ); - } - return $db; - } else { - // Something amiss - return null; - } - } -} - diff --git a/maintenance/tests/README b/maintenance/tests/README deleted file mode 100644 index b52e790e1d..0000000000 --- a/maintenance/tests/README +++ /dev/null @@ -1,24 +0,0 @@ -Some quickie unit tests done with the PHPUnit testing framework. To run the -test suite, run 'make test' in this dir. This directly invokes 'phpunit.' - -PHPUnit is no longer maintained by PEAR. To get the current version of -PHPUnit, first uninstall any old version of PHPUnit or PHPUnit2 from PEAR, -then install the current version from phpunit.de like this: - -# pear channel-discover pear.phpunit.de -# pear install phpunit/PHPUnit - -You also may wish to install this via your normal package mechanism: - -# aptitude install phpunit - - or - -# yum install phpunit - -Notes: -- Label currently broken tests in the group Broken and they will not - be run by phpunit. You can add them to the group by putting the - following comment at the top of the file: - /** - * @group Broken - */ -- Need to fix some broken tests diff --git a/maintenance/tests/TestFileList.php b/maintenance/tests/TestFileList.php deleted file mode 100644 index f3d86ff4bc..0000000000 --- a/maintenance/tests/TestFileList.php +++ /dev/null @@ -1,30 +0,0 @@ -= 3.5 - require_once 'PHPUnit/Autoload.php'; -} else { - // Works for PHPUnit < 3.5 - require_once 'PHPUnit/TextUI/Command.php'; -} -define( 'MW_PHPUNIT_TEST', 1 ); - -$wgLocaltimezone = 'UTC'; - -/* Tests were failing with sqlite */ -global $wgCaches; -$wgCaches[CACHE_DB] = false; - -if ( !version_compare( PHPUnit_Runner_Version::id(), "3.4.1", ">" ) ) { - echo <<options[1] ) ) { - $files = $this->options[1]; - } else { - require( dirname( __FILE__ ) . '/TestFileList.php' ); - $files = $testFiles; - wfRunHooks( 'UnitTestsList', array( &$files ) ); - } - foreach ( $files as $file ) { - $suite->addTestFile( $file ); - } - $suite->setName( 'MediaWiki test suite' ); - $this->arguments['test'] = $suite; - } -} - -$command = new MWPHPUnitCommand; -$command->run( $argv ); - diff --git a/maintenance/tests/phpunit.xml b/maintenance/tests/phpunit.xml deleted file mode 100644 index d7eeda4837..0000000000 --- a/maintenance/tests/phpunit.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Broken - Stub - - - diff --git a/maintenance/tests/phpunit/Makefile b/maintenance/tests/phpunit/Makefile new file mode 100644 index 0000000000..ddad378cdf --- /dev/null +++ b/maintenance/tests/phpunit/Makefile @@ -0,0 +1,16 @@ +.PHONY: help test phpunit install + +all test: phpunit + +phpunit: + phpunit --configuration suite.xml + +install: + pear channel-discover pear.phpunit.de + pear install phpunit/PHPUnit + +help: + # Targets: + # phpunit (default) Run all the tests with phpunit + # install Install PHPUnit from phpunit.de + # help You're looking at it! \ No newline at end of file diff --git a/maintenance/tests/phpunit/README b/maintenance/tests/phpunit/README new file mode 100644 index 0000000000..cdd6a83729 --- /dev/null +++ b/maintenance/tests/phpunit/README @@ -0,0 +1,29 @@ +== MediaWiki PHPUnit Tests == + +Some quickie unit tests done with the PHPUnit testing framework. To run the +test suite, run 'make test' in this (maintenance/tests/phpunit) directory. + +=== Installation === + +PHPUnit is no longer maintained by PEAR. To get the current version of +PHPUnit, first uninstall any old version of PHPUnit or PHPUnit2 from PEAR, +then install the current version from phpunit.de like this: + + pear channel-discover pear.phpunit.de + pear install phpunit/PHPUnit + +You also may wish to install this via your normal package mechanism: + + aptitude install phpunit +- or - + yum install phpunit + +=== Notes === + +* Label currently broken tests in the group Broken and they will not be run +by phpunit. You can add them to the group by putting the following comment at +the top of the file: + /** + * @group Broken + */ +* Need to fix some broken tests \ No newline at end of file diff --git a/maintenance/tests/phpunit/TODO b/maintenance/tests/phpunit/TODO new file mode 100644 index 0000000000..774b5a633a --- /dev/null +++ b/maintenance/tests/phpunit/TODO @@ -0,0 +1,11 @@ +== Things To Do == + +* Most of the tests are named poorly; naming should describe a use case in story-like language, not simply identify the +unit under test. An example would be the difference between testCalculate and testAddingIntegersTogetherWorks. +* Many of the tests make multiple assertions, and are thus not unitary tests. By using data-providers and more use-case +oriented test selection nearly all of these cases can be easily resolved. +* Some of the test files are either incorrectly named or in the wrong folder. Tests should be organized in a mirrored +structure to the source they are testing, and named the same, with the exception of the word "Test" at the end. +* Shared set-up code or base classes are present, but usually named improperly or appear to be poorly factored. Support +code should share as much of the same naming as the code it's supporting, and test and test-case depenencies should be +considered to resolve other shared needs. \ No newline at end of file diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php new file mode 100644 index 0000000000..0e608b52e6 --- /dev/null +++ b/maintenance/tests/phpunit/bootstrap.php @@ -0,0 +1,76 @@ +" ) ) { + echo <<tableName( $table ); + if ( $db->getType() == 'oracle' ) { + $wgDBprefix = 'pt_'; + } else { + $wgDBprefix = 'parsertest_'; + } + + $db->tablePrefix( $wgDBprefix ); + + if ( $db->isOpen() ) { + foreach ( $tables as $tbl ) { + $newTableName = $db->tableName( $tbl ); + $tableName = $oldTableNames[$tbl]; + $db->query( "DROP TABLE IF EXISTS $newTableName", __METHOD__ ); + $db->duplicateTableStructure( $tableName, $newTableName, __METHOD__ ); + } + return $db; + } else { + // Something amiss + return null; + } + } +} \ No newline at end of file diff --git a/maintenance/tests/CdbTest.php b/maintenance/tests/phpunit/includes/CdbTest.php similarity index 100% rename from maintenance/tests/CdbTest.php rename to maintenance/tests/phpunit/includes/CdbTest.php diff --git a/maintenance/tests/ExtraParserTest.php b/maintenance/tests/phpunit/includes/ExtraParserTest.php similarity index 100% rename from maintenance/tests/ExtraParserTest.php rename to maintenance/tests/phpunit/includes/ExtraParserTest.php diff --git a/maintenance/tests/GlobalTest.php b/maintenance/tests/phpunit/includes/GlobalTest.php similarity index 100% rename from maintenance/tests/GlobalTest.php rename to maintenance/tests/phpunit/includes/GlobalTest.php diff --git a/maintenance/tests/HttpTest.php b/maintenance/tests/phpunit/includes/HttpTest.php similarity index 100% rename from maintenance/tests/HttpTest.php rename to maintenance/tests/phpunit/includes/HttpTest.php diff --git a/maintenance/tests/IPTest.php b/maintenance/tests/phpunit/includes/IPTest.php similarity index 100% rename from maintenance/tests/IPTest.php rename to maintenance/tests/phpunit/includes/IPTest.php diff --git a/maintenance/tests/ImageFunctionsTest.php b/maintenance/tests/phpunit/includes/ImageFunctionsTest.php similarity index 100% rename from maintenance/tests/ImageFunctionsTest.php rename to maintenance/tests/phpunit/includes/ImageFunctionsTest.php diff --git a/maintenance/tests/LanguageConverterTest.php b/maintenance/tests/phpunit/includes/LanguageConverterTest.php similarity index 100% rename from maintenance/tests/LanguageConverterTest.php rename to maintenance/tests/phpunit/includes/LanguageConverterTest.php diff --git a/maintenance/tests/LicensesTest.php b/maintenance/tests/phpunit/includes/LicensesTest.php similarity index 100% rename from maintenance/tests/LicensesTest.php rename to maintenance/tests/phpunit/includes/LicensesTest.php diff --git a/maintenance/tests/LocalFileTest.php b/maintenance/tests/phpunit/includes/LocalFileTest.php similarity index 100% rename from maintenance/tests/LocalFileTest.php rename to maintenance/tests/phpunit/includes/LocalFileTest.php diff --git a/maintenance/tests/MessageTest.php b/maintenance/tests/phpunit/includes/MessageTest.php similarity index 100% rename from maintenance/tests/MessageTest.php rename to maintenance/tests/phpunit/includes/MessageTest.php diff --git a/maintenance/tests/ResourceLoaderFileModuleTest.php b/maintenance/tests/phpunit/includes/ResourceLoaderFileModuleTest.php similarity index 100% rename from maintenance/tests/ResourceLoaderFileModuleTest.php rename to maintenance/tests/phpunit/includes/ResourceLoaderFileModuleTest.php diff --git a/maintenance/tests/ResourceLoaderTest.php b/maintenance/tests/phpunit/includes/ResourceLoaderTest.php similarity index 100% rename from maintenance/tests/ResourceLoaderTest.php rename to maintenance/tests/phpunit/includes/ResourceLoaderTest.php diff --git a/maintenance/tests/RevisionTest.php b/maintenance/tests/phpunit/includes/RevisionTest.php similarity index 100% rename from maintenance/tests/RevisionTest.php rename to maintenance/tests/phpunit/includes/RevisionTest.php diff --git a/maintenance/tests/SanitizerTest.php b/maintenance/tests/phpunit/includes/SanitizerTest.php similarity index 100% rename from maintenance/tests/SanitizerTest.php rename to maintenance/tests/phpunit/includes/SanitizerTest.php diff --git a/maintenance/tests/SiteConfigurationTest.php b/maintenance/tests/phpunit/includes/SiteConfigurationTest.php similarity index 100% rename from maintenance/tests/SiteConfigurationTest.php rename to maintenance/tests/phpunit/includes/SiteConfigurationTest.php diff --git a/maintenance/tests/TimeAdjustTest.php b/maintenance/tests/phpunit/includes/TimeAdjustTest.php similarity index 100% rename from maintenance/tests/TimeAdjustTest.php rename to maintenance/tests/phpunit/includes/TimeAdjustTest.php diff --git a/maintenance/tests/TitlePermissionTest.php b/maintenance/tests/phpunit/includes/TitlePermissionTest.php similarity index 100% rename from maintenance/tests/TitlePermissionTest.php rename to maintenance/tests/phpunit/includes/TitlePermissionTest.php diff --git a/maintenance/tests/TitleTest.php b/maintenance/tests/phpunit/includes/TitleTest.php similarity index 100% rename from maintenance/tests/TitleTest.php rename to maintenance/tests/phpunit/includes/TitleTest.php diff --git a/maintenance/tests/UploadFromUrlTest.php b/maintenance/tests/phpunit/includes/UploadFromUrlTest.php similarity index 100% rename from maintenance/tests/UploadFromUrlTest.php rename to maintenance/tests/phpunit/includes/UploadFromUrlTest.php diff --git a/maintenance/tests/UploadTest.php b/maintenance/tests/phpunit/includes/UploadTest.php similarity index 100% rename from maintenance/tests/UploadTest.php rename to maintenance/tests/phpunit/includes/UploadTest.php diff --git a/maintenance/tests/XmlTest.php b/maintenance/tests/phpunit/includes/XmlTest.php similarity index 100% rename from maintenance/tests/XmlTest.php rename to maintenance/tests/phpunit/includes/XmlTest.php diff --git a/maintenance/tests/ApiSetup.php b/maintenance/tests/phpunit/includes/api/ApiSetup.php similarity index 100% rename from maintenance/tests/ApiSetup.php rename to maintenance/tests/phpunit/includes/api/ApiSetup.php diff --git a/maintenance/tests/ApiTest.php b/maintenance/tests/phpunit/includes/api/ApiTest.php similarity index 99% rename from maintenance/tests/ApiTest.php rename to maintenance/tests/phpunit/includes/api/ApiTest.php index 95afb01858..02d480c1bd 100644 --- a/maintenance/tests/ApiTest.php +++ b/maintenance/tests/phpunit/includes/api/ApiTest.php @@ -1,5 +1,7 @@ + + + + + ./includes + + + ./includes + + + ./languages + + + ./skins + + + ./suites/UploadFromUrlTestSuite.php + + + + + Broken + Stub + + + \ No newline at end of file diff --git a/maintenance/tests/phpunit/suites/ExtensionsTestSuite.php b/maintenance/tests/phpunit/suites/ExtensionsTestSuite.php new file mode 100644 index 0000000000..bdaea10f59 --- /dev/null +++ b/maintenance/tests/phpunit/suites/ExtensionsTestSuite.php @@ -0,0 +1,4 @@ + - - DemoWiki - http://example.com/wiki/Main_Page - MediaWiki 1.5.0 - first-letter - - Media - Special - - Talk - User - User talk - DemoWiki - DemoWIki talk - Image - Image talk - MediaWiki - MediaWiki talk - Template - Template talk - Help - Help talk - Category - Category talk - - - - First page - 1 - - 1 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 1 - page 1, rev 1 - - - 2 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 2 - page 1, rev 2 - - - 4 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 4 - page 1, rev 4 - - - - Second page - 2 - - 3 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 2, rev 3 - page 2, rev 3 - - - - Third page - 3 - - 5 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 3, rev 5 - page 3, rev 5 - - - diff --git a/maintenance/tests/test-prefetch-previous.xml b/maintenance/tests/test-prefetch-previous.xml deleted file mode 100644 index 95eb82dd4f..0000000000 --- a/maintenance/tests/test-prefetch-previous.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - DemoWiki - http://example.com/wiki/Main_Page - MediaWiki 1.5.0 - first-letter - - Media - Special - - Talk - User - User talk - DemoWiki - DemoWIki talk - Image - Image talk - MediaWiki - MediaWiki talk - Template - Template talk - Help - Help talk - Category - Category talk - - - - First page - 1 - - 1 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 1 - page 1, rev 1 - - - 2 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 2 - page 1, rev 2 - - - - Second page - 2 - - 3 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 2, rev 3 - page 2, rev 3 - - - diff --git a/maintenance/tests/test-prefetch-stub.xml b/maintenance/tests/test-prefetch-stub.xml deleted file mode 100644 index 59d43d2f35..0000000000 --- a/maintenance/tests/test-prefetch-stub.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - DemoWiki - http://example.com/wiki/Main_Page - MediaWiki 1.5.0 - first-letter - - Media - Special - - Talk - User - User talk - DemoWiki - DemoWIki talk - Image - Image talk - MediaWiki - MediaWiki talk - Template - Template talk - Help - Help talk - Category - Category talk - - - - First page - 1 - - 1 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 1 - - - - 2 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 2 - - - - 4 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 1, rev 4 - - - - - Second page - 2 - - 3 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 2, rev 3 - - - - - Third page - 3 - - 5 - 2001-01-15T12:00:00Z - 10.0.0.1 - page 3, rev 5 - - - - -- 2.20.1