Method | Description | |
---|---|---|
__construct ( string $label, $error ) | Sets the name of the test suite and error message. | |
getLabel ( ) : string | Accessor for the test name for subclasses. | |
getSize ( ) : integer | Number of contained test cases. Always zero. | |
run ( SimpleReporter $reporter ) | Sends a single error to the reporter. |
public __construct ( string $label, $error ) | ||
$label | string | Name sent at the start and end of the test. |
public run ( SimpleReporter $reporter ) | ||
$reporter | SimpleReporter | Current test reporter. |