protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths        = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
     environments       = new Dictionary <string, WindowsAzureEnvironment>(
         WindowsAzureEnvironment.PublicEnvironments,
         StringComparer.InvariantCultureIgnoreCase);
 }
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
     environments = new Dictionary<string, WindowsAzureEnvironment>(
         WindowsAzureEnvironment.PublicEnvironments,
         StringComparer.InvariantCultureIgnoreCase);
 }
Example #3
0
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths        = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
 protected GlobalSettingsManager(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
     DefaultEnvironment = WindowsAzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud];
 }
Example #5
0
 protected GlobalComponents(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
 }
 protected GlobalComponents(string azurePath, string subscriptionsDataFile)
 {
     GlobalPaths = new GlobalPathInfo(azurePath, subscriptionsDataFile);
 }
Example #7
0
 public static void AreEqualGlobalPathInfo(string azureSdkPath, string publishSettings, GlobalPathInfo actual)
 {
     Assert.AreEqual(publishSettings, actual.PublishSettingsFile);
     Assert.AreEqual(azureSdkPath, actual.AzureDirectory);
 }
Example #8
0
 public static void AreEqualGlobalPathInfo(GlobalPathInfo expected, GlobalPathInfo actual)
 {
     AreEqualGlobalPathInfo(expected.AzureDirectory, expected.PublishSettingsFile, actual);
 }
Example #9
0
 public static void AreEqualGlobalComponents(GlobalPathInfo paths, PublishData publishSettings, GlobalComponents actual)
 {
     AreEqualGlobalPathInfo(paths, actual.GlobalPaths);
 }
 public void GlobalPathInfoTests()
 {
     GlobalPathInfo pathInfo = new GlobalPathInfo(Data.AzureAppDir);
     string azureSdkPath = Data.AzureAppDir;
     AzureAssert.AreEqualGlobalPathInfo(azureSdkPath, Path.Combine(azureSdkPath, Resources.PublishSettingsFileName), pathInfo);
 }
Example #11
0
 public static void AreEqualGlobalSettingsManager(GlobalPathInfo paths, PublishData publishSettings, GlobalSettingsManager actual)
 {
     AreEqualGlobalPathInfo(paths, actual.GlobalPaths);
 }