Свойство | Тип | Описание | |
---|---|---|---|
$test | object | The Test to be decorated. |
Метод | Описание | |
---|---|---|
__construct ( PHPUnit_Framework_Test $test ) | Constructor. | |
basicRun ( PHPUnit_Framework_TestResult $result ) | Runs the test and collects the result in a TestResult. | |
count ( ) : integer | Counts the number of test cases that will be run by this test. | |
getTest ( ) : PHPUnit_Framework_Test | Returns the test to be run. | |
run ( PHPUnit_Framework_TestResult $result = NULL ) : PHPUnit_Framework_TestResult | Runs the decorated test and collects the result in a TestResult. | |
toString ( ) : string | Returns a string representation of the test. |
Метод | Описание | |
---|---|---|
createResult ( ) : PHPUnit_Framework_TestResult | Creates a default TestResult object. |
public __construct ( PHPUnit_Framework_Test $test ) | ||
$test | PHPUnit_Framework_Test |
public basicRun ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected createResult ( ) : PHPUnit_Framework_TestResult | ||
Результат | PHPUnit_Framework_TestResult |
public getTest ( ) : PHPUnit_Framework_Test | ||
Результат | PHPUnit_Framework_Test |
public run ( PHPUnit_Framework_TestResult $result = NULL ) : PHPUnit_Framework_TestResult | ||
$result | PHPUnit_Framework_TestResult | |
Результат | PHPUnit_Framework_TestResult |