コード例 #1
0
        public void TestDeploymentSettingsTestWithFullServiceSettings()
        {
            string             label          = "MyLabel";
            string             deploymentName = service.ServiceName;
            ServiceSettings    fullSettings   = ServiceSettingsTestData.Instance.Data[ServiceSettingsState.Sample1];
            DeploymentSettings deploySettings = new DeploymentSettings(fullSettings, packagePath, configPath, label, deploymentName);

            AzureAssert.AreEqualDeploymentSettings(fullSettings, configPath, deploymentName, label, packagePath, "f62b1e05-af8f-4205-8f98-325079adc155", deploySettings);
        }
コード例 #2
0
        public void TestDeploymentSettingsTestWithDefaultServiceSettings()
        {
            string label          = "MyLabel";
            string deploymentName = service.ServiceName;

            settings.Subscription = "TestSubscription2";
            DeploymentSettings deploySettings = new DeploymentSettings(settings, packagePath, configPath, label, deploymentName);

            AzureAssert.AreEqualDeploymentSettings(settings, configPath, deploymentName, label, packagePath, "f62b1e05-af8f-4205-8f98-325079adc155", deploySettings);
        }