Public Member Functions | |
BadTestSuite ($label, $error) | |
getLabel () | |
run (&$reporter) | |
getSize () | |
Public Attributes | |
$_label | |
$_error |
Definition at line 561 of file test_case.php.
BadTestSuite::BadTestSuite | ( | $ | label, | |
$ | error | |||
) |
Sets the name of the test suite and error message.
string | $label Name sent at the start and end of the test. public |
Definition at line 571 of file test_case.php.
BadTestSuite::getLabel | ( | ) |
Accessor for the test name for subclasses.
Definition at line 581 of file test_case.php.
Referenced by run().
BadTestSuite::run | ( | &$ | reporter | ) |
Sends a single error to the reporter.
SimpleReporter | $reporter Current test reporter. public |
Definition at line 590 of file test_case.php.
References getLabel(), and getSize().
BadTestSuite::getSize | ( | ) |
Number of contained test cases. Always zero.
Definition at line 603 of file test_case.php.
Referenced by run().
BadTestSuite::$_label |
Definition at line 562 of file test_case.php.
BadTestSuite::$_error |
Definition at line 563 of file test_case.php.