示例#1
0
 public PlatformFactAttribute(Platforms platforms)
 {
     if (!XunitHelpers.IsSupportedPlatform(platforms))
     {
         Skip = "Test not supported on this platform.";
     }
 }
示例#2
0
 public SkippablePlatformTheoryAttribute(Platforms platforms)
 {
     Xunit.Skip.IfNot(
         XunitHelpers.IsSupportedPlatform(platforms),
         "Test not supported on this platform."
         );
 }