12 namespace Symfony\Component\Console\Tests\Descriptor;
53 foreach ($application->
all() as $command) {
54 $command->setHelp(str_replace(
'%command.full_name%',
'app/console %command.name%', $command->getHelp()));
91 foreach ($objects as $name => $object) {
92 $description = file_get_contents(sprintf(
'%s/../Fixtures/%s.%s', __DIR__, $name, $this->
getFormat()));
93 $data[] = array($object, $description);
102 $this->
getDescriptor()->describe($output, $describedObject, array(
'raw_output' =>
true));
103 $this->assertEquals(trim($expectedDescription), trim(str_replace(PHP_EOL,
"\n", $output->fetch())));