ArgvInputTest
extends TestCase
in package
Table of Contents
Methods
- provideGetParameterOptionValues() : mixed
- provideInvalidInput() : mixed
- provideOptions() : mixed
- testConstructor() : mixed
- testGetFirstArgument() : mixed
- testGetParameterOptionEqualSign() : mixed
- testHasParameterOption() : mixed
- testHasParameterOptionOnlyOptions() : mixed
- testInvalidInput() : mixed
- testParseArguments() : mixed
- testParseArrayArgument() : mixed
- testParseArrayOption() : mixed
- testParseEmptyStringArgument() : mixed
- testParseNegativeNumberAfterDoubleDash() : mixed
- testParseOptions() : mixed
- testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument() : mixed
- testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument() : mixed
- testParseSingleDashAsArgument() : mixed
- testToString() : mixed
Methods
provideGetParameterOptionValues()
public
provideGetParameterOptionValues() : mixed
provideInvalidInput()
public
provideInvalidInput() : mixed
provideOptions()
public
provideOptions() : mixed
testConstructor()
public
testConstructor() : mixed
testGetFirstArgument()
public
testGetFirstArgument() : mixed
testGetParameterOptionEqualSign()
public
testGetParameterOptionEqualSign(mixed $argv, mixed $key, mixed $onlyParams, mixed $expected) : mixed
Parameters
- $argv : mixed
- $key : mixed
- $onlyParams : mixed
- $expected : mixed
Tags
testHasParameterOption()
public
testHasParameterOption() : mixed
testHasParameterOptionOnlyOptions()
public
testHasParameterOptionOnlyOptions() : mixed
testInvalidInput()
public
testInvalidInput(mixed $argv, mixed $definition, mixed $expectedExceptionMessage) : mixed
Parameters
- $argv : mixed
- $definition : mixed
- $expectedExceptionMessage : mixed
Tags
testParseArguments()
public
testParseArguments() : mixed
testParseArrayArgument()
public
testParseArrayArgument() : mixed
testParseArrayOption()
public
testParseArrayOption() : mixed
testParseEmptyStringArgument()
public
testParseEmptyStringArgument() : mixed
testParseNegativeNumberAfterDoubleDash()
public
testParseNegativeNumberAfterDoubleDash() : mixed
testParseOptions()
public
testParseOptions(mixed $input, mixed $options, mixed $expectedOptions, mixed $message) : mixed
Parameters
- $input : mixed
- $options : mixed
- $expectedOptions : mixed
- $message : mixed
Tags
testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument()
public
testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument() : mixed
testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument()
public
testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument() : mixed
testParseSingleDashAsArgument()
public
testParseSingleDashAsArgument() : mixed
testToString()
public
testToString() : mixed