diff --git a/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs b/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs index 84a779a..e39921a 100644 --- a/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs +++ b/FFMpegCore.Test/Utilities/WindowsOnlyDataTestMethod.cs @@ -1,5 +1,4 @@ -using System.Runtime.InteropServices; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FFMpegCore.Test.Utilities; @@ -7,16 +6,17 @@ public class WindowsOnlyDataTestMethod : DataTestMethodAttribute { public override TestResult[] Execute(ITestMethod testMethod) { - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - var message = $"Test not executed on other platforms than Windows"; - { - return new[] - { - new TestResult { Outcome = UnitTestOutcome.Inconclusive, TestFailureException = new AssertInconclusiveException(message) } - }; - } - } + // Commented out because this edition of FFMpegCore fully supports Linux + //if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + //{ + // var message = $"Test not executed on other platforms than Windows"; + // { + // return new[] + // { + // new TestResult { Outcome = UnitTestOutcome.Inconclusive, TestFailureException = new AssertInconclusiveException(message) } + // }; + // } + //} return base.Execute(testMethod); } diff --git a/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs b/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs index 7e817bf..5143194 100644 --- a/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs +++ b/FFMpegCore.Test/Utilities/WindowsOnlyTestMethod.cs @@ -1,5 +1,4 @@ -using System.Runtime.InteropServices; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FFMpegCore.Test.Utilities; @@ -7,16 +6,17 @@ public class WindowsOnlyTestMethod : TestMethodAttribute { public override TestResult[] Execute(ITestMethod testMethod) { - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - var message = $"Test not executed on other platforms than Windows"; - { - return new[] - { - new TestResult { Outcome = UnitTestOutcome.Inconclusive, TestFailureException = new AssertInconclusiveException(message) } - }; - } - } + // Commented out because this edition of FFMpegCore fully supports Linux + //if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + //{ + // var message = $"Test not executed on other platforms than Windows"; + // { + // return new[] + // { + // new TestResult { Outcome = UnitTestOutcome.Inconclusive, TestFailureException = new AssertInconclusiveException(message) } + // }; + // } + //} return base.Execute(testMethod); }