252 lines
5.8 KiB
YAML
252 lines
5.8 KiB
YAML
|
name: CommandTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: Application
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Application
|
||
|
- name: AsCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Attribute\AsCommand
|
||
|
- name: Command
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Command\Command
|
||
|
- name: InvalidOptionException
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Exception\InvalidOptionException
|
||
|
- name: FormatterHelper
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Helper\FormatterHelper
|
||
|
- name: InputArgument
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputArgument
|
||
|
- name: InputDefinition
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputDefinition
|
||
|
- name: InputInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputInterface
|
||
|
- name: InputOption
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputOption
|
||
|
- name: StringInput
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\StringInput
|
||
|
- name: NullOutput
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Output\NullOutput
|
||
|
- name: OutputInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Output\OutputInterface
|
||
|
- name: CommandTester
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Tester\CommandTester
|
||
|
properties:
|
||
|
- name: defaultName
|
||
|
visibility: protected
|
||
|
comment: null
|
||
|
- name: defaultDescription
|
||
|
visibility: protected
|
||
|
comment: null
|
||
|
methods:
|
||
|
- name: setUpBeforeClass
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testConstructor
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testCommandNameCannotBeEmpty
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetApplication
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetApplicationNull
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetGetDefinition
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAddArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAddArgumentFull
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAddOption
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAddOptionFull
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetHidden
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetNamespaceGetNameSetName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidCommandNames
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: name
|
||
|
comment: '# * @dataProvider provideInvalidCommandNames'
|
||
|
- name: provideInvalidCommandNames
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetSetDescription
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetSetHelp
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetProcessedHelp
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetSetAliases
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetSynopsis
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAddGetUsages
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetHelper
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetHelperWithoutHelperSet
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMergeApplicationDefinition
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunInteractive
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunNonInteractive
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testExecuteMethodNeedsToBeOverridden
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunWithInvalidOption
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunWithApplication
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunReturnsAlwaysInteger
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRunWithProcessTitle
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetCode
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getSetCodeBindToClosureTests
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetCodeBindToClosure
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: previouslyBound
|
||
|
- name: expected
|
||
|
comment: '# * @dataProvider getSetCodeBindToClosureTests'
|
||
|
- name: testSetCodeWithStaticClosure
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createClosure
|
||
|
visibility: private
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSetCodeWithNonClosureCallable
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: callableMethodCommand
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: input
|
||
|
- name: output
|
||
|
comment: null
|
||
|
- name: testSetCodeWithStaticAnonymousFunction
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testCommandAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAttributeOverridesProperty
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testDefaultCommand
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Console\Application
|
||
|
- Symfony\Component\Console\Attribute\AsCommand
|
||
|
- Symfony\Component\Console\Command\Command
|
||
|
- Symfony\Component\Console\Exception\InvalidOptionException
|
||
|
- Symfony\Component\Console\Helper\FormatterHelper
|
||
|
- Symfony\Component\Console\Input\InputArgument
|
||
|
- Symfony\Component\Console\Input\InputDefinition
|
||
|
- Symfony\Component\Console\Input\InputInterface
|
||
|
- Symfony\Component\Console\Input\InputOption
|
||
|
- Symfony\Component\Console\Input\StringInput
|
||
|
- Symfony\Component\Console\Output\NullOutput
|
||
|
- Symfony\Component\Console\Output\OutputInterface
|
||
|
- Symfony\Component\Console\Tester\CommandTester
|
||
|
interfaces:
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|
||
|
- a
|