You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2023/08/23 18:35:41 UTC
[celix] branch feature/type_support_for_properties updated: Remove cpputest include from gtest
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/type_support_for_properties
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/type_support_for_properties by this push:
new 226a546a Remove cpputest include from gtest
226a546a is described below
commit 226a546a2d48173960cc553c0d06b2b1390d45c6
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Wed Aug 23 20:35:35 2023 +0200
Remove cpputest include from gtest
---
libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc | 5 +++--
libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc | 5 -----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
index 89aa2e69..270e4ec3 100644
--- a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
+++ b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
@@ -17,13 +17,14 @@
* under the License.
*
*/
+
+#include <gtest/gtest.h>
+
#include "celix_properties.h"
#include "malloc_ei.h"
#include "celix_hash_map_ei.h"
-#include <gtest/gtest.h>
-
class PropertiesErrorInjectionTestSuite : public ::testing::Test {
public:
PropertiesErrorInjectionTestSuite() = default;
diff --git a/libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc b/libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc
index d59da470..cf570c6c 100644
--- a/libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc
+++ b/libs/utils/gtest/src/VersionErrorInjectionTestSuite.cc
@@ -18,14 +18,9 @@
*/
#include <gtest/gtest.h>
-#include <string.h>
#include "celix_utils_ei.h"
-#include "CppUTest/TestHarness.h"
-#include "CppUTest/TestHarness_c.h"
-#include "CppUTest/CommandLineTestRunner.h"
#include "malloc_ei.h"
-
#include "celix_version.h"