PHP Class NestedXmlTag, simpletest

Holds the incoming test structure information for later dispatch to the reporter.
Datei anzeigen Open project: simpletest/simpletest Class Usage Examples

Public Methods

Method Description
__construct ( hash $attributes ) Sets the basic test information except the name.
getName ( ) : string Accessor for name.
setName ( string $name ) Sets the test case/method name.

Protected Methods

Method Description
getAttributes ( ) : hash Accessor for attributes.

Method Details

__construct() public method

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

getAttributes() protected method

Accessor for attributes.
protected getAttributes ( ) : hash
return hash All attributes.

getName() public method

Accessor for name.
public getName ( ) : string
return string Name of test.

setName() public method

Sets the test case/method name.
public setName ( string $name )
$name string Name of test.