public PlatformFactAttribute(Platforms platforms)
 {
     if (!XunitHelpers.IsSupportedPlatform(platforms))
     {
         Skip = "Test not supported on this platform.";
     }
 }
Beispiel #2
0
 public PlatformTheoryAttribute(params Platform[] platforms)
 {
     if (!XunitHelpers.IsSupportedPlatform(platforms))
     {
         Skip = "Test not supported on this platform.";
     }
 }
Beispiel #3
0
 public SkippablePlatformTheoryAttribute(Platforms platforms)
 {
     Xunit.Skip.IfNot(
         XunitHelpers.IsSupportedPlatform(platforms),
         "Test not supported on this platform."
         );
 }