4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Console\Tests\Descriptor;
14 use Symfony\Component\Console\Descriptor\TextDescriptor;
15 use Symfony\Component\Console\Tests\Fixtures\DescriptorApplicationMbString;
16 use Symfony\Component\Console\Tests\Fixtures\DescriptorCommandMbString;
18 class TextDescriptorTest extends AbstractDescriptorTest
20 public function getDescribeCommandTestData()
22 return $this->getDescriptionTestData(array_merge(
23 ObjectsProvider::getCommands(),
24 array('command_mbstring' => new DescriptorCommandMbString())
28 public function getDescribeApplicationTestData()
30 return $this->getDescriptionTestData(array_merge(
31 ObjectsProvider::getApplications(),
32 array('application_mbstring' => new DescriptorApplicationMbString())
36 protected function getDescriptor()
38 return new TextDescriptor();
41 protected function getFormat()