- Note
- GPL-2.0-or-later
Definition at line 19 of file PhpUnitXmlManager.php.
◆ __construct()
MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::__construct |
( |
string | $rootDir, |
|
|
string | $testsListFile, |
|
|
string | $phpunitConfigFile, |
|
|
string | $testGroup, |
|
|
?string | $resultsCacheFile = null ) |
◆ createPhpUnitXml()
MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::createPhpUnitXml |
( |
int | $groups | ) |
|
- Returns
- void
- Exceptions
-
MissingNamespaceMatchForTestException | |
TestListMissingException | |
UnlocatedTestException | |
SuiteGenerationException | |
PhpUnitErrorTestCaseFoundException | |
PhpUnitResultsCachingException | |
Definition at line 160 of file PhpUnitXmlManager.php.
◆ fetchResultsCache()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::fetchResultsCache |
( |
Event | $event | ) |
|
|
static |
◆ getPhpUnitXmlDist()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::getPhpUnitXmlDist |
( |
string | $rootDir | ) |
|
|
static |
◆ isPhpUnitXmlPrepared()
MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::isPhpUnitXmlPrepared |
( |
| ) |
|
◆ listTestsNotice()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::listTestsNotice |
( |
Event | $event | ) |
|
|
static |
◆ newSplitGroupExecutor()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::newSplitGroupExecutor |
( |
IOInterface | $io, |
|
|
ComposerSystemInterface | $system ) |
|
static |
◆ notifyResultsServer()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::notifyResultsServer |
( |
Event | $event | ) |
|
|
static |
Called after a parallel run, to let the results server know that new results will be available soon to be fetched.
We assume LOG_PATH is set (or if not, that a warning about that has already been emitted).
Definition at line 290 of file PhpUnitXmlManager.php.
◆ splitTestsCustom()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsCustom |
( |
Event | $event | ) |
|
|
static |
- Exceptions
-
TestListMissingException | |
UnlocatedTestException | |
MissingNamespaceMatchForTestException | |
SuiteGenerationException | |
Definition at line 471 of file PhpUnitXmlManager.php.
◆ splitTestsList()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsList |
( |
string | $testGroup, |
|
|
string | $testListFile, |
|
|
?string | $testSuite, |
|
|
string | $phpunitConfigOutputFile, |
|
|
ComposerSystemInterface | $system, |
|
|
SplitGroupExecutor | $executor, |
|
|
?IOInterface | $io ) |
|
static |
◆ splitTestsListDefault()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsListDefault |
( |
Event | $event | ) |
|
|
static |
- Exceptions
-
TestListMissingException | |
UnlocatedTestException | |
MissingNamespaceMatchForTestException | |
SuiteGenerationException | |
Definition at line 443 of file PhpUnitXmlManager.php.
◆ splitTestsListExtensions()
static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsListExtensions |
( |
Event | $event | ) |
|
|
static |
- Exceptions
-
TestListMissingException | |
UnlocatedTestException | |
MissingNamespaceMatchForTestException | |
SuiteGenerationException | |
Definition at line 415 of file PhpUnitXmlManager.php.
◆ RESULTS_CACHE_FILE
const MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::RESULTS_CACHE_FILE = 'phpunit-results-cache.json' |
The documentation for this class was generated from the following file: