wiki.techinc.nl/tests/phpunit/suites
Tim Starling 43db499d13 SuiteEventsTrait: don't call setUp() for an empty suite
SuiteEventsTrait is a hack to support the parser test suite classes. If
the suite is empty due to e.g. group filters, doing setUp() and
tearDown() is unnecessary and expensive (requiring DB cloning). Also,
errors from setUp() or tearDown() on an empty suite were not properly
handled.

So if the suite is empty, do the same thing as TestSuite::run(), leave
the result unmodified.

Bug: T292239
Change-Id: I0828257d6dd0bbc5b1633afde5ff162e96169675
2022-03-17 14:47:21 +11:00
..
CoreParserTestSuite.php Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
ExtensionsParserTestSuite.php Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
ExtensionsTestSuite.php phpunit: Use is_file/is_dir instead of file_exists 2022-01-03 21:47:56 +01:00
LessTestSuite.php Update tests to use PHPUnit 6 class names 2019-10-06 01:01:28 -07:00
ParserIntegrationTest.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
ParserTestFileSuite.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ParserTestTopLevelSuite.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ParsoidTestFileSuite.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SuiteEventsTrait.php SuiteEventsTrait: don't call setUp() for an empty suite 2022-03-17 14:47:21 +11:00