From 200e36aad32dd0db3534a081d4c2f0cc0e5c4739 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 4 Apr 2024 13:07:02 -0700 Subject: [PATCH] Tests/JBIG2: Remove test_jbig2_size It's redundant with test_jbig2_decode nowadays. --- Tests/LibGfx/TestImageDecoder.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Tests/LibGfx/TestImageDecoder.cpp b/Tests/LibGfx/TestImageDecoder.cpp index 3a1a8361bf1..f8f3e288b80 100644 --- a/Tests/LibGfx/TestImageDecoder.cpp +++ b/Tests/LibGfx/TestImageDecoder.cpp @@ -318,14 +318,6 @@ TEST_CASE(test_ilbm_malformed_frame) } } -TEST_CASE(test_jbig2_size) -{ - auto file = TRY_OR_FAIL(Core::MappedFile::map(TEST_INPUT("jbig2/bitmap.jbig2"sv))); - EXPECT(Gfx::JBIG2ImageDecoderPlugin::sniff(file->bytes())); - auto plugin_decoder = TRY_OR_FAIL(Gfx::JBIG2ImageDecoderPlugin::create(file->bytes())); - EXPECT_EQ(plugin_decoder->size(), Gfx::IntSize(399, 400)); -} - TEST_CASE(test_jbig2_black_47x23) { auto file = TRY_OR_FAIL(Core::MappedFile::map(TEST_INPUT("jbig2/black_47x23.jbig2"sv)));