Class BadTestSuite

Description

This is a failing group test for when a test suite hasn't loaded properly.

Located in /_tests/simpletest/test_case.php (line 655)


	
			
Direct descendents
Class Description
BadGroupTest
Variable Summary
mixed $_error
mixed $_label
Method Summary
BadTestSuite BadTestSuite (string $label,  $error)
string getLabel ()
integer getSize ()
void run ( &$reporter, SimpleReporter $reporter)
Variables
mixed $_error (line 657)
mixed $_label (line 656)
Methods
Constructor BadTestSuite (line 665)

Sets the name of the test suite and error message.

  • access: public
BadTestSuite BadTestSuite (string $label,  $error)
  • string $label: Name sent at the start and end of the test.
  • $error
getLabel (line 675)

Accessor for the test name for subclasses.

  • return: Name of the test.
  • access: public
string getLabel ()
getSize (line 697)

Number of contained test cases. Always zero.

  • return: Total count of cases in the group.
  • access: public
integer getSize ()
run (line 684)

Sends a single error to the reporter.

  • access: public
void run ( &$reporter, SimpleReporter $reporter)

Documentation generated on Sun, 02 Jan 2011 23:26:35 +0000 by phpDocumentor 1.4.3