Pārlūkot izejas kodu

Tests/JBIG2: Remove test_jbig2_size

It's redundant with test_jbig2_decode nowadays.
Nico Weber 1 gadu atpakaļ
vecāks
revīzija
200e36aad3
1 mainītis faili ar 0 papildinājumiem un 8 dzēšanām
  1. 0 8
      Tests/LibGfx/TestImageDecoder.cpp

+ 0 - 8
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)));