MediaWiki master
MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager Class Reference

Public Member Functions

 __construct (string $rootDir, string $testsListFile)
 
 createPhpUnitXml (int $groups)
 
 isPhpUnitXmlPrepared ()
 

Static Public Member Functions

static listTestsNotice (Event $event)
 
static splitTestsCustom (Event $event)
 
static splitTestsList (string $testListFile, ?string $testSuite, Event $event)
 
static splitTestsListDefault (Event $event)
 
static splitTestsListExtensions (Event $event)
 

Detailed Description

Note
GPL-2.0-or-later

Definition at line 15 of file PhpUnitXmlManager.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::__construct ( string $rootDir,
string $testsListFile )

Definition at line 36 of file PhpUnitXmlManager.php.

Member Function Documentation

◆ createPhpUnitXml()

MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::createPhpUnitXml ( int $groups)
Returns
void
Exceptions
MissingNamespaceMatchForTestException
TestListMissingException
UnlocatedTestException
SuiteGenerationException
PhpUnitErrorTestCaseFoundException

Definition at line 131 of file PhpUnitXmlManager.php.

◆ isPhpUnitXmlPrepared()

MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::isPhpUnitXmlPrepared ( )

Definition at line 119 of file PhpUnitXmlManager.php.

◆ listTestsNotice()

static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::listTestsNotice ( Event $event)
static

Definition at line 149 of file PhpUnitXmlManager.php.

◆ splitTestsCustom()

static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsCustom ( Event $event)
static
Exceptions
TestListMissingException
UnlocatedTestException
MissingNamespaceMatchForTestException
SuiteGenerationException

Definition at line 213 of file PhpUnitXmlManager.php.

◆ splitTestsList()

static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsList ( string $testListFile,
?string $testSuite,
Event $event )
static
Exceptions
TestListMissingException
UnlocatedTestException
MissingNamespaceMatchForTestException
SuiteGenerationException

Definition at line 161 of file PhpUnitXmlManager.php.

◆ splitTestsListDefault()

static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsListDefault ( Event $event)
static
Exceptions
TestListMissingException
UnlocatedTestException
MissingNamespaceMatchForTestException
SuiteGenerationException

Definition at line 203 of file PhpUnitXmlManager.php.

◆ splitTestsListExtensions()

static MediaWiki\Composer\PhpUnitSplitter\PhpUnitXmlManager::splitTestsListExtensions ( Event $event)
static
Exceptions
TestListMissingException
UnlocatedTestException
MissingNamespaceMatchForTestException
SuiteGenerationException

Definition at line 193 of file PhpUnitXmlManager.php.


The documentation for this class was generated from the following file: