PHP Class Webmozart\Console\Tests\Api\Args\ArgsTest

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
ファイルを表示 Open project: webmozart/console

Public Methods

Method Description
testAddArguments ( )
testAddOptions ( )
testGetArgumentByName ( )
testGetArgumentByPosition ( )
testGetArgumentFailsIfUndefinedArgument ( )
testGetArgumentPrefersSetNullOverDefaultValue ( )
testGetArgumentReturnsDefaultValueIfNotSet ( )
testGetArguments ( )
testGetArgumentsDoesNotIncludeDefaultValuesIfDisabled ( )
testGetArgumentsIncludesDefaultValues ( )
testGetArgumentsPrefersSetNullOverDefaultValue ( )
testGetArgumentsReturnsCorrectOrder ( )
testGetCommandNames ( )
testGetCommandOptions ( )
testGetFormat ( )
testGetNoRawArgs ( )
testGetOptionFailsIfUndefinedOption ( )
testGetOptionPrefersSetNullOverDefaultValue ( )
testGetOptionReturnsDefaultValueIfNotSet ( )
testGetOptionReturnsFalseIfNoValueAcceptedAndNotSet ( )
testGetOptionReturnsOptionValue ( )
testGetOptionReturnsTrueIfNoValueAccepted ( )
testGetOptions ( )
testGetOptionsAlwaysReturnsOptionsByLongName ( )
testGetOptionsDoesNotIncludeDefaultsIfDisabled ( )
testGetOptionsExcludesUnsetOptionsWithoutValuesIfNoMergeDefault ( )
testGetOptionsIncludesDefaults ( )
testGetOptionsPrefersSetNullOverDefaultValue ( )
testGetOptionsReturnsFalseForUnsetOptionsWithoutValues ( )
testGetRawArgs ( )
testIsArgumentDefined ( )
testIsArgumentSet ( )
testIsOptionDefined ( )
testIsOptionSet ( )
testIsOptionSetReturnsFalseAfterSettingToFalse ( )
testSetArgumentByPosition ( )
testSetArgumentCastsToArrayIfMultiValued ( )
testSetArgumentCastsValueToConfiguredType ( )
testSetArgumentFailsIfUndefinedArgument ( )
testSetArguments ( )
testSetMultiValuedArgument ( )
testSetMultiValuedOption ( )
testSetOptionCastsValueToArrayIfMultiValued ( )
testSetOptionCastsValueToConfiguredType ( )
testSetOptionFailsIfUndefinedOption ( )
testSetOptionIgnoresValueIfNoValueAccepted ( )
testSetOptionToFalse ( )
testSetOptions ( )

Method Details

testAddArguments() public method

public testAddArguments ( )

testAddOptions() public method

public testAddOptions ( )

testGetArgumentByName() public method

testGetArgumentByPosition() public method

testGetArgumentFailsIfUndefinedArgument() public method

testGetArgumentPrefersSetNullOverDefaultValue() public method

testGetArgumentReturnsDefaultValueIfNotSet() public method

testGetArguments() public method

public testGetArguments ( )

testGetArgumentsDoesNotIncludeDefaultValuesIfDisabled() public method

testGetArgumentsIncludesDefaultValues() public method

testGetArgumentsPrefersSetNullOverDefaultValue() public method

testGetArgumentsReturnsCorrectOrder() public method

testGetCommandNames() public method

public testGetCommandNames ( )

testGetCommandOptions() public method

testGetFormat() public method

public testGetFormat ( )

testGetNoRawArgs() public method

public testGetNoRawArgs ( )

testGetOptionFailsIfUndefinedOption() public method

testGetOptionPrefersSetNullOverDefaultValue() public method

testGetOptionReturnsDefaultValueIfNotSet() public method

testGetOptionReturnsFalseIfNoValueAcceptedAndNotSet() public method

testGetOptionReturnsOptionValue() public method

testGetOptionReturnsTrueIfNoValueAccepted() public method

testGetOptions() public method

public testGetOptions ( )

testGetOptionsAlwaysReturnsOptionsByLongName() public method

testGetOptionsDoesNotIncludeDefaultsIfDisabled() public method

testGetOptionsExcludesUnsetOptionsWithoutValuesIfNoMergeDefault() public method

testGetOptionsIncludesDefaults() public method

testGetOptionsPrefersSetNullOverDefaultValue() public method

testGetOptionsReturnsFalseForUnsetOptionsWithoutValues() public method

testGetRawArgs() public method

public testGetRawArgs ( )

testIsArgumentDefined() public method

testIsArgumentSet() public method

public testIsArgumentSet ( )

testIsOptionDefined() public method

public testIsOptionDefined ( )

testIsOptionSet() public method

public testIsOptionSet ( )

testIsOptionSetReturnsFalseAfterSettingToFalse() public method

testSetArgumentByPosition() public method

testSetArgumentCastsToArrayIfMultiValued() public method

testSetArgumentCastsValueToConfiguredType() public method

testSetArgumentFailsIfUndefinedArgument() public method

testSetArguments() public method

public testSetArguments ( )

testSetMultiValuedArgument() public method

testSetMultiValuedOption() public method

testSetOptionCastsValueToArrayIfMultiValued() public method

testSetOptionCastsValueToConfiguredType() public method

testSetOptionFailsIfUndefinedOption() public method

testSetOptionIgnoresValueIfNoValueAccepted() public method

testSetOptionToFalse() public method

testSetOptions() public method

public testSetOptions ( )