Add SupportedOSPlatform attribute on tests using SDC

This commit is contained in:
Malte Rosenbjerg 2023-01-29 22:49:45 +01:00
parent 8e9b7df4de
commit 5b0c74e5c0
2 changed files with 4 additions and 1 deletions

View file

@ -8,8 +8,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Runtime.Versioning;
using System.Threading.Tasks; using System.Threading.Tasks;
using FFMpegCore.Extensions.System.Drawing.Common; using FFMpegCore.Extensions.System.Drawing.Common;
using FFMpegCore.Test.Utilities;
namespace FFMpegCore.Test namespace FFMpegCore.Test
{ {
@ -66,6 +68,7 @@ public void Audio_Add()
} }
[TestMethod] [TestMethod]
[SupportedOSPlatform("windows")]
public void Image_AddAudio() public void Image_AddAudio()
{ {
using var outputFile = new TemporaryFile("out.mp4"); using var outputFile = new TemporaryFile("out.mp4");

View file

@ -6,7 +6,7 @@
using FFMpegCore.Extensions.System.Drawing.Common; using FFMpegCore.Extensions.System.Drawing.Common;
using FFMpegCore.Pipes; using FFMpegCore.Pipes;
namespace FFMpegCore.Test namespace FFMpegCore.Test.Utilities
{ {
static class BitmapSource static class BitmapSource
{ {