PHP Class PhpBench\Tests\Unit\Report\Renderer\XsltRendererTest

Inheritance: extends AbstractRendererCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
clean ( )
setUp ( )
tearDown ( )
testOutputSpecific ( ) It should output to a specific file.
testRender ( ) It should render an XSLT report to a file.
testRenderNotExistingTemplate ( ) It should throw an exception if the XSLT template does not exist.
testRenderTemplate ( ) It should renderer the report using a specific template.
testRenderTemplateEmptyFilename ( ) It should echo to STDOUT if no filename is provided.
testRenderTemplateReportNameToken ( ) It should replace the %report_name% token with the report name,.

Protected Methods

Method Description
getRenderer ( )

Method Details

clean() public method

public clean ( )

getRenderer() protected method

protected getRenderer ( )

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testOutputSpecific() public method

It should output to a specific file.
public testOutputSpecific ( )

testRender() public method

It should render an XSLT report to a file.
public testRender ( )

testRenderNotExistingTemplate() public method

It should throw an exception if the XSLT template does not exist.

testRenderTemplate() public method

It should renderer the report using a specific template.
public testRenderTemplate ( )

testRenderTemplateEmptyFilename() public method

It should echo to STDOUT if no filename is provided.

testRenderTemplateReportNameToken() public method

It should replace the %report_name% token with the report name,.