mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Tests: Move image decoder test PNG to its own folder
This commit is contained in:
parent
c2112cde76
commit
c62dded5cc
Notes:
sideshowbarker
2024-07-17 02:56:25 +09:00
Author: https://github.com/tcl3
Commit: c62dded5cc
Pull-request: https://github.com/SerenityOS/serenity/pull/21541
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ TEST_CASE(test_gif)
|
|||
|
||||
TEST_CASE(test_not_ico)
|
||||
{
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("buggie.png"sv)));
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("png/buggie.png"sv)));
|
||||
EXPECT(!Gfx::ICOImageDecoderPlugin::sniff(file->bytes()));
|
||||
EXPECT(Gfx::ICOImageDecoderPlugin::create(file->bytes()).is_error());
|
||||
}
|
||||
|
@ -231,7 +231,7 @@ TEST_CASE(test_pgm)
|
|||
|
||||
TEST_CASE(test_png)
|
||||
{
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("buggie.png"sv)));
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("png/buggie.png"sv)));
|
||||
EXPECT(Gfx::PNGImageDecoderPlugin::sniff(file->bytes()));
|
||||
auto plugin_decoder = MUST(Gfx::PNGImageDecoderPlugin::create(file->bytes()));
|
||||
|
||||
|
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Loading…
Add table
Add a link
Reference in a new issue