Пример #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."
         );
 }