You are here

protected function LegacyTableHelperTest::getOutputContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php \Symfony\Component\Console\Tests\Helper\LegacyTableHelperTest::getOutputContent()
5 calls to LegacyTableHelperTest::getOutputContent()
LegacyTableHelperTest::testRender in vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php
@dataProvider testRenderProvider
LegacyTableHelperTest::testRenderAddRows in vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php
@dataProvider testRenderProvider
LegacyTableHelperTest::testRenderAddRowsOneByOne in vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php
@dataProvider testRenderProvider
LegacyTableHelperTest::testRenderFullWidthCharacters in vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php
LegacyTableHelperTest::testRenderMultiByte in vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php

File

vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php, line 318

Class

LegacyTableHelperTest
@group legacy

Namespace

Symfony\Component\Console\Tests\Helper

Code

protected function getOutputContent(StreamOutput $output) {
  rewind($output
    ->getStream());
  return str_replace(PHP_EOL, "\n", stream_get_contents($output
    ->getStream()));
}