PHP Class NestedXmlTag, simpletest

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
getAttributes ( ) : hash Accessor for attributes.

Method Details

__construct() public méthode

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

getAttributes() protected méthode

Accessor for attributes.
protected getAttributes ( ) : hash
Résultat hash All attributes.

getName() public méthode

Accessor for name.
public getName ( ) : string
Résultat string Name of test.

setName() public méthode

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