PHP Class PHPUnit_Util_TestDox_NamePrettifier, qcodo

Author: Sebastian Bergmann ([email protected])
ファイルを表示 Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$prefix string
$strings array
$suffix string

Public Methods

Method 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 method

Prettifies the name of a test class.
public prettifyTestClass ( string $name ) : string
$name string
return string

prettifyTestMethod() public method

Prettifies the name of a test method.
public prettifyTestMethod ( string $name ) : string
$name string
return string

setPrefix() public method

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

setSuffix() public method

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

Property Details

$prefix protected_oe property

protected string $prefix
return string

$strings protected_oe property

protected array $strings
return array

$suffix protected_oe property

protected string $suffix
return string