mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 17:05:06 +00:00
Tests: Move image decoder test PNG to its own folder
This commit is contained in:
parent
c2112cde76
commit
c62dded5cc
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ TEST_CASE(test_gif)
|
||||||
|
|
||||||
TEST_CASE(test_not_ico)
|
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::sniff(file->bytes()));
|
||||||
EXPECT(Gfx::ICOImageDecoderPlugin::create(file->bytes()).is_error());
|
EXPECT(Gfx::ICOImageDecoderPlugin::create(file->bytes()).is_error());
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ TEST_CASE(test_pgm)
|
||||||
|
|
||||||
TEST_CASE(test_png)
|
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()));
|
EXPECT(Gfx::PNGImageDecoderPlugin::sniff(file->bytes()));
|
||||||
auto plugin_decoder = MUST(Gfx::PNGImageDecoderPlugin::create(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