Documentation

ProgressBarTest extends TestCase
in package

Tags
group

time-sensitive

Table of Contents

Methods

provideFormat()  : array<string|int, mixed>
Provides each defined format.
testAddingPlaceholderFormatter()  : mixed
testAdvance()  : mixed
testAdvanceMultipleTimes()  : mixed
testAdvanceOverMax()  : mixed
testAdvanceWithStep()  : mixed
testAnsiColorsAndEmojis()  : mixed
testBarWidthWithMultilineFormat()  : mixed
testClear()  : mixed
testCustomizations()  : mixed
testDisplayWithoutStart()  : mixed
testDisplayWithQuietVerbosity()  : mixed
testFinishWithoutStart()  : mixed
testFormat()  : mixed
testFormatsWithoutMax()  : mixed
testMultiByteSupport()  : mixed
testMultilineFormat()  : mixed
testMultipleStart()  : mixed
testNonDecoratedOutput()  : mixed
testNonDecoratedOutputWithClear()  : mixed
testNonDecoratedOutputWithoutMax()  : mixed
testOverwriteWithShorterLine()  : mixed
testParallelBars()  : mixed
testPercent()  : mixed
testPercentNotHundredBeforeComplete()  : mixed
testRedrawFrequency()  : mixed
testRedrawFrequencyIsAtLeastOneIfSmallerOneGiven()  : mixed
testRedrawFrequencyIsAtLeastOneIfZeroGiven()  : mixed
testRegress()  : mixed
testRegressBelowMin()  : mixed
testRegressMultipleTimes()  : mixed
testRegressWithStep()  : mixed
testSetCurrentBeforeStarting()  : mixed
testSetCurrentProgress()  : mixed
testSetFormat()  : mixed
testStartWithMax()  : mixed
testWithoutMax()  : mixed
testWithSmallScreen()  : mixed
generateOutput()  : mixed
getOutputStream()  : mixed

Methods

provideFormat()

Provides each defined format.

public provideFormat() : array<string|int, mixed>
Return values
array<string|int, mixed>

testAddingPlaceholderFormatter()

public testAddingPlaceholderFormatter() : mixed

testAdvanceMultipleTimes()

public testAdvanceMultipleTimes() : mixed

testBarWidthWithMultilineFormat()

public testBarWidthWithMultilineFormat() : mixed

testDisplayWithQuietVerbosity()

public testDisplayWithQuietVerbosity() : mixed

testFormatsWithoutMax()

public testFormatsWithoutMax(mixed $format) : mixed
Parameters
$format : mixed
Tags
dataProvider

provideFormat

testNonDecoratedOutputWithClear()

public testNonDecoratedOutputWithClear() : mixed

testNonDecoratedOutputWithoutMax()

public testNonDecoratedOutputWithoutMax() : mixed

testOverwriteWithShorterLine()

public testOverwriteWithShorterLine() : mixed

testPercentNotHundredBeforeComplete()

public testPercentNotHundredBeforeComplete() : mixed

testRedrawFrequencyIsAtLeastOneIfSmallerOneGiven()

public testRedrawFrequencyIsAtLeastOneIfSmallerOneGiven() : mixed

testRedrawFrequencyIsAtLeastOneIfZeroGiven()

public testRedrawFrequencyIsAtLeastOneIfZeroGiven() : mixed

testRegressMultipleTimes()

public testRegressMultipleTimes() : mixed

testSetCurrentBeforeStarting()

public testSetCurrentBeforeStarting() : mixed

generateOutput()

protected generateOutput(mixed $expected) : mixed
Parameters
$expected : mixed

getOutputStream()

protected getOutputStream([mixed $decorated = true ][, mixed $verbosity = StreamOutput::VERBOSITY_NORMAL ]) : mixed
Parameters
$decorated : mixed = true
$verbosity : mixed = StreamOutput::VERBOSITY_NORMAL

        
On this page

Search results