function JunitXmlLogger::testAsString
Throws
1 call to JunitXmlLogger::testAsString()
- JunitXmlLogger::handleFault in vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php
File
-
vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php, line 373
Class
- JunitXmlLogger
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Logging\JUnitCode
private function testAsString(Test $test) : string {
if ($test->isPhpt()) {
return basename($test->file());
}
assert($test instanceof TestMethod);
return sprintf('%s::%s%s', $test->className(), $this->name($test), PHP_EOL);
}