PHP Class Neos\Flow\Tests\Unit\Cli\CommandManagerTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$commandManager Neos\Flow\Cli\CommandManager
$mockBootstrap Neos\Flow\Core\Bootstrap
$mockReflectionService Neos\Flow\Reflection\ReflectionService

Méthodes publiques

Méthode Description
getAvailableCommandsReturnsAllAvailableCommands ( )
getCommandByIdentifierAllowsThePackageKeyToOnlyContainTheLastPartOfThePackageNamespaceIfCommandsAreUnambiguous ( )
getCommandByIdentifierReturnsCommandIfIdentifierIsEqual ( )
getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound ( )
getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound ( )
getCommandByIdentifierThrowsExceptionIfOnlyPackageKeyIsSpecifiedAndContainsMoreThanOneCommand ( )
getCommandByIdentifierWorksCaseInsensitive ( )
getCommandsByIdentifierReturnsAllCommandsOfTheSpecifiedPackage ( )
getCommandsByIdentifierReturnsAnEmptyArrayIfNoCommandMatches ( )
getShortestIdentifierForCommandAlwaysReturnsShortNameForFlowHelpCommand ( )
getShortestIdentifierForCommandReturnsCompleteCommandIdentifierForCommandsWithTheSameControllerAndCommandName ( )
getShortestIdentifierForCommandReturnsShortestUnambiguousCommandIdentifiers ( )
getShortestIdentifierForCommandReturnsTheCompleteIdentifiersForCustomHelpCommands ( )
setUp ( )

Method Details

getAvailableCommandsReturnsAllAvailableCommands() public méthode

getCommandByIdentifierAllowsThePackageKeyToOnlyContainTheLastPartOfThePackageNamespaceIfCommandsAreUnambiguous() public méthode

getCommandByIdentifierReturnsCommandIfIdentifierIsEqual() public méthode

getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound() public méthode

getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound() public méthode

getCommandByIdentifierThrowsExceptionIfOnlyPackageKeyIsSpecifiedAndContainsMoreThanOneCommand() public méthode

getCommandByIdentifierWorksCaseInsensitive() public méthode

getCommandsByIdentifierReturnsAllCommandsOfTheSpecifiedPackage() public méthode

getCommandsByIdentifierReturnsAnEmptyArrayIfNoCommandMatches() public méthode

getShortestIdentifierForCommandAlwaysReturnsShortNameForFlowHelpCommand() public méthode

getShortestIdentifierForCommandReturnsCompleteCommandIdentifierForCommandsWithTheSameControllerAndCommandName() public méthode

getShortestIdentifierForCommandReturnsShortestUnambiguousCommandIdentifiers() public méthode

getShortestIdentifierForCommandReturnsTheCompleteIdentifiersForCustomHelpCommands() public méthode

setUp() public méthode

public setUp ( )

Property Details

$commandManager protected_oe property

protected CommandManager,Neos\Flow\Cli $commandManager
Résultat Neos\Flow\Cli\CommandManager

$mockBootstrap protected_oe property

protected Bootstrap,Neos\Flow\Core $mockBootstrap
Résultat Neos\Flow\Core\Bootstrap

$mockReflectionService protected_oe property

protected ReflectionService,Neos\Flow\Reflection $mockReflectionService
Résultat Neos\Flow\Reflection\ReflectionService