PHP Class PHPUnit_Util_TestDox_NamePrettifier, qcodo

Author: Sebastian Bergmann ([email protected])
Afficher le fichier Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Свойство Type Description
$prefix string
$strings array
$suffix string

Méthodes publiques

Méthode Description
prettifyTestClass ( string $name ) : string Prettifies the name of a test class.
prettifyTestMethod ( string $name ) : string Prettifies the name of a test method.
setPrefix ( string $prefix ) Sets the prefix of test names.
setSuffix ( $suffix ) Sets the suffix of test names.

Method Details

prettifyTestClass() public méthode

Prettifies the name of a test class.
public prettifyTestClass ( string $name ) : string
$name string
Résultat string

prettifyTestMethod() public méthode

Prettifies the name of a test method.
public prettifyTestMethod ( string $name ) : string
$name string
Résultat string

setPrefix() public méthode

Sets the prefix of test names.
public setPrefix ( string $prefix )
$prefix string

setSuffix() public méthode

Sets the suffix of test names.
public setSuffix ( $suffix )

Property Details

$prefix protected_oe property

protected string $prefix
Résultat string

$strings protected_oe property

protected array $strings
Résultat array

$suffix protected_oe property

protected string $suffix
Résultat string