Documentation

ProgressIndicatorTest extends TestCase
in package

Tags
group

time-sensitive

Table of Contents

Methods

provideFormat()  : array<string|int, mixed>
Provides each defined format.
testCannotAdvanceUnstartedIndicator()  : mixed
testCannotFinishUnstartedIndicator()  : mixed
testCannotSetInvalidIndicatorCharacters()  : mixed
testCannotStartAlreadyStartedIndicator()  : mixed
testCustomIndicatorValues()  : mixed
testDefaultIndicator()  : mixed
testFormats()  : mixed
testNonDecoratedOutput()  : mixed
generateOutput()  : mixed
getOutputStream()  : mixed

Methods

provideFormat()

Provides each defined format.

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

testCannotAdvanceUnstartedIndicator()

public testCannotAdvanceUnstartedIndicator() : mixed
Tags
expectedException

\LogicException

expectedExceptionMessage

Progress indicator has not yet been started.

testCannotFinishUnstartedIndicator()

public testCannotFinishUnstartedIndicator() : mixed
Tags
expectedException

\LogicException

expectedExceptionMessage

Progress indicator has not yet been started.

testCannotSetInvalidIndicatorCharacters()

public testCannotSetInvalidIndicatorCharacters() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

Must have at least 2 indicator value characters.

testCannotStartAlreadyStartedIndicator()

public testCannotStartAlreadyStartedIndicator() : mixed
Tags
expectedException

\LogicException

expectedExceptionMessage

Progress indicator already started.

testFormats()

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

provideFormat

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