You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pe...@apache.org on 2023/12/12 10:48:07 UTC
(celix) 02/03: Revert "Remove noisy debugging messaging."
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 <ho...@gmail.com>
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)