Browse Source

Use [ConditionalFact] instead of [PlatformSpecific]

af/UniformUnmanagedMemoryPoolMemoryAllocator-02-MemoryGuards
Anton Firszov 4 years ago
parent
commit
14eef74a34
  1. 5
      tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs

5
tests/ImageSharp.Tests/Memory/Allocators/UniformUnmanagedPoolMemoryAllocatorTests.cs

@ -163,8 +163,9 @@ namespace SixLabors.ImageSharp.Tests.Memory.Allocators
}
}
[Fact]
[PlatformSpecific(~TestPlatforms.OSX)] // TODO: Investigate OSX failure
public static bool IsNotOsx = !TestEnvironment.IsOSX;
[ConditionalFact(nameof(IsNotOsx))] // TODO: Investigate OSX failure
public void MemoryAllocator_Create_LimitPoolSize()
{
RemoteExecutor.Invoke(RunTest).Dispose();

Loading…
Cancel
Save