@@ -36,12 +36,12 @@ public abstract class TestEnvironmentFactory
36
36
public const string SubscriptionIdKey = ConnectionStringFields . SubscriptionId ;
37
37
38
38
/// <summary>
39
- /// The key inside the connection string for the subscription identifier
39
+ /// The key inside the connection string for the AAD user ID
40
40
/// </summary>
41
41
public const string AADUserIdKey = ConnectionStringFields . UserId ;
42
42
43
43
/// <summary>
44
- /// The key inside the connection string for the subscription identifier
44
+ /// The key inside the connection string for the AAD password
45
45
/// </summary>
46
46
public const string AADPasswordKey = ConnectionStringFields . Password ;
47
47
@@ -51,7 +51,7 @@ public abstract class TestEnvironmentFactory
51
51
public const string BaseUriKey = ConnectionStringFields . BaseUri ;
52
52
53
53
/// <summary>
54
- /// The key inside the connection string for the AAD client ID"
54
+ /// The key inside the connection string for the AAD client ID
55
55
/// </summary>
56
56
public const string ClientID = ConnectionStringFields . AADClientId ;
57
57
public const string ClientIdDefault = "1950a258-227b-4e31-a9cf-717495945fc2" ;
@@ -70,7 +70,7 @@ public abstract class TestEnvironmentFactory
70
70
public const string StorageAccountKey = "AZURE_STORAGE_ACCOUNT" ;
71
71
72
72
/// <summary>
73
- /// A raw token to be used for authentication with the give subscription ID
73
+ /// A raw token to be used for authentication with the given subscription ID
74
74
/// </summary>
75
75
public const string RawToken = ConnectionStringFields . RawToken ;
76
76
@@ -84,9 +84,9 @@ public virtual TestEnvironment GetTestEnvironment()
84
84
protected abstract TestEnvironment GetTestEnvironmentFromContext ( ) ;
85
85
86
86
/// <summary>
87
- /// Return test credentials and URI using AAD auth for an OrgID account. Use this emthod with causion, it may take a dependency on ADAL
87
+ /// Return test credentials and URI using AAD auth for an OrgID account. Use this method with caution - it may take a dependency on ADAL.
88
88
/// </summary>
89
- /// <returns>The test credentials, or null if nthe appropriate environment variablke is not set.</returns>
89
+ /// <returns>The test credentials, or null if the appropriate environment variable is not set.</returns>
90
90
protected virtual TestEnvironment GetOrgIdTestEnvironment ( string orgIdVariable )
91
91
{
92
92
TestEnvironment orgIdEnvironment = null ;
@@ -181,7 +181,7 @@ private static string GetOrgId(string orgIdVariable)
181
181
/// <returns>A dictionary of keys and values from the connection string</returns>
182
182
public static IDictionary < string , string > ParseConnectionString ( string connectionString )
183
183
{
184
- // hacky connection string parser. We should replace with more robust connection strign parsing
184
+ // hacky connection string parser. We should replace with more robust connection string parsing
185
185
IDictionary < string , string > settings = new Dictionary < string , string > ( ) ;
186
186
string [ ] pairs = connectionString . Split ( new char [ ] { ';' } ) ;
187
187
foreach ( string pair in pairs )
0 commit comments