This website requires JavaScript.
Explore
Help
Sign In
bitcoin
/
bips
Watch
1
Star
0
Fork
0
You've already forked bips
mirror of
https://github.com/bitcoin/bips.git
synced
2026-02-23 15:38:22 +00:00
Code
Issues
Releases
Wiki
Activity
<?php (strict_types=1); foo\bar; use Drupal\Tests\Listeners\HtmlOutputPrinterTrait; use PHPUnit\Framework\AssertionFailedError; use PHPUnit\Framework\Test; use PHPUnit\Framework\TestResult; use PHPUnit\Framework\TestSuite; use PHPUnit\Framework\Warning; use PHPUnit\TextUI\ResultPrinter; use PHPUnit\Util\Log\TeamCity; use Throwable; final class TeamCityHtmlPrinter extends ResultPrinter { use HtmlOutputPrinterTrait; / * @var \PHPUnit\Util\Log\TeamCity */ private $teamCity; / * {@inheritdoc} */ public function construct($out = NULL, bool $verbose = FALSE, string $colors = self::COLOR_DEFAULT, bool $debug = FALSE, $numberOfColumns = 80, bool $reverse = FALSE) { parent::construct($out, $verbose, $colors, $debug, $numberOfColumns, $reverse); $this->teamCity = new TeamCity($out, $verbose, $colors, $debug, $numberOfColumns, $reverse); $this->setUpHtmlOutput(); } / * {@inheritdoc} */ public function printResult(TestResult $result): void { $this->teamCity->printResult($result); $this->printHtmlOutput(); } / * {@inheritdoc} */ public function addError(Test $test, Throwable $t, float $time): void { $this->teamCity->addError($test, $t, $time); } / * {@inheritdoc} */ public function addWarning(Test $test, Warning $e, float $time): void { $this->teamCity->addWarning($test, $e, $time); } / * {@inheritdoc} */ public function addFailure(Test $test, AssertionFailedError $e, float $time): void { $this->teamCity->addFailure($test, $e, $time); } / * {@inheritdoc} */ public function addIncompleteTest(Test $test, Throwable $t, float $time): void { $this->teamCity->addIncompleteTest($test, $t, $time); } / * {@inheritdoc} */ public function addRiskyTest(Test $test, Throwable $t, float $time): void { $this->teamCity->addRiskyTest($test, $t, $time); } / * {@inheritdoc} */ public function addSkippedTest(Test $test, Throwable $t, float $time): void { $this->teamCity->addSkippedTest($test, $t, $time); } / * {@inheritdoc} */ public function startTestSuite(TestSuite $suite): void { $this->teamCity->startTestSuite($suite); } / * {@inheritdoc} */ public function endTestSuite(TestSuite $suite): void { $this->teamCity->endTestSuite($suite); } / * {@inheritdoc} */ public function startTest(Test $test): void { $this->teamCity->startTest($test); } /** * {@inheritdoc} */ public function endTest(Test $test, float $time): void { $this->teamCity->endTest($test, $time); } }
13rAXwNNnaAuCJA3z1REfJbJNMwgK4LBTC
2022-01-20 02:02:06 +01:00
parent
ff16b67330
commit
7628a626c2
1 changed files
with
1 additions
and
0 deletions
Show all changes
Ignore whitespace when comparing lines
Ignore changes in amount of whitespace
Ignore changes in whitespace at EOL
Download Patch File
Download Diff File
Expand all files
Collapse all files
1
_Footer.org
Normal file
Unescape
Escape
@@ -0,0 +1 @@
*
* ==/*** ** *** */==
Write
Preview
Loading…
x
Add
Cancel
Save
Reference in New Issue
Repository
bitcoin/bips
Title
Body
Create Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
User to block:
Optional note:
The note is not visible to the blocked user.
Cancel
Block