public void ReadSessionProfile()
 {
     using (var tester = new SharedCredentialsFileTester(SessionProfileText))
     {
         tester.AssertReadProfile("session_profile", SessionCredentials);
     }
 }
 public void ReadBasicProfile()
 {
     using (var tester = new SharedCredentialsFileTester(BasicProfileText))
     {
         tester.AssertReadProfile("basic_profile", BasicCredentials);
     }
 }
Exemple #3
0
 public void ReadSessionProfile()
 {
     using (var tester = new SharedCredentialsFileTester(SessionProfileText))
     {
         tester.AssertReadProfile("session_profile", SessionCredentials);
     }
 }
Exemple #4
0
 public void ReadBasicProfile()
 {
     using (var tester = new SharedCredentialsFileTester(BasicProfileText))
     {
         tester.AssertReadProfile("basic_profile", BasicCredentials);
     }
 }
Exemple #5
0
 public void ReadInvalidNoAccessKeyProfile()
 {
     using (var tester = new SharedCredentialsFileTester(InvalidNoAccessKeyProfileText))
     {
         AssertExtensions.ExpectException(() =>
         {
             tester.AssertReadProfile("invalid_profile", null);
         }, typeof(InvalidDataException), String.Format(ErrorFormat, "invalid_profile"));
     }
 }
 public void ReadInvalidNoAccessKeyProfile()
 {
     using (var tester = new SharedCredentialsFileTester(InvalidNoAccessKeyProfileText))
     {
         AssertExtensions.ExpectException(() =>
         {
             tester.AssertReadProfile("invalid_profile", null);
         }, typeof(InvalidDataException), String.Format(ErrorFormat, "invalid_profile"));
     }
 }