Свойство | Тип | Описание | |
---|---|---|---|
$currentTestCase | DOMElement | ||
$document | DOMDocument | ||
$reportUselessTests | boolean | ||
$root | DOMElement | ||
$testSuiteAssertions | int[] | ||
$testSuiteErrors | int[] | ||
$testSuiteFailures | int[] | ||
$testSuiteLevel | integer | ||
$testSuiteSkipped | int[] | ||
$testSuiteTests | int[] | ||
$testSuiteTimes | int[] | ||
$testSuites | DOMElement[] | ||
$writeDocument | boolean |
Метод | Описание | |
---|---|---|
__construct ( mixed $out = null, boolean $reportUselessTests = false ) | 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. | |
addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | Risky test. | |
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | Skipped test. | |
addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, float $time ) | A warning occurred. | |
endTest ( PHPUnit_Framework_Test $test, float $time ) | A test ended. | |
endTestSuite ( PHPUnit_Framework_TestSuite $suite ) | A testsuite ended. | |
flush ( ) | Flush buffer and close output. | |
getXML ( ) : string | Returns the XML as a string. | |
setWriteDocument ( $flag ) : string | Enables or disables the writing of the document in flush(). | |
startTest ( PHPUnit_Framework_Test $test ) | A test started. | |
startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | A testsuite started. |
Метод | Описание | |
---|---|---|
doAddFault ( PHPUnit_Framework_Test $test, Exception $e, float $time, string $type ) | Method which generalizes addError() and addFailure() | |
doAddSkipped ( PHPUnit_Framework_Test $test ) |
public __construct ( mixed $out = null, boolean $reportUselessTests = false ) | ||
$out | mixed | |
$reportUselessTests | boolean |
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 addRiskyTest ( 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 addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | PHPUnit_Framework_Warning | |
$time | float |
public endTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
public setWriteDocument ( $flag ) : string | ||
Результат | string |
public startTest ( PHPUnit_Framework_Test $test ) | ||
$test | PHPUnit_Framework_Test |
public startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |