diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ffa3ce..07f8545 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ cmake_minimum_required(VERSION 3.27) # This is the current version of this C++ project -project(c2pa-c VERSION 0.24.1) +project(c2pa-c VERSION 0.25.0) # Set the version of the c2pa_rs library used -set(C2PA_VERSION "0.88.0") +set(C2PA_VERSION "0.89.0") set(CMAKE_POLICY_DEFAULT_CMP0135 NEW) set(CMAKE_C_STANDARD 17) diff --git a/tests/reader.test.cpp b/tests/reader.test.cpp index 9ab8a4e..84081a9 100644 --- a/tests/reader.test.cpp +++ b/tests/reader.test.cpp @@ -474,20 +474,6 @@ TEST_F(ReaderTest, TruncatedFileReturnsError) c2pa::C2paException); } -TEST(ReaderErrorHandling, UnsupportedMimeTypeReturnsError) -{ - fs::path current_dir = fs::path(__FILE__).parent_path(); - fs::path test_file = current_dir / "../tests/fixtures/C.jpg"; - ASSERT_TRUE(std::filesystem::exists(test_file)) << "Test file does not exist: " << test_file; - std::ifstream stream(test_file, std::ios::binary); - ASSERT_TRUE(stream); - EXPECT_THROW( - { - c2pa::Reader reader("application/x-unsupported-c2pa-test", stream); - }, - c2pa::C2paException); -} - TEST(ReaderErrorHandling, EmptyStreamBehavesTheSameWithAndWithoutContext) { std::stringstream empty_stream1, empty_stream2;