public class CredentialProfilesTest extends Object
| Constructor and Description | 
|---|
| CredentialProfilesTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | loadProfileFromNonExistentFile() | 
| void | prefixProfilesAreLowerPriorityThanNonPrefixProfiles() | 
| void | prefixProfilesCanBeLoaded() | 
| 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
URISyntaxExceptionpublic void testProfileNameWithJustSpaces()
public void testProfileWithNoProfileNameGiven()
public void testProfileWithProfileNameNotHavingOpeningOrClosingBraces()
public void testProfileWithAccessKeyNotSpecified()
                                          throws URISyntaxException
URISyntaxExceptionpublic void testProfileWithEmptyAccessKey()
                                   throws URISyntaxException
URISyntaxExceptionpublic void testProfileWithSecretAccessKeyNotSpecified()
                                                throws Exception
Exceptionpublic void testProfileWithEmptySecretAccessKey()
                                         throws URISyntaxException
URISyntaxExceptionpublic void testProfileWithMultipleAccessOrSecretKeysUnderSameProfile()
public void testProfileWithOtherConfigurations()
                                        throws URISyntaxException
URISyntaxExceptionpublic void prefixProfilesCanBeLoaded()
public void prefixProfilesAreLowerPriorityThanNonPrefixProfiles()
public void testReadUpdatedProfile()
                            throws URISyntaxException,
                                   IOException
URISyntaxExceptionIOExceptionpublic void testRoleProfileWithNoSourceName()
                                     throws URISyntaxException
URISyntaxExceptionpublic void testRoleProfileWithEmptySourceName()
                                        throws URISyntaxException
URISyntaxExceptionpublic void testRoleProfileMissingSource()
                                  throws URISyntaxException
URISyntaxExceptionpublic void testRoleProfileWithRoleSource()
                                   throws URISyntaxException
URISyntaxExceptionCopyright © 2024. All rights reserved.