From 4e2e76c758b1902f5f6802690c7c1a0b799d4dd8 Mon Sep 17 00:00:00 2001 From: gangatp Date: Tue, 30 Jan 2024 18:27:03 +0530 Subject: [PATCH] adding test case --- Tests/CPP_Bindings/Source/Reader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/CPP_Bindings/Source/Reader.cpp b/Tests/CPP_Bindings/Source/Reader.cpp index fa2c81b89..5043286f5 100644 --- a/Tests/CPP_Bindings/Source/Reader.cpp +++ b/Tests/CPP_Bindings/Source/Reader.cpp @@ -149,4 +149,10 @@ namespace Lib3MF auto reader = model->QueryReader("3mf"); ASSERT_SPECIFIC_THROW(reader->ReadFromFile(sTestFilesPath + "/Reader/" + "GEN-M-ADA-ITEM-TRANSFORM-0.3mf"), ELib3MFException); } + + + TEST_F(Reader, IntegrationTestError) { + auto reader = model->QueryReader("3mf"); + ASSERT_SPECIFIC_THROW(reader->ReadFromFile(sTestFilesPath + "/Reader/" + "N_XXX_0422_01.3mf"), ELib3MFException); + } }