PHP 클래스 Neos\Flow\Tests\Unit\Cli\CommandManagerTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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