InputDefinitionTest
extends TestCase
in package
Table of Contents
Properties
Methods
- getGetSynopsisData() : mixed
- setUpBeforeClass() : mixed
- testAddArgument() : mixed
- testAddArguments() : mixed
- testAddDuplicateOption() : mixed
- testAddDuplicateShortcutOption() : mixed
- testAddOption() : mixed
- testAddOptions() : mixed
- testArgumentsMustHaveDifferentNames() : mixed
- testArrayArgumentHasToBeLast() : mixed
- testConstructorArguments() : mixed
- testConstructorOptions() : mixed
- testGetArgument() : mixed
- testGetArgumentCount() : mixed
- testGetArgumentDefaults() : mixed
- testGetArgumentRequiredCount() : mixed
- testGetInvalidArgument() : mixed
- testGetInvalidOption() : mixed
- testGetOption() : mixed
- testGetOptionDefaults() : mixed
- testGetOptionForInvalidShortcut() : mixed
- testGetOptionForMultiShortcut() : mixed
- testGetOptionForShortcut() : mixed
- testGetShortSynopsis() : mixed
- testGetSynopsis() : mixed
- testHasArgument() : mixed
- testHasOption() : mixed
- testHasShortcut() : mixed
- testRequiredArgumentCannotFollowAnOptionalOne() : mixed
- testSetArguments() : mixed
- testSetOptions() : mixed
- testSetOptionsClearsOptions() : mixed
- initializeArguments() : mixed
- initializeOptions() : mixed
Properties
$bar
protected
mixed
$bar
$fixtures
protected
static mixed
$fixtures
$foo
protected
mixed
$foo
$foo1
protected
mixed
$foo1
$foo2
protected
mixed
$foo2
Methods
getGetSynopsisData()
public
getGetSynopsisData() : mixed
setUpBeforeClass()
public
static setUpBeforeClass() : mixed
testAddArgument()
public
testAddArgument() : mixed
testAddArguments()
public
testAddArguments() : mixed
testAddDuplicateOption()
public
testAddDuplicateOption() : mixed
Tags
testAddDuplicateShortcutOption()
public
testAddDuplicateShortcutOption() : mixed
Tags
testAddOption()
public
testAddOption() : mixed
testAddOptions()
public
testAddOptions() : mixed
testArgumentsMustHaveDifferentNames()
public
testArgumentsMustHaveDifferentNames() : mixed
Tags
testArrayArgumentHasToBeLast()
public
testArrayArgumentHasToBeLast() : mixed
Tags
testConstructorArguments()
public
testConstructorArguments() : mixed
testConstructorOptions()
public
testConstructorOptions() : mixed
testGetArgument()
public
testGetArgument() : mixed
testGetArgumentCount()
public
testGetArgumentCount() : mixed
testGetArgumentDefaults()
public
testGetArgumentDefaults() : mixed
testGetArgumentRequiredCount()
public
testGetArgumentRequiredCount() : mixed
testGetInvalidArgument()
public
testGetInvalidArgument() : mixed
Tags
testGetInvalidOption()
public
testGetInvalidOption() : mixed
Tags
testGetOption()
public
testGetOption() : mixed
testGetOptionDefaults()
public
testGetOptionDefaults() : mixed
testGetOptionForInvalidShortcut()
public
testGetOptionForInvalidShortcut() : mixed
Tags
testGetOptionForMultiShortcut()
public
testGetOptionForMultiShortcut() : mixed
testGetOptionForShortcut()
public
testGetOptionForShortcut() : mixed
testGetShortSynopsis()
public
testGetShortSynopsis() : mixed
testGetSynopsis()
public
testGetSynopsis(InputDefinition $definition, mixed $expectedSynopsis[, mixed $message = null ]) : mixed
Parameters
- $definition : InputDefinition
- $expectedSynopsis : mixed
- $message : mixed = null
Tags
testHasArgument()
public
testHasArgument() : mixed
testHasOption()
public
testHasOption() : mixed
testHasShortcut()
public
testHasShortcut() : mixed
testRequiredArgumentCannotFollowAnOptionalOne()
public
testRequiredArgumentCannotFollowAnOptionalOne() : mixed
Tags
testSetArguments()
public
testSetArguments() : mixed
testSetOptions()
public
testSetOptions() : mixed
testSetOptionsClearsOptions()
public
testSetOptionsClearsOptions() : mixed
Tags
initializeArguments()
protected
initializeArguments() : mixed
initializeOptions()
protected
initializeOptions() : mixed