From d914c3c400fdaace5033c62048e6015ec2efa895 Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Mon, 7 Nov 2022 19:23:58 +0100 Subject: [PATCH] Fix failing tests --- tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs | 6 +----- .../Metadata/Profiles/Exif/Values/ExifValuesTests.cs | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs b/tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs index 8bc3ceeb45..62ca6da3de 100644 --- a/tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs +++ b/tests/ImageSharp.Tests/Formats/Tiff/BigTiffDecoderTests.cs @@ -27,14 +27,10 @@ public class BigTiffDecoderTests : TiffDecoderBaseTester [WithFile(Indexed8_LZW, PixelTypes.Rgba32)] [WithFile(MinIsBlack, PixelTypes.Rgba32)] [WithFile(MinIsWhite, PixelTypes.Rgba32)] + [WithFile(BigTIFFLong8Tiles, PixelTypes.Rgba32)] public void TiffDecoder_CanDecode(TestImageProvider provider) where TPixel : unmanaged, IPixel => TestTiffDecoder(provider); - [Theory] - [WithFile(BigTIFFLong8Tiles, PixelTypes.Rgba32)] - public void ThrowsNotSupported(TestImageProvider provider) - where TPixel : unmanaged, IPixel => Assert.Throws(() => provider.GetImage(TiffDecoder)); - [Theory] [WithFile(Damaged_MinIsWhite_RLE, PixelTypes.Rgba32)] [WithFile(Damaged_MinIsBlack_RLE, PixelTypes.Rgba32)] diff --git a/tests/ImageSharp.Tests/Metadata/Profiles/Exif/Values/ExifValuesTests.cs b/tests/ImageSharp.Tests/Metadata/Profiles/Exif/Values/ExifValuesTests.cs index 1c53bc9dd1..1adb7bd556 100644 --- a/tests/ImageSharp.Tests/Metadata/Profiles/Exif/Values/ExifValuesTests.cs +++ b/tests/ImageSharp.Tests/Metadata/Profiles/Exif/Values/ExifValuesTests.cs @@ -64,7 +64,6 @@ public class ExifValuesTests { ExifTag.FreeOffsets }, { ExifTag.FreeByteCounts }, { ExifTag.ColorResponseUnit }, - { ExifTag.TileOffsets }, { ExifTag.SMinSampleValue }, { ExifTag.SMaxSampleValue }, { ExifTag.JPEGQTables }, @@ -92,6 +91,7 @@ public class ExifValuesTests { ExifTag.StripOffsets }, { ExifTag.StripByteCounts }, { ExifTag.TileByteCounts }, + { ExifTag.TileOffsets }, { ExifTag.ImageLayer } };