@@ -36,7 +36,7 @@ public void IsUnsafeToTrace(string value, bool expected)
3636        [ InlineData ( "test1+test2" ,  "test1" ) ] 
3737        public  void  SubscriptionId ( string  value ,  string  expected ) 
3838        { 
39-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . WebsiteOwnerNameKey ,  value ) ) ; 
39+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . WebsiteOwnerNameKey ,  value ) ) ; 
4040            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
4141
4242            settings . SubscriptionId . Should ( ) . Be ( expected ) ; 
@@ -46,7 +46,7 @@ public void SubscriptionId(string value, string expected)
4646        [ MemberData ( nameof ( StringTestCases ) ) ] 
4747        public  void  ResourceGroup ( string  value ,  string  expected ) 
4848        { 
49-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . ResourceGroupKey ,  value ) ) ; 
49+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . ResourceGroupKey ,  value ) ) ; 
5050            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
5151
5252            settings . ResourceGroup . Should ( ) . Be ( expected ) ; 
@@ -56,7 +56,7 @@ public void ResourceGroup(string value, string expected)
5656        [ MemberData ( nameof ( StringTestCases ) ) ] 
5757        public  void  SiteName ( string  value ,  string  expected ) 
5858        { 
59-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . SiteNameKey ,  value ) ) ; 
59+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . SiteNameKey ,  value ) ) ; 
6060            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
6161
6262            settings . SiteName . Should ( ) . Be ( expected ) ; 
@@ -72,9 +72,9 @@ public void SiteName(string value, string expected)
7272        public  void  ResourceId ( string  subscriptionId ,  string  siteName ,  string  resourceGroup ,  string  expected ) 
7373        { 
7474            var  source  =  CreateConfigurationSource ( 
75-                 ( ConfigurationKeys . AzureAppService . SiteNameKey ,  siteName ) , 
76-                 ( ConfigurationKeys . AzureAppService . ResourceGroupKey ,  resourceGroup ) , 
77-                 ( ConfigurationKeys . AzureAppService . WebsiteOwnerNameKey ,  subscriptionId ) ) ; 
75+                 ( PlatformKeys . AzureAppService . SiteNameKey ,  siteName ) , 
76+                 ( PlatformKeys . AzureAppService . ResourceGroupKey ,  resourceGroup ) , 
77+                 ( PlatformKeys . AzureAppService . WebsiteOwnerNameKey ,  subscriptionId ) ) ; 
7878
7979            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
8080
@@ -85,7 +85,7 @@ public void ResourceId(string subscriptionId, string siteName, string resourceGr
8585        [ MemberData ( nameof ( StringTestCases ) ,  "unknown" ,  Strings . AllowEmpty ) ] 
8686        public  void  InstanceId ( string  value ,  string  expected ) 
8787        { 
88-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . InstanceIdKey ,  value ) ) ; 
88+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . InstanceIdKey ,  value ) ) ; 
8989            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
9090
9191            settings . InstanceId . Should ( ) . Be ( expected ) ; 
@@ -95,7 +95,7 @@ public void InstanceId(string value, string expected)
9595        [ MemberData ( nameof ( StringTestCases ) ,  "unknown" ,  Strings . AllowEmpty ) ] 
9696        public  void  InstanceName ( string  value ,  string  expected ) 
9797        { 
98-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . InstanceNameKey ,  value ) ) ; 
98+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . InstanceNameKey ,  value ) ) ; 
9999            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
100100
101101            settings . InstanceName . Should ( ) . Be ( expected ) ; 
@@ -105,7 +105,7 @@ public void InstanceName(string value, string expected)
105105        [ MemberData ( nameof ( StringTestCases ) ,  "unknown" ,  Strings . AllowEmpty ) ] 
106106        public  void  OperatingSystem ( string  value ,  string  expected ) 
107107        { 
108-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureAppService . OperatingSystemKey ,  value ) ) ; 
108+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureAppService . OperatingSystemKey ,  value ) ) ; 
109109            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
110110
111111            settings . OperatingSystem . Should ( ) . Be ( expected ) ; 
@@ -125,7 +125,7 @@ public void SiteExtensionVersion(string value, string expected)
125125        [ MemberData ( nameof ( StringTestCases ) ) ] 
126126        public  void  FunctionsWorkerRuntime ( string  value ,  string  expected ) 
127127        { 
128-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureFunctions . FunctionsWorkerRuntime ,  value ) ) ; 
128+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureFunctions . FunctionsWorkerRuntime ,  value ) ) ; 
129129            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
130130
131131            settings . FunctionsWorkerRuntime . Should ( ) . Be ( expected ) ; 
@@ -135,7 +135,7 @@ public void FunctionsWorkerRuntime(string value, string expected)
135135        [ MemberData ( nameof ( StringTestCases ) ) ] 
136136        public  void  FunctionsExtensionVersion ( string  value ,  string  expected ) 
137137        { 
138-             var  source  =  CreateConfigurationSource ( ( ConfigurationKeys . AzureFunctions . FunctionsExtensionVersion ,  value ) ) ; 
138+             var  source  =  CreateConfigurationSource ( ( PlatformKeys . AzureFunctions . FunctionsExtensionVersion ,  value ) ) ; 
139139            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
140140
141141            settings . FunctionsExtensionVersion . Should ( ) . Be ( expected ) ; 
@@ -150,8 +150,8 @@ public void FunctionsExtensionVersion(string value, string expected)
150150        public  void  IsFunctionsApp ( string  functionsWorkerRuntime ,  string  functionsExtensionVersion ,  bool  expected ) 
151151        { 
152152            var  source  =  CreateConfigurationSource ( 
153-                 ( ConfigurationKeys . AzureFunctions . FunctionsWorkerRuntime ,  functionsWorkerRuntime ) , 
154-                 ( ConfigurationKeys . AzureFunctions . FunctionsExtensionVersion ,  functionsExtensionVersion ) ) ; 
153+                 ( PlatformKeys . AzureFunctions . FunctionsWorkerRuntime ,  functionsWorkerRuntime ) , 
154+                 ( PlatformKeys . AzureFunctions . FunctionsExtensionVersion ,  functionsExtensionVersion ) ) ; 
155155            var  settings  =  new  ImmutableAzureAppServiceSettings ( source ,  NullConfigurationTelemetry . Instance ) ; 
156156
157157            settings . IsFunctionsApp . Should ( ) . Be ( expected ) ; 
0 commit comments