PHP Class NestedGroupTag, simpletest

Holds the incoming test structure information for later dispatch to the reporter.
Inheritance: extends NestedXmlTag
Show file Open project: simpletest/simpletest Class Usage Examples

Public Methods

Method Description
__construct ( hash $attributes ) Sets the basic test information except the name.
getSize ( ) : integer The size in the attributes.
paintEnd ( SimpleReporter &$listener ) Signals the appropriate end event on the listener.
paintStart ( SimpleReporter &$listener ) Signals the appropriate start event on the listener.

Method Details

__construct() public method

Sets the basic test information except the name.
public __construct ( hash $attributes )
$attributes hash Name value pairs.

getSize() public method

The size in the attributes.
public getSize ( ) : integer
return integer Value of size attribute or zero.

paintEnd() public method

Signals the appropriate end event on the listener.
public paintEnd ( SimpleReporter &$listener )
$listener SimpleReporter Target for events.

paintStart() public method

Signals the appropriate start event on the listener.
public paintStart ( SimpleReporter &$listener )
$listener SimpleReporter Target for events.