From ebb7b9e9ed9bd8b0ea71d100f7afc690abe23f31 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Tue, 5 Nov 2024 19:25:08 +1100 Subject: [PATCH 1/2] tests: update JPEG 2000 and HT tests to Catch2 --- tests/encode_htj2k.cc | 2 +- tests/encode_jpeg2000.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/encode_htj2k.cc b/tests/encode_htj2k.cc index 98c84efd4d..180d126100 100644 --- a/tests/encode_htj2k.cc +++ b/tests/encode_htj2k.cc @@ -24,7 +24,7 @@ SOFTWARE. */ -#include "catch.hpp" +#include "catch2/catch_test_macros.hpp" #include "libheif/heif.h" #include "libheif/api_structs.h" #include "pixelimage.h" diff --git a/tests/encode_jpeg2000.cc b/tests/encode_jpeg2000.cc index 1acf532be5..3e83989c7d 100644 --- a/tests/encode_jpeg2000.cc +++ b/tests/encode_jpeg2000.cc @@ -24,7 +24,7 @@ SOFTWARE. */ -#include "catch.hpp" +#include "catch2/catch_test_macros.hpp" #include "libheif/heif.h" #include "libheif/api_structs.h" #include "pixelimage.h" From 1281ec6360bcfe7a9b21a20a3ee13a5acde3291c Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Tue, 5 Nov 2024 19:34:44 +1100 Subject: [PATCH 2/2] tests: update pixel data types to catch2 --- tests/pixel_data_types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pixel_data_types.cc b/tests/pixel_data_types.cc index 505e46ed29..67b859d7aa 100644 --- a/tests/pixel_data_types.cc +++ b/tests/pixel_data_types.cc @@ -25,7 +25,7 @@ */ #include "pixelimage.h" -#include "catch.hpp" +#include "catch2/catch_test_macros.hpp" TEST_CASE( "uint32_t" ) {