From cbdeea00109fa8b7bd052653938ac106514c1133 Mon Sep 17 00:00:00 2001 From: Skye Deving <76892045+skyedeving@users.noreply.github.com> Date: Thu, 7 Jan 2021 04:29:49 -0600 Subject: Add test resources in and enable tests --- test/missle.png | Bin 0 -> 55423 bytes test/snackoo.png | Bin 0 -> 92034 bytes test/test_apng.cpp | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 test/missle.png create mode 100644 test/snackoo.png (limited to 'test') diff --git a/test/missle.png b/test/missle.png new file mode 100644 index 00000000..6f373b45 Binary files /dev/null and b/test/missle.png differ diff --git a/test/snackoo.png b/test/snackoo.png new file mode 100644 index 00000000..31577a31 Binary files /dev/null and b/test/snackoo.png differ diff --git a/test/test_apng.cpp b/test/test_apng.cpp index 93550b53..20c7e927 100644 --- a/test/test_apng.cpp +++ b/test/test_apng.cpp @@ -19,7 +19,7 @@ TEST_CASE("Support APNG Plugin", "[apng]") { REQUIRE(QImageReader::supportedImageFormats().contains("apng")); } -TEST_CASE("Detect png animation", "[apng][noci]") { +TEST_CASE("Detect png animation", "[apng]") { // Required for QPixmap methods int argc = 1; char bin[] = "test"; @@ -51,7 +51,7 @@ TEST_CASE("Detect png animation", "[apng][noci]") { } SECTION("Detect png frame has no animation") { - reader.setFileName("snackoo-frame.png"); + reader.setFileName("missle.png"); reader.setFormat("apng"); REQUIRE(!reader.supportsAnimation()); reader.setFormat("png"); -- cgit