75 lines
2 KiB
YAML
75 lines
2 KiB
YAML
name: XliffLintCommandTest
|
|
class_comment: '# * Tests the part of the XliffLintCommand managed by the FrameworkBundle.
|
|
The
|
|
|
|
# * rest of the features are tested in the Translation component.
|
|
|
|
# *
|
|
|
|
# * @author Javier Eguiluz <javier.eguiluz@gmail.com>'
|
|
dependencies:
|
|
- name: TestCase
|
|
type: class
|
|
source: PHPUnit\Framework\TestCase
|
|
- name: XliffLintCommand
|
|
type: class
|
|
source: Symfony\Bundle\FrameworkBundle\Command\XliffLintCommand
|
|
- 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: testGetHelp
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testLintFilesFromBundleDirectory
|
|
visibility: public
|
|
parameters: []
|
|
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\XliffLintCommand
|
|
- 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: []
|