PHP Класс Neos\Flow\Tests\Unit\Cli\CommandManagerTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$commandManager Neos\Flow\Cli\CommandManager
$mockBootstrap Neos\Flow\Core\Bootstrap
$mockReflectionService Neos\Flow\Reflection\ReflectionService

Открытые методы

Метод Описание
getAvailableCommandsReturnsAllAvailableCommands ( )
getCommandByIdentifierAllowsThePackageKeyToOnlyContainTheLastPartOfThePackageNamespaceIfCommandsAreUnambiguous ( )
getCommandByIdentifierReturnsCommandIfIdentifierIsEqual ( )
getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound ( )
getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound ( )
getCommandByIdentifierThrowsExceptionIfOnlyPackageKeyIsSpecifiedAndContainsMoreThanOneCommand ( )
getCommandByIdentifierWorksCaseInsensitive ( )
getCommandsByIdentifierReturnsAllCommandsOfTheSpecifiedPackage ( )
getCommandsByIdentifierReturnsAnEmptyArrayIfNoCommandMatches ( )
getShortestIdentifierForCommandAlwaysReturnsShortNameForFlowHelpCommand ( )
getShortestIdentifierForCommandReturnsCompleteCommandIdentifierForCommandsWithTheSameControllerAndCommandName ( )
getShortestIdentifierForCommandReturnsShortestUnambiguousCommandIdentifiers ( )
getShortestIdentifierForCommandReturnsTheCompleteIdentifiersForCustomHelpCommands ( )
setUp ( )

Описание методов

getAvailableCommandsReturnsAllAvailableCommands() публичный Метод

getCommandByIdentifierAllowsThePackageKeyToOnlyContainTheLastPartOfThePackageNamespaceIfCommandsAreUnambiguous() публичный Метод

getCommandByIdentifierReturnsCommandIfIdentifierIsEqual() публичный Метод

getCommandByIdentifierThrowsExceptionIfMoreThanOneMatchingCommandWasFound() публичный Метод

getCommandByIdentifierThrowsExceptionIfNoMatchingCommandWasFound() публичный Метод

getCommandByIdentifierThrowsExceptionIfOnlyPackageKeyIsSpecifiedAndContainsMoreThanOneCommand() публичный Метод

getCommandByIdentifierWorksCaseInsensitive() публичный Метод

getCommandsByIdentifierReturnsAllCommandsOfTheSpecifiedPackage() публичный Метод

getCommandsByIdentifierReturnsAnEmptyArrayIfNoCommandMatches() публичный Метод

getShortestIdentifierForCommandAlwaysReturnsShortNameForFlowHelpCommand() публичный Метод

getShortestIdentifierForCommandReturnsCompleteCommandIdentifierForCommandsWithTheSameControllerAndCommandName() публичный Метод

getShortestIdentifierForCommandReturnsShortestUnambiguousCommandIdentifiers() публичный Метод

getShortestIdentifierForCommandReturnsTheCompleteIdentifiersForCustomHelpCommands() публичный Метод

setUp() публичный Метод

public setUp ( )

Описание свойств

$commandManager защищенное свойство

protected CommandManager,Neos\Flow\Cli $commandManager
Результат Neos\Flow\Cli\CommandManager

$mockBootstrap защищенное свойство

protected Bootstrap,Neos\Flow\Core $mockBootstrap
Результат Neos\Flow\Core\Bootstrap

$mockReflectionService защищенное свойство

protected ReflectionService,Neos\Flow\Reflection $mockReflectionService
Результат Neos\Flow\Reflection\ReflectionService