function JunitXmlLogger::handleIncompleteOrSkipped
Throws
2 calls to JunitXmlLogger::handleIncompleteOrSkipped()
- JunitXmlLogger::testMarkedIncomplete in vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php - JunitXmlLogger::testSkipped in vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php
File
-
vendor/
phpunit/ phpunit/ src/ Logging/ JUnit/ JunitXmlLogger.php, line 351
Class
- JunitXmlLogger
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Logging\JUnitCode
private function handleIncompleteOrSkipped(MarkedIncomplete|Skipped $event) : void {
if (!$this->prepared) {
$this->createTestCase($event);
}
assert($this->currentTestCase !== null);
$skipped = $this->document
->createElement('skipped');
$this->currentTestCase
->appendChild($skipped);
$this->testSuiteSkipped[$this->testSuiteLevel]++;
if (!$this->prepared) {
$this->handleFinish($event->telemetryInfo(), 0);
}
}