Overview

Namespaces

  • Evenement
  • None
  • Peridot
    • Console
    • Core
    • Reporter
    • Runner
    • Scope
    • Test
  • Symfony
    • Component
      • Console
        • Command
        • Descriptor
        • Event
        • Exception
        • Formatter
        • Helper
        • Input
        • Logger
        • Output
        • Question
        • Style
        • Tester
        • Tests
          • Command
          • Descriptor
          • Fixtures
          • Formatter
          • Helper
          • Input
          • Logger
          • Output
          • Style
          • Tester

Classes

  • FormatterHelperTest
  • HelperSetTest
  • HelperTest
  • LegacyDialogHelperTest
  • LegacyProgressHelperTest
  • LegacyTableHelperTest
  • ProcessHelperTest
  • ProgressBarTest
  • ProgressIndicatorTest
  • QuestionHelperTest
  • SymfonyQuestionHelperTest
  • TableStyleTest
  • TableTest
  • Overview
  • Namespace
  • Class

Class ProgressBarTest

PHPUnit_Framework_TestCase
Extended by Symfony\Component\Console\Tests\Helper\ProgressBarTest
Namespace: Symfony\Component\Console\Tests\Helper
Group: time-sensitive
Located at Tests/Helper/ProgressBarTest.php
Methods summary
public
# testMultipleStart( )
public
# testAdvance( )
public
# testAdvanceWithStep( )
public
# testAdvanceMultipleTimes( )
public
# testAdvanceOverMax( )
public
# testFormat( )
public
# testCustomizations( )
public
# testDisplayWithoutStart( )
public
# testDisplayWithQuietVerbosity( )
public
# testFinishWithoutStart( )
public
# testPercent( )
public
# testOverwriteWithShorterLine( )
public
# testStartWithMax( )
public
# testSetCurrentProgress( )
public
# testSetCurrentBeforeStarting( )
public
# testRegressProgress( )

Expectedexception

\LogicException

Expectedexceptionmessage

You can't regress the progress bar
public
# testRedrawFrequency( )
public
# testRedrawFrequencyIsAtLeastOneIfZeroGiven( )
public
# testRedrawFrequencyIsAtLeastOneIfSmallerOneGiven( )
public
# testMultiByteSupport( )
public
# testClear( )
public
# testPercentNotHundredBeforeComplete( )
public
# testNonDecoratedOutput( )
public
# testNonDecoratedOutputWithClear( )
public
# testNonDecoratedOutputWithoutMax( )
public
# testParallelBars( )
public
# testWithoutMax( )
public
# testAddingPlaceholderFormatter( )
public
# testMultilineFormat( )
public
# testAnsiColorsAndEmojis( )
public
# testSetFormat( )
public
# testFormatsWithoutMax( $format )

Dataprovider

provideFormat
public array
# provideFormat( )

Provides each defined format.

Provides each defined format.

Returns

array
protected
# getOutputStream( $decorated = true, $verbosity = Symfony\Component\Console\Tests\Helper\StreamOutput::VERBOSITY_NORMAL )
protected
# generateOutput( $expected )
Peridot API documentation generated by ApiGen