PHP Class BadTestSuite, simpletest

@package SimpleTest
Show file Open project: simpletest/simpletest

Public Methods

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.

Method Details

__construct() public method

Sets the name of the test suite and error message.
public __construct ( string $label, $error )
$label string Name sent at the start and end of the test.

getLabel() public method

Accessor for the test name for subclasses.
public getLabel ( ) : string
return string Name of the test.

getSize() public method

Number of contained test cases. Always zero.
public getSize ( ) : integer
return integer Total count of cases in the group.

run() public method

Sends a single error to the reporter.
public run ( SimpleReporter $reporter )
$reporter SimpleReporter Current test reporter.