mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
bdfe87be16
They are now also supported on Linux because we are using SkiaSharp instead of System.Drawing.Common
23 lines
786 B
C#
23 lines
786 B
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace FFMpegCore.Test.Utilities;
|
|
|
|
public class WindowsOnlyDataTestMethod : DataTestMethodAttribute
|
|
{
|
|
public override TestResult[] Execute(ITestMethod testMethod)
|
|
{
|
|
// 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);
|
|
}
|
|
}
|