Documentation

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

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
dataProvider

provideGetParameterOptionValues

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
dataProvider

provideInvalidInput

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
dataProvider

provideOptions

testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument()

public testParseOptionWithValueOptionalGivenEmptyAndOptionalArgument() : mixed

testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument()

public testParseOptionWithValueOptionalGivenEmptyAndRequiredArgument() : mixed

testParseSingleDashAsArgument()

public testParseSingleDashAsArgument() : mixed

        
On this page

Search results