Unnecessary now that we have MockMediaHandlerFactory. Have MockDjVuHandler::isEnabled() always return true so that we don't have to hack the configuration. May possibly help the ProofreadPage tests pass in Jenkins. Also remove a couple of unnecessary debug log calls. Change-Id: Ic8aea8fe235b4b5336a7377c4b61379ed06a67ab |
||
|---|---|---|
| .. | ||
| preprocess | ||
| DbTestPreviewer.php | ||
| DbTestRecorder.php | ||
| DjVuSupport.php | ||
| extraParserTests.txt | ||
| fuzzTest.php | ||
| MultiTestRecorder.php | ||
| ParserTestParserHook.php | ||
| ParserTestPrinter.php | ||
| ParserTestResult.php | ||
| ParserTestResultNormalizer.php | ||
| ParserTestRunner.php | ||
| parserTests.php | ||
| parserTests.txt | ||
| PhpunitTestRecorder.php | ||
| README | ||
| TestFileReader.php | ||
| TestRecorder.php | ||
| TidySupport.php | ||
Parser tests can be run either via PHPUnit or by using the standalone parserTests.php in this directory. The standalone version provides more options. To run parser tests via PHPUnit: $ cd tests/phpunit ./phpunit.php --testsuite parsertests You can optionally filter by title using --filter, e.g. ./phpunit.php --testsuite parsertests --filter="Bug 6200"