Sha256: 919928a331375d701cba4116dda964a4a3d7f45df996a937bec6716b40d7b7c2

Contents?: true

Size: 1.2 KB

Versions: 18

Compression:

Stored size: 1.2 KB

Contents

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Console\Tests\Descriptor;

use Symfony\Component\Console\Descriptor\MarkdownDescriptor;
use Symfony\Component\Console\Tests\Fixtures\DescriptorApplicationMbString;
use Symfony\Component\Console\Tests\Fixtures\DescriptorCommandMbString;

class MarkdownDescriptorTest extends AbstractDescriptorTest
{
    public function getDescribeCommandTestData()
    {
        return $this->getDescriptionTestData(array_merge(
            ObjectsProvider::getCommands(),
            ['command_mbstring' => new DescriptorCommandMbString()]
        ));
    }

    public function getDescribeApplicationTestData()
    {
        return $this->getDescriptionTestData(array_merge(
            ObjectsProvider::getApplications(),
            ['application_mbstring' => new DescriptorApplicationMbString()]
        ));
    }

    protected function getDescriptor()
    {
        return new MarkdownDescriptor();
    }

    protected function getFormat()
    {
        return 'md';
    }
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
dependabot-composer-0.119.0.beta1 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.113.19 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.112.1 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.57 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.56 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.52 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.50 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.25 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.17 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.111.15 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.110.13 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.108.11 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.108.8 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.107.47 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.107.39 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.107.36 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.107.28 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php
dependabot-composer-0.107.14 helpers/vendor/symfony/console/Tests/Descriptor/MarkdownDescriptorTest.php