PHP Class Pinq\Tests\StreamingHTMLPrinter

Inheritance: extends PHPUnit_TextUI_ResultPrinter
ファイルを表示 Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( $out = null, $verbose = false, $colors = false, $debug = false )
addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
setDebug ( $flag )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )
write ( $buffer )

Protected Methods

Method Description
printDefect ( PHPUnit_Framework_TestFailure $defect, $count )
printFooter ( PHPUnit_Framework_TestResult $result )
printHeader ( )

Method Details

__construct() public method

public __construct ( $out = null, $verbose = false, $colors = false, $debug = false )

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addFailure() public method

public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError

printDefect() protected method

protected printDefect ( PHPUnit_Framework_TestFailure $defect, $count )
$defect PHPUnit_Framework_TestFailure

printFooter() protected method

protected printFooter ( PHPUnit_Framework_TestResult $result )
$result PHPUnit_Framework_TestResult

printHeader() protected method

protected printHeader ( )

setDebug() public static method

public static setDebug ( $flag )

startTestSuite() public method

public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

write() public method

public write ( $buffer )