summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/DBusAddressTranslatorTest.cpp2
-rw-r--r--src/test/DBusCommunicationTest.cpp2
-rw-r--r--src/test/DBusFactoryTest.cpp2
-rw-r--r--src/test/DBusMainLoopIntegrationTest.cpp2
-rw-r--r--src/test/DBusMultipleConnectionTest.cpp2
-rw-r--r--src/test/DBusServicePublisherTest.cpp3
-rw-r--r--src/test/DBusServiceRegistryTest.cpp3
7 files changed, 16 insertions, 0 deletions
diff --git a/src/test/DBusAddressTranslatorTest.cpp b/src/test/DBusAddressTranslatorTest.cpp
index 468644d..bafe79f 100644
--- a/src/test/DBusAddressTranslatorTest.cpp
+++ b/src/test/DBusAddressTranslatorTest.cpp
@@ -13,6 +13,8 @@
#include <CommonAPI/CommonAPI.h>
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/DBus/DBusAddressTranslator.h>
#include <CommonAPI/DBus/DBusUtils.h>
#include <CommonAPI/DBus/DBusConnection.h>
diff --git a/src/test/DBusCommunicationTest.cpp b/src/test/DBusCommunicationTest.cpp
index a2c8072..bc8af66 100644
--- a/src/test/DBusCommunicationTest.cpp
+++ b/src/test/DBusCommunicationTest.cpp
@@ -20,6 +20,8 @@
#include <CommonAPI/CommonAPI.h>
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/DBus/DBusConnection.h>
#include <CommonAPI/DBus/DBusProxy.h>
#include <CommonAPI/DBus/DBusRuntime.h>
diff --git a/src/test/DBusFactoryTest.cpp b/src/test/DBusFactoryTest.cpp
index 0143080..523cce5 100644
--- a/src/test/DBusFactoryTest.cpp
+++ b/src/test/DBusFactoryTest.cpp
@@ -20,6 +20,8 @@
#include <CommonAPI/CommonAPI.h>
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/DBus/DBusConnection.h>
#include <CommonAPI/DBus/DBusProxy.h>
#include <CommonAPI/DBus/DBusRuntime.h>
diff --git a/src/test/DBusMainLoopIntegrationTest.cpp b/src/test/DBusMainLoopIntegrationTest.cpp
index e80913b..baa77ae 100644
--- a/src/test/DBusMainLoopIntegrationTest.cpp
+++ b/src/test/DBusMainLoopIntegrationTest.cpp
@@ -21,6 +21,8 @@
#include <CommonAPI/CommonAPI.h>
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/DBus/DBusConnection.h>
#include <CommonAPI/DBus/DBusProxy.h>
#include <CommonAPI/DBus/DBusRuntime.h>
diff --git a/src/test/DBusMultipleConnectionTest.cpp b/src/test/DBusMultipleConnectionTest.cpp
index 1396bd5..c061d2f 100644
--- a/src/test/DBusMultipleConnectionTest.cpp
+++ b/src/test/DBusMultipleConnectionTest.cpp
@@ -19,6 +19,8 @@
#include <CommonAPI/CommonAPI.h>
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include "commonapi/tests/TestInterfaceProxy.h"
#include "commonapi/tests/TestInterfaceStubDefault.h"
diff --git a/src/test/DBusServicePublisherTest.cpp b/src/test/DBusServicePublisherTest.cpp
index fa67183..0124a43 100644
--- a/src/test/DBusServicePublisherTest.cpp
+++ b/src/test/DBusServicePublisherTest.cpp
@@ -19,6 +19,9 @@
#include <type_traits>
#include <CommonAPI/CommonAPI.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/AttributeExtension.h>
#include <CommonAPI/types.h>
diff --git a/src/test/DBusServiceRegistryTest.cpp b/src/test/DBusServiceRegistryTest.cpp
index af54a7e..a1321d1 100644
--- a/src/test/DBusServiceRegistryTest.cpp
+++ b/src/test/DBusServiceRegistryTest.cpp
@@ -9,6 +9,9 @@
#endif
#include <CommonAPI/CommonAPI.h>
+
+#define COMMONAPI_INTERNAL_COMPILATION
+
#include <CommonAPI/DBus/DBusServiceRegistry.h>
#include <CommonAPI/DBus/DBusConnection.h>
#include <CommonAPI/DBus/DBusUtils.h>