PHP Class Webmozart\Console\Tests\ConsoleApplicationTest

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: webmozart/console

Public Methods

Method Description
getRunConfigurations ( )
testCreate ( )
testCreateWithConfigClosure ( )
testDispatchConfigEvent ( )
testFailIfConfigNeitherCallableNorConfigClass ( )
testFailIfDuplicateCommandName ( )
testFailIfNoCommandName ( )
testFailIfNoIOFactory ( )
testGetCommand ( )
testGetCommandFailsIfNotFound ( )
testGetCommands ( )
testGetCommandsExcludesDisabledCommands ( )
testGetDefaultCommands ( )
testGetNamedCommands ( )
testHasCommand ( )
testHasCommands ( )
testHasDefaultCommands ( )
testHasNamedCommands ( )
testHasNoCommands ( )
testHasNoDefaultCommands ( )
testHasNoNamedCommands ( )
testNormalizeLargeExceptionCodeTo255 ( )
testNormalizeNegativeExceptionCodeToOne ( )
testPrintExceptionIfCatchingActive ( )
testResolveCommand ( )
testResolveCommandDispatchesEvent ( )
testRunCommand ( $argString, $configCallback )
testTerminateAfterRun ( )
testThrowExceptionIfCatchingNotActive ( )

Protected Methods

Method Description
setUp ( )

Method Details

getRunConfigurations() public method

setUp() protected method

protected setUp ( )

testCreate() public method

public testCreate ( )

testCreateWithConfigClosure() public method

testDispatchConfigEvent() public method

testFailIfConfigNeitherCallableNorConfigClass() public method

testFailIfDuplicateCommandName() public method

testFailIfNoCommandName() public method

testFailIfNoIOFactory() public method

testGetCommand() public method

public testGetCommand ( )

testGetCommandFailsIfNotFound() public method

testGetCommands() public method

public testGetCommands ( )

testGetCommandsExcludesDisabledCommands() public method

testGetDefaultCommands() public method

testGetNamedCommands() public method

testHasCommand() public method

public testHasCommand ( )

testHasCommands() public method

public testHasCommands ( )

testHasDefaultCommands() public method

testHasNamedCommands() public method

testHasNoCommands() public method

public testHasNoCommands ( )

testHasNoDefaultCommands() public method

testHasNoNamedCommands() public method

testNormalizeLargeExceptionCodeTo255() public method

testNormalizeNegativeExceptionCodeToOne() public method

testPrintExceptionIfCatchingActive() public method

testResolveCommand() public method

public testResolveCommand ( )

testResolveCommandDispatchesEvent() public method

testRunCommand() public method

public testRunCommand ( $argString, $configCallback )

testTerminateAfterRun() public method

testThrowExceptionIfCatchingNotActive() public method