public class CredentialProfilesTest extends Object
Constructor and Description |
---|
CredentialProfilesTest() |
Modifier and Type | Method and Description |
---|---|
void |
loadProfileFromNonExistentFile() |
void |
testProfileNameWithJustSpaces()
Tests loading profile with a profile name having only spaces.
|
void |
testProfileWithAccessKeyNotSpecified()
Tests loading profile with AWS Access Key not specified for a profile.
|
void |
testProfileWithEmptyAccessKey() |
void |
testProfileWithEmptySecretAccessKey() |
void |
testProfileWithMultipleAccessOrSecretKeysUnderSameProfile()
Tests loading profile with a profile having multiple AWS Access Key ID's.
|
void |
testProfileWithNoProfileNameGiven()
Tests loading profile with a profile name not mentioned.
|
void |
testProfileWithOtherConfigurations()
Tests loading profile with a file that contains other configuration informations like region,
output format etc., The file should be parsed correctly and the profiles must be loaded.
|
void |
testProfileWithProfileNameNotHavingOpeningOrClosingBraces()
Tests loading profile with a profile name not having opening or closing braces.
|
void |
testProfileWithSecretAccessKeyNotSpecified()
Tests loading profile with AWS Secret Access Key not specified for a profile.
|
void |
testReadUpdatedProfile()
Test verifying we pick up a change to a file.
|
void |
testRoleProfileMissingSource()
Tests loading a profile that assumes a role, but the source profile does not exist.
|
void |
testRoleProfileWithEmptySourceName()
Tests loading a profile that assumes a role, but the source profile does not exist.
|
void |
testRoleProfileWithNoSourceName()
Tests loading a profile that assumes a role, but the source profile does not exist.
|
void |
testRoleProfileWithRoleSource()
Tests loading a profile that assumes a role, but the source profile does not exist.
|
void |
testTwoProfileWithSameName()
Tests two profiles having same name.
|
public void loadProfileFromNonExistentFile()
public void testTwoProfileWithSameName() throws URISyntaxException
URISyntaxException
public void testProfileNameWithJustSpaces()
public void testProfileWithNoProfileNameGiven()
public void testProfileWithProfileNameNotHavingOpeningOrClosingBraces()
public void testProfileWithAccessKeyNotSpecified() throws URISyntaxException
URISyntaxException
public void testProfileWithEmptyAccessKey() throws URISyntaxException
URISyntaxException
public void testProfileWithSecretAccessKeyNotSpecified() throws Exception
Exception
public void testProfileWithEmptySecretAccessKey() throws URISyntaxException
URISyntaxException
public void testProfileWithMultipleAccessOrSecretKeysUnderSameProfile()
public void testProfileWithOtherConfigurations() throws URISyntaxException
URISyntaxException
public void testReadUpdatedProfile() throws URISyntaxException, IOException
URISyntaxException
IOException
public void testRoleProfileWithNoSourceName() throws URISyntaxException
URISyntaxException
public void testRoleProfileWithEmptySourceName() throws URISyntaxException
URISyntaxException
public void testRoleProfileMissingSource() throws URISyntaxException
URISyntaxException
public void testRoleProfileWithRoleSource() throws URISyntaxException
URISyntaxException
Copyright © 2017. All rights reserved.