public function ProgressBarTest::testFormatsWithoutMax in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/ProgressBarTest.php \Symfony\Component\Console\Tests\Helper\ProgressBarTest::testFormatsWithoutMax()
@dataProvider provideFormat
File
- vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php, line 576
Class
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testFormatsWithoutMax($format) {
$bar = new ProgressBar($output = $this
->getOutputStream());
$bar
->setFormat($format);
$bar
->start();
rewind($output
->getStream());
$this
->assertNotEmpty(stream_get_contents($output
->getStream()));
}