You are here

public function PHPUnit_Util_Log_TAP::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/Log/TAP.php \PHPUnit_Util_Log_TAP::__construct()

Constructor.

@since Method available since Release 3.3.4

Parameters

mixed $out:

Throws

PHPUnit_Framework_Exception

Overrides PHPUnit_Util_Printer::__construct

File

vendor/phpunit/phpunit/src/Util/Log/TAP.php, line 41

Class

PHPUnit_Util_Log_TAP
A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).

Code

public function __construct($out = null) {
  parent::__construct($out);
  $this
    ->write("TAP version 13\n");
}