PHP Class PhpBench\Tests\Unit\Formatter\FormatterTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: dantleech/phpbench

Public Methods

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

setUp() public method

public setUp ( )

testApplyClasses() public method

It should apply class definitions.
public testApplyClasses ( )

testApplyClassesSubstituteTokens() public method

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

testInvalidFormatOptions() public method

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