This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch feature/509-remove-avpr in repository https://gitbox.apache.org/repos/asf/celix.git
commit d628c4a24631b61671d294cb1334005af873ff6a Author: PengZheng <[email protected]> AuthorDate: Tue Dec 12 18:38:36 2023 +0800 Revert "Remove noisy debugging messaging." This reverts commit ac1fe6cf1abaf2f22e820db1ff3178dfa87c4ef9. --- libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc index fa250fe8..97057861 100644 --- a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc +++ b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc @@ -195,6 +195,8 @@ TEST_F(PropertiesErrorInjectionTestSuite, LoadFailureTest) { // Then the celix_properties_load call fails auto props = celix_properties_load("file"); ASSERT_EQ(nullptr, props); + // And a celix err msg is set + ASSERT_EQ(1, celix_err_getErrorCount()); celix_err_resetErrors(); // When a malloc error injection is set for celix_properties_loadWithStream (during properties create)
