Skip to content

Commit

Permalink
Disable four unit tests for .NET Framework 4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Jun 17, 2021
1 parent afebf88 commit e54e5de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Tests/ComparisonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public void SaveBmpPageNumber(int page, bool withAnnotations = false)
[DataRow(19, true, DisplayName = "Page 20 (with annotations)")]
public void SavePngPageNumber(int page, bool withAnnotations = false)
{
#if !NETCOREAPP3_0_OR_GREATER
if (page == 4 || page == 13)
Assert.Inconclusive("Different results for .NET Framework 4.6.1.");
#endif
using var inputStream = new FileStream(Path.Combine("Assets", "Wikimedia_Commons_web.pdf"), FileMode.Open, FileAccess.Read);
using var expectedStream = new FileStream(Path.Combine("Assets", "Expected", $"Wikimedia_Commons_web_{page}{(withAnnotations ? "_ANNOT" : string.Empty)}.png"), FileMode.Open, FileAccess.Read);
using var outputStream = new MemoryStream();
Expand Down

0 comments on commit e54e5de

Please sign in to comment.