CommandTest
extends TestCase
in package
Table of Contents
Properties
- $fixturesPath : mixed
Methods
- callableMethodCommand() : mixed
- getSetCodeBindToClosureTests() : mixed
- provideInvalidCommandNames() : mixed
- setUpBeforeClass() : mixed
- testAddArgument() : mixed
- testAddGetUsages() : mixed
- testAddOption() : mixed
- testCommandNameCannotBeEmpty() : mixed
- testConstructor() : mixed
- testExecuteMethodNeedsToBeOverridden() : mixed
- testGetHelper() : mixed
- testGetHelperWithoutHelperSet() : mixed
- testGetNamespaceGetNameSetName() : mixed
- testGetProcessedHelp() : mixed
- testGetSetAliases() : mixed
- testGetSetDescription() : mixed
- testGetSetHelp() : mixed
- testGetSynopsis() : mixed
- testInvalidCommandNames() : mixed
- testMergeApplicationDefinition() : mixed
- testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs() : mixed
- testRunInteractive() : mixed
- testRunNonInteractive() : mixed
- testRunReturnsAlwaysInteger() : mixed
- testRunReturnsIntegerExitCode() : mixed
- testRunWithApplication() : mixed
- testRunWithInvalidOption() : mixed
- testRunWithProcessTitle() : mixed
- testSetAliasesNull() : mixed
- testSetApplication() : mixed
- testSetApplicationNull() : mixed
- testSetCode() : mixed
- testSetCodeBindToClosure() : mixed
- testSetCodeWithNonClosureCallable() : mixed
- testSetCodeWithStaticClosure() : mixed
- testSetGetDefinition() : mixed
- testSetHidden() : mixed
- createClosure() : mixed
Properties
$fixturesPath
protected
static mixed
$fixturesPath
Methods
callableMethodCommand()
public
callableMethodCommand(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
getSetCodeBindToClosureTests()
public
getSetCodeBindToClosureTests() : mixed
provideInvalidCommandNames()
public
provideInvalidCommandNames() : mixed
setUpBeforeClass()
public
static setUpBeforeClass() : mixed
testAddArgument()
public
testAddArgument() : mixed
testAddGetUsages()
public
testAddGetUsages() : mixed
testAddOption()
public
testAddOption() : mixed
testCommandNameCannotBeEmpty()
public
testCommandNameCannotBeEmpty() : mixed
Tags
testConstructor()
public
testConstructor() : mixed
testExecuteMethodNeedsToBeOverridden()
public
testExecuteMethodNeedsToBeOverridden() : mixed
Tags
testGetHelper()
public
testGetHelper() : mixed
testGetHelperWithoutHelperSet()
public
testGetHelperWithoutHelperSet() : mixed
Tags
testGetNamespaceGetNameSetName()
public
testGetNamespaceGetNameSetName() : mixed
testGetProcessedHelp()
public
testGetProcessedHelp() : mixed
testGetSetAliases()
public
testGetSetAliases() : mixed
testGetSetDescription()
public
testGetSetDescription() : mixed
testGetSetHelp()
public
testGetSetHelp() : mixed
testGetSynopsis()
public
testGetSynopsis() : mixed
testInvalidCommandNames()
public
testInvalidCommandNames(mixed $name) : mixed
Parameters
- $name : mixed
Tags
testMergeApplicationDefinition()
public
testMergeApplicationDefinition() : mixed
testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs()
public
testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs() : mixed
testRunInteractive()
public
testRunInteractive() : mixed
testRunNonInteractive()
public
testRunNonInteractive() : mixed
testRunReturnsAlwaysInteger()
public
testRunReturnsAlwaysInteger() : mixed
testRunReturnsIntegerExitCode()
public
testRunReturnsIntegerExitCode() : mixed
testRunWithApplication()
public
testRunWithApplication() : mixed
testRunWithInvalidOption()
public
testRunWithInvalidOption() : mixed
Tags
testRunWithProcessTitle()
public
testRunWithProcessTitle() : mixed
testSetAliasesNull()
public
testSetAliasesNull() : mixed
testSetApplication()
public
testSetApplication() : mixed
testSetApplicationNull()
public
testSetApplicationNull() : mixed
testSetCode()
public
testSetCode() : mixed
testSetCodeBindToClosure()
public
testSetCodeBindToClosure(mixed $previouslyBound, mixed $expected) : mixed
Parameters
- $previouslyBound : mixed
- $expected : mixed
Tags
testSetCodeWithNonClosureCallable()
public
testSetCodeWithNonClosureCallable() : mixed
testSetCodeWithStaticClosure()
public
testSetCodeWithStaticClosure() : mixed
testSetGetDefinition()
public
testSetGetDefinition() : mixed
testSetHidden()
public
testSetHidden() : mixed
createClosure()
private
static createClosure() : mixed