function Application::executeCommandsThatRequireCliConfigurationAndTestSuite
1 call to Application::executeCommandsThatRequireCliConfigurationAndTestSuite()
- Application::run in vendor/
phpunit/ phpunit/ src/ TextUI/ Application.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Application.php, line 465
Class
- Application
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TextUICode
private function executeCommandsThatRequireCliConfigurationAndTestSuite(CliConfiguration $cliConfiguration, TestSuite $testSuite) : void {
if ($cliConfiguration->listGroups()) {
$this->execute(new ListGroupsCommand($testSuite), true);
}
if ($cliConfiguration->listTests()) {
$this->execute(new ListTestsAsTextCommand($testSuite), true);
}
if ($cliConfiguration->hasListTestsXml()) {
$this->execute(new ListTestsAsXmlCommand($cliConfiguration->listTestsXml(), $testSuite), true);
}
}