protected function ProgressBarTest::generateOutput 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::generateOutput()
21 calls to ProgressBarTest::generateOutput()
- ProgressBarTest::testAddingPlaceholderFormatter in vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php - ProgressBarTest::testAdvance in vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php - ProgressBarTest::testAdvanceMultipleTimes in vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php - ProgressBarTest::testAdvanceOverMax in vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php - ProgressBarTest::testAdvanceWithStep in vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php
File
- vendor/
symfony/ console/ Tests/ Helper/ ProgressBarTest.php, line 606
Class
Namespace
Symfony\Component\Console\Tests\HelperCode
protected function generateOutput($expected) {
$count = substr_count($expected, "\n");
return "\r" . ($count ? sprintf("\33[%dA", $count) : '') . $expected;
}