@@ -74,7 +74,7 @@ public static IEnumerable<object[]> MainResources_TestData()
7474 }
7575 }
7676
77- [ Theory ]
77+ [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . HasAssemblyFiles ) ) ]
7878 [ MemberData ( nameof ( MainResources_TestData ) ) ]
7979 public static void mainResources ( string lang , string expected )
8080 {
@@ -131,7 +131,7 @@ public static IEnumerable<object[]> DescribeLib_TestData()
131131 yield return new object [ ] { "ReferencedClassLibNeutralIsSatellite" , "ReferencedClassLibNeutralIsSatellite.Program, ReferencedClassLibNeutralIsSatellite" , "es" , "Neutral (es) language ReferencedClassLibNeutralIsSatellite description 1.0.0" } ;
132132 }
133133
134- [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) ) ]
134+ [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . HasAssemblyFiles ) ) ]
135135 [ MemberData ( nameof ( DescribeLib_TestData ) ) ]
136136 public void describeLib ( string alc , string type , string culture , string expected )
137137 {
@@ -187,7 +187,7 @@ public static IEnumerable<object[]> SatelliteLoadsCorrectly_TestData()
187187 yield return new object [ ] { "ReferencedClassLibNeutralIsSatellite" , "ReferencedClassLibNeutralIsSatellite" , "es" } ;
188188 }
189189
190- [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) ) ]
190+ [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . HasAssemblyFiles ) ) ]
191191 [ MemberData ( nameof ( SatelliteLoadsCorrectly_TestData ) ) ]
192192 public void SatelliteLoadsCorrectly_FromName ( string alc , string assemblyName , string culture )
193193 {
@@ -207,8 +207,8 @@ public void SatelliteLoadsCorrectly_FromName(string alc, string assemblyName, st
207207
208208 Assert . Equal ( culture , satelliteAssembly . GetName ( ) . CultureName ) ;
209209 }
210-
211- [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) ) ]
210+
211+ [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . HasAssemblyFiles ) ) ]
212212 [ MemberData ( nameof ( SatelliteLoadsCorrectly_TestData ) ) ]
213213 public void SatelliteLoadsCorrectly_FromPath ( string alc , string assemblyName , string culture )
214214 {
0 commit comments