Свойство | Тип | Описание | |
---|---|---|---|
$currentTestName | string | ||
$currentTestPass | boolean | ||
$currentTestSuiteName | string |
Метод | Описание | |
---|---|---|
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. | |
write ( string $buffer ) |
Метод | Описание | |
---|---|---|
writeCase ( string $status, float $time, array $trace = [], string $message = '' ) |
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 |
public startTest ( PHPUnit_Framework_Test $test ) | ||
$test | PHPUnit_Framework_Test |
public startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |