Browse Source

Assert Inconclusive on Junction tests on linux

pull/55/head
JT 1 year ago
parent
commit
f5d04845aa
  1. 10
      StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs

10
StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs

@ -1,4 +1,6 @@
using StabilityMatrix.Core.ReparsePoints;
using System.Runtime.Versioning;
using StabilityMatrix.Core.Helper;
using StabilityMatrix.Core.ReparsePoints;
namespace StabilityMatrix.Tests.ReparsePoints;
@ -13,6 +15,12 @@ public class JunctionTest
[TestInitialize]
public void Initialize()
{
if (!Compat.IsWindows)
{
Assert.Inconclusive("Test cannot be run on anything but Windows currently.");
return;
}
tempFolder = Path.GetTempFileName();
File.Delete(tempFolder);
Directory.CreateDirectory(tempFolder);

Loading…
Cancel
Save