- \PHPUnit_Util_TestDox_NamePrettifier
class (none) \ PHPUnit_Util_TestDox_NamePrettifier
Prettifies class and method names for use in TestDox documentation.
Method Summary
Name | Description |
---|---|
prettifyTestClass($name) | Prettifies the name of a test class. |
prettifyTestMethod($name) | Prettifies the name of a test method. |
setPrefix($prefix) | Sets the prefix of test names. |
setSuffix($suffix) | Sets the suffix of test names. |
public function prettifyTestClass($name)
Prettifies the name of a test class.
- Parameters:
string
- $name- Returns:
- string
public function prettifyTestMethod($name)
Prettifies the name of a test method.
- Parameters:
string
- $name- Returns:
- string
public function setPrefix($prefix)
Sets the prefix of test names.
- Parameters:
string
- $prefix
public function setSuffix($suffix)
Sets the suffix of test names.
- Parameters:
string
- $suffix