90 lines
2.2 KiB
YAML
90 lines
2.2 KiB
YAML
|
name: YamlLintCommandTest
|
||
|
class_comment: '# * Tests the YamlLintCommand.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @author Robin Chalas <robin.chalas@gmail.com>'
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: YamlLintCommand
|
||
|
type: class
|
||
|
source: Symfony\Bundle\FrameworkBundle\Command\YamlLintCommand
|
||
|
- name: Application
|
||
|
type: class
|
||
|
source: Symfony\Bundle\FrameworkBundle\Console\Application
|
||
|
- name: BaseApplication
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Application
|
||
|
- name: HelperSet
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Helper\HelperSet
|
||
|
- name: InputDefinition
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputDefinition
|
||
|
- name: OutputInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Output\OutputInterface
|
||
|
- name: CommandTester
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Tester\CommandTester
|
||
|
- name: KernelInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpKernel\KernelInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testLintCorrectFile
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testLintIncorrectFile
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testLintFileNotReadable
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetHelp
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testLintFilesFromBundleDirectory
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createFile
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: content
|
||
|
comment: null
|
||
|
- name: createCommandTester
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: application
|
||
|
default: 'null'
|
||
|
comment: null
|
||
|
- name: getKernelAwareApplicationMock
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: setUp
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: tearDown
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Bundle\FrameworkBundle\Command\YamlLintCommand
|
||
|
- Symfony\Bundle\FrameworkBundle\Console\Application
|
||
|
- Symfony\Component\Console\Helper\HelperSet
|
||
|
- Symfony\Component\Console\Input\InputDefinition
|
||
|
- Symfony\Component\Console\Output\OutputInterface
|
||
|
- Symfony\Component\Console\Tester\CommandTester
|
||
|
- Symfony\Component\HttpKernel\KernelInterface
|
||
|
interfaces: []
|