PHP 클래스 PhpBench\Tests\Unit\Report\Generator\TableGeneratorTest

상속: extends GeneratorTestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
provideBreak ( )
provideCompare ( )
setUp ( )
testAggregate ( ) It should build an aggregate table.
testBreak ( array $breaks, array $assertions ) It should break into multiple tables.
testColumns ( ) It should provide the specfied columns in the specified order.
testCompare ( $config, $assertions ) It should isolate a factor and compare statistics horizontally.
testCompareExpandDuplicate ( ) Compare should expand duplicate values, e.g. if "mean" appears twice or more for the criteria which we are comparing, then additional columns should be added, mean#1, mean#2 .
testCustomizeColumnLabelsIndex ( ) It should customize the column names by column index.
testEnvCols ( ) It should allow selection of env columns.
testIterationRows ( ) It should generate iteration rows.
testNormalizeColumnNames ( ) It should normalize the column names for each row.
testPrettyParams ( ) It should pretty print parameters.
testSortAsc ( ) It should sort ASC.
testSortDesc ( ) It should sort DESC.
testSortMultiple ( ) It should sort multiple columns.
testTitles ( ) It should add table and report titles and descriptions.
testZeroTime ( ) It should not crash if an itreation reports 0 time.

비공개 메소드들

메소드 설명
generate ( SuiteCollection $collection, array $config = [] )

메소드 상세

provideBreak() 공개 메소드

public provideBreak ( )

provideCompare() 공개 메소드

public provideCompare ( )

setUp() 공개 메소드

public setUp ( )

testAggregate() 공개 메소드

It should build an aggregate table.
public testAggregate ( )

testBreak() 공개 메소드

It should break into multiple tables.
public testBreak ( array $breaks, array $assertions )
$breaks array
$assertions array

testColumns() 공개 메소드

It should provide the specfied columns in the specified order.
public testColumns ( )

testCompare() 공개 메소드

It should isolate a factor and compare statistics horizontally.
public testCompare ( $config, $assertions )

testCompareExpandDuplicate() 공개 메소드

. mean#n.

testCustomizeColumnLabelsIndex() 공개 메소드

It should customize the column names by column index.

testEnvCols() 공개 메소드

It should allow selection of env columns.
public testEnvCols ( )

testIterationRows() 공개 메소드

It should generate iteration rows.
public testIterationRows ( )

testNormalizeColumnNames() 공개 메소드

It should normalize the column names for each row.

testPrettyParams() 공개 메소드

It should pretty print parameters.
public testPrettyParams ( )

testSortAsc() 공개 메소드

It should sort ASC.
public testSortAsc ( )

testSortDesc() 공개 메소드

It should sort DESC.
public testSortDesc ( )

testSortMultiple() 공개 메소드

It should sort multiple columns.
public testSortMultiple ( )

testTitles() 공개 메소드

It should add table and report titles and descriptions.
public testTitles ( )

testZeroTime() 공개 메소드

It should not crash if an itreation reports 0 time.
public testZeroTime ( )