161 lines
3.8 KiB
YAML
161 lines
3.8 KiB
YAML
|
name: ArgvInputTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ArgvInput
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\ArgvInput
|
||
|
- name: InputArgument
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputArgument
|
||
|
- name: InputDefinition
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputDefinition
|
||
|
- name: InputOption
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Input\InputOption
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testConstructor
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseArguments
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseOptions
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: input
|
||
|
- name: options
|
||
|
- name: expectedOptions
|
||
|
- name: message
|
||
|
comment: '# * @dataProvider provideOptions'
|
||
|
- name: testParseOptionsNegatable
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: input
|
||
|
- name: options
|
||
|
- name: expectedOptions
|
||
|
- name: message
|
||
|
comment: '# * @dataProvider provideNegatableOptions'
|
||
|
- name: provideOptions
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideNegatableOptions
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testInvalidInput
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: argv
|
||
|
- name: definition
|
||
|
- name: expectedExceptionMessage
|
||
|
comment: '# * @dataProvider provideInvalidInput'
|
||
|
- name: testInvalidInputNegatable
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: argv
|
||
|
- name: definition
|
||
|
- name: expectedExceptionMessage
|
||
|
comment: '# * @dataProvider provideInvalidNegatableInput'
|
||
|
- name: provideInvalidInput
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideInvalidNegatableInput
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseArrayArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseArrayOption
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseNegativeNumberAfterDoubleDash
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseEmptyStringArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetFirstArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testHasParameterOption
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testHasParameterOptionOnlyOptions
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testHasParameterOptionEdgeCasesAndLimitations
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNoWarningOnInvalidParameterOption
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testToString
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetParameterOptionEqualSign
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: argv
|
||
|
- name: key
|
||
|
- name: default
|
||
|
- name: onlyParams
|
||
|
- name: expected
|
||
|
comment: '# * @dataProvider provideGetParameterOptionValues'
|
||
|
- name: provideGetParameterOptionValues
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseSingleDashAsArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetRawTokensFalse
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetRawTokensTrue
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: argv
|
||
|
- name: expected
|
||
|
comment: '# * @dataProvider provideGetRawTokensTrueTests'
|
||
|
- name: provideGetRawTokensTrueTests
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Console\Input\ArgvInput
|
||
|
- Symfony\Component\Console\Input\InputArgument
|
||
|
- Symfony\Component\Console\Input\InputDefinition
|
||
|
- Symfony\Component\Console\Input\InputOption
|
||
|
interfaces: []
|