Свойство | Тип | Описание | |
---|---|---|---|
$currentTestClassPrettified | string | ||
$currentTestMethodPrettified | string | ||
$failed | integer | ||
$incomplete | integer | ||
$prettifier | PHPUnit_Util_TestDox_NamePrettifier | ||
$skipped | integer | ||
$successful | integer | ||
$testClass | string | ||
$testStatus | integer | ||
$testTypeOfInterest | string | ||
$tests | array |
Метод | Описание | |
---|---|---|
__construct ( resource $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. | |
flush ( ) | Flush buffer and close output. | |
startTest ( PHPUnit_Framework_Test $test ) | A test started. | |
startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | A testsuite started. |
Метод | Описание | |
---|---|---|
doEndClass ( ) | ||
endClass ( string $name ) | Handler for 'end class' event. | |
endRun ( ) | Handler for 'end run' event. | |
onTest ( string $name, boolean $success = TRUE ) | Handler for 'on test' event. | |
startClass ( string $name ) | Handler for 'start class' event. | |
startRun ( ) | Handler for 'start run' event. |
public __construct ( resource $out = NULL ) | ||
$out | resource |
public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | PHPUnit_Framework_AssertionFailedError | |
$time | float |
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | Exception | |
$time | float |
public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | Exception | |
$time | float |
public endTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
protected startClass ( string $name ) | ||
$name | string |
public startTest ( PHPUnit_Framework_Test $test ) | ||
$test | PHPUnit_Framework_Test |
public startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
protected string $currentTestClassPrettified | ||
Результат | string |
protected string $currentTestMethodPrettified | ||
Результат | string |
protected PHPUnit_Util_TestDox_NamePrettifier $prettifier | ||
Результат | PHPUnit_Util_TestDox_NamePrettifier |