PHP Class PhpBench\Tests\Unit\Formatter\FormatterTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: dantleech/phpbench

Méthodes publiques

Méthode Description
provideApplyClassesSubstituteTokens ( )
setUp ( )
testApplyClasses ( ) It should register class definitions.
testApplyClassesSubstituteTokens ( $classParams, $params, $expectedParams ) It should substitute tokens in class parameters.
testInvalidFormatOptions ( ) It should throw an exception if invalid options are given for a formatter.

Method Details

provideApplyClassesSubstituteTokens() public méthode

setUp() public méthode

public setUp ( )

testApplyClasses() public méthode

It should apply class definitions.
public testApplyClasses ( )

testApplyClassesSubstituteTokens() public méthode

It should substitute tokens in class parameters.
public testApplyClassesSubstituteTokens ( $classParams, $params, $expectedParams )

testInvalidFormatOptions() public méthode

It should throw an exception if invalid options are given for a formatter.