Renames preparatory to parser tests refactor
authorTim Starling <tstarling@wikimedia.org>
Thu, 8 Sep 2016 01:07:06 +0000 (11:07 +1000)
committerTim Starling <tstarling@wikimedia.org>
Mon, 12 Sep 2016 05:46:15 +0000 (15:46 +1000)
commitdf29a359f85e31726e929ac22ebe6eb10b6ac9f9
tree040d8c5e3e30f354b20afcaca79cd5f378620fd8
parentfdd40afc4221cd723fd61b97eeb836e34051ee2e
Renames preparatory to parser tests refactor

Since in several cases, with an all-in-one commit, git's file rename
detection failed, I split the renames out into their own commit to
make review easier. Some changes here won't make complete sense without
the following commit.

* Moved TestsAutoLoader to tests/common/. It will be joined by a friend.
* Renamed ParserTest to ParserTestRunner, since the former name was
  overly generic.
* Renamed TestFileIterator to TestFileReader. Please see the subsequent
  commit for rationale.
* Moved parserTests.php to tests/parser/. It was the only file left in
  tests/, and it should have been moved to tests/parser years ago,
  analogous to phpunit.php.
* Renamed NewParserTest to ParserIntegrationTest. This was a tricky one,
  apparently the name has to end in "Test" or else the structure test
  will fail. Analogous to ParserMethodsTest etc. Rationale: because it's
  not new anymore.
* Renamed MediaWikiParserTest to ParserTestTopLevelSuite and moved it to
  the suites directory. A more descriptive name. Being in suites/
  shields it from StructureTests, and is correct anyway.

Change-Id: Iddc6eaf815fdd64b3addb8570b4b6303ab99d634
21 files changed:
includes/parser/Parser.php
maintenance/Makefile
maintenance/checkLess.php
tests/TestsAutoLoader.php [deleted file]
tests/common/TestsAutoLoader.php [new file with mode: 0644]
tests/parser/DelayedParserTest.php
tests/parser/ParserTest.php [deleted file]
tests/parser/ParserTestRunner.php [new file with mode: 0644]
tests/parser/TestFileDataProvider.php
tests/parser/TestFileIterator.php [deleted file]
tests/parser/TestFileReader.php [new file with mode: 0644]
tests/parser/fuzzTest.php
tests/parser/parserTests.php [new file with mode: 0644]
tests/parserTests.php [deleted file]
tests/phpunit/includes/parser/MediaWikiParserTest.php [deleted file]
tests/phpunit/includes/parser/NewParserTest.php [deleted file]
tests/phpunit/includes/parser/ParserIntegrationTest.php [new file with mode: 0644]
tests/phpunit/phpunit.php
tests/phpunit/suite.xml
tests/phpunit/suites/ExtensionsParserTestSuite.php
tests/phpunit/suites/ParserTestTopLevelSuite.php [new file with mode: 0644]