PHP Class ImboCliUnitTest\Command\AddPublicKeyTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: imbo/imbo

Public Methods

Method Description
setUp ( ) Set up the command
tearDown ( ) Tear down the command
testContinuesAskingForAclRulesIfUserSaysThereAreMoreRulesToAdd ( )
testPromptsForListOfSpecificResourcesIfOptionIsSelected ( )
testPromtpsForListOfCustomResourcesIfOptionIsSelected ( )
testThrowsOnDuplicatePublicKeyName ( )
testThrowsOnImmutableAdapter ( )
testThrowsWhenAccessControlIsNotValid ( )
testThrowsWhenCallableReturnsInvalidAccessControl ( )
testWillAskForPrivateKeyIfNotSpecified ( )
testWillNotAcceptEmptyCustomResourceSpecification ( )
testWillNotAcceptEmptyUserSpecification ( )

Protected Methods

Method Description
getInputStream ( $input )

Method Details

getInputStream() protected method

protected getInputStream ( $input )

setUp() public method

Set up the command
public setUp ( )

tearDown() public method

Tear down the command
public tearDown ( )

testContinuesAskingForAclRulesIfUserSaysThereAreMoreRulesToAdd() public method

testPromptsForListOfSpecificResourcesIfOptionIsSelected() public method

testPromtpsForListOfCustomResourcesIfOptionIsSelected() public method

testThrowsOnDuplicatePublicKeyName() public method

testThrowsOnImmutableAdapter() public method

testThrowsWhenAccessControlIsNotValid() public method

testThrowsWhenCallableReturnsInvalidAccessControl() public method

testWillAskForPrivateKeyIfNotSpecified() public method

testWillNotAcceptEmptyCustomResourceSpecification() public method

testWillNotAcceptEmptyUserSpecification() public method