PHP Класс PhpBench\Tests\Unit\Report\Generator\TableGeneratorTest

Наследование: extends GeneratorTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )