PHP Class PHPUnit_Util_Log_TAP, qcodo

Author: Sebastian Bergmann ([email protected])
Inheritance: extends PHPUnit_Util_Printer, implements PHPUnit_Framework_TestListener
Afficher le fichier Open project: qcodo/qcodo

Protected Properties

Свойство Type Description
$testNumber integer
$testSuccessful boolean
$testSuiteLevel integer

Méthodes publiques

Méthode Description
__construct ( mixed $out = NULL ) Constructor.
addError ( PHPUnit_Framework_Test $test, Exception $e, float $time ) An error occurred.
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time ) A failure occurred.
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) Incomplete test.
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) Skipped test.
endTest ( PHPUnit_Framework_Test $test, float $time ) A test ended.
endTestSuite ( PHPUnit_Framework_TestSuite $suite ) A testsuite ended.
startTest ( PHPUnit_Framework_Test $test ) A test started.
startTestSuite ( PHPUnit_Framework_TestSuite $suite ) A testsuite started.

Méthodes protégées

Méthode Description
writeNotOk ( PHPUnit_Framework_Test $test, string $prefix = '', string $directive = '' )

Method Details

__construct() public méthode

Constructor.
public __construct ( mixed $out = NULL )
$out mixed

addError() public méthode

An error occurred.
public addError ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

addFailure() public méthode

A failure occurred.
public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError
$time float

addIncompleteTest() public méthode

Incomplete test.
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

addSkippedTest() public méthode

Skipped test.
public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time )
$test PHPUnit_Framework_Test
$e Exception
$time float

endTest() public méthode

A test ended.
public endTest ( PHPUnit_Framework_Test $test, float $time )
$test PHPUnit_Framework_Test
$time float

endTestSuite() public méthode

A testsuite ended.
public endTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

startTest() public méthode

A test started.
public startTest ( PHPUnit_Framework_Test $test )
$test PHPUnit_Framework_Test

startTestSuite() public méthode

A testsuite started.
public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

writeNotOk() protected méthode

protected writeNotOk ( PHPUnit_Framework_Test $test, string $prefix = '', string $directive = '' )
$test PHPUnit_Framework_Test
$prefix string
$directive string

Property Details

$testNumber protected_oe property

protected int $testNumber
Résultat integer

$testSuccessful protected_oe property

protected bool $testSuccessful
Résultat boolean

$testSuiteLevel protected_oe property

protected int $testSuiteLevel
Résultat integer