diff --git a/src/Tests/AntiAliasingTests.cs b/src/Tests/AntiAliasingTests.cs index 67512c3..764947b 100644 --- a/src/Tests/AntiAliasingTests.cs +++ b/src/Tests/AntiAliasingTests.cs @@ -1,5 +1,4 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; using System.IO; using System.Text; using static PDFtoImage.Conversion; @@ -10,15 +9,6 @@ namespace PDFtoImage.Tests [TestClass] public class AntiAliasingTests : TestBase { - [TestInitialize] - public void Initialize() - { -#if NET6_0_OR_GREATER - if (!OperatingSystem.IsWindows() && !OperatingSystem.IsLinux() && !OperatingSystem.IsMacOS()) - Assert.Inconclusive("This test must run on Windows, Linux or macOS."); -#endif - } - [TestMethod] [DataRow(null, DisplayName = "Default (None)")] [DataRow(PdfAntiAliasing.None, DisplayName = "None")] diff --git a/src/Tests/BackgroundColorTests.cs b/src/Tests/BackgroundColorTests.cs index 2171350..ab4d29e 100644 --- a/src/Tests/BackgroundColorTests.cs +++ b/src/Tests/BackgroundColorTests.cs @@ -1,6 +1,5 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using SkiaSharp; -using System; using System.IO; using static PDFtoImage.Conversion; using static PDFtoImage.Tests.TestUtils; @@ -10,15 +9,6 @@ namespace PDFtoImage.Tests [TestClass] public class BackgroundColorTests : TestBase { - [TestInitialize] - public void Initialize() - { -#if NET6_0_OR_GREATER - if (!OperatingSystem.IsWindows() && !OperatingSystem.IsLinux() && !OperatingSystem.IsMacOS()) - Assert.Inconclusive("This test must run on Windows, Linux or macOS."); -#endif - } - [TestMethod] [DataRow(null, DisplayName = "Default (White)")] [DataRow(0xFFFFFFFF, DisplayName = "White")] diff --git a/src/Tests/FormFillTests.cs b/src/Tests/FormFillTests.cs index 01b926a..952da8c 100644 --- a/src/Tests/FormFillTests.cs +++ b/src/Tests/FormFillTests.cs @@ -1,5 +1,4 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; using System.IO; using static PDFtoImage.Conversion; using static PDFtoImage.Tests.TestUtils; @@ -9,15 +8,6 @@ namespace PDFtoImage.Tests [TestClass] public class FormFillTests : TestBase { - [TestInitialize] - public void Initialize() - { -#if NET6_0_OR_GREATER - if (!OperatingSystem.IsWindows() && !OperatingSystem.IsLinux() && !OperatingSystem.IsMacOS()) - Assert.Inconclusive("This test must run on Windows, Linux or macOS."); -#endif - } - [TestMethod] [DataRow(null, DisplayName = "Default (no form fill)")] [DataRow(true, DisplayName = "Form fill")]