BadTestSuite Class Reference

Inheritance diagram for BadTestSuite:
[legend]

List of all members.


Public Member Functions

 BadTestSuite ($label, $error)
 getLabel ()
 run (&$reporter)
 getSize ()

Public Attributes

 $_label
 $_error


Detailed Description

Definition at line 561 of file test_case.php.


Member Function Documentation

BadTestSuite::BadTestSuite ( label,
error 
)

Sets the name of the test suite and error message.

Parameters:
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.

Returns:
string Name of the test. public

Definition at line 581 of file test_case.php.

Referenced by run().

BadTestSuite::run ( &$  reporter  ) 

Sends a single error to the reporter.

Parameters:
SimpleReporter $reporter Current test reporter. public

Definition at line 590 of file test_case.php.

References getLabel(), and getSize().

Here is the call graph for this function:

BadTestSuite::getSize (  ) 

Number of contained test cases. Always zero.

Returns:
integer Total count of cases in the group. public

Definition at line 603 of file test_case.php.

Referenced by run().


Member Data Documentation

BadTestSuite::$_label

Definition at line 562 of file test_case.php.

BadTestSuite::$_error

Definition at line 563 of file test_case.php.


The documentation for this class was generated from the following file:

Generated on Mon Jun 2 15:09:03 2008 for SimpleTest by  1.5.5