Skip to content

Commit

Permalink
Fix TestInitialize
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Dec 7, 2024
1 parent a096e1c commit 9c72026
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
10 changes: 0 additions & 10 deletions src/Tests/AntiAliasingTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Text;
using static PDFtoImage.Conversion;
Expand All @@ -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")]
Expand Down
10 changes: 0 additions & 10 deletions src/Tests/BackgroundColorTests.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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")]
Expand Down
10 changes: 0 additions & 10 deletions src/Tests/FormFillTests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using static PDFtoImage.Conversion;
using static PDFtoImage.Tests.TestUtils;
Expand All @@ -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")]
Expand Down

0 comments on commit 9c72026

Please sign in to comment.