summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceAsync
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2012-10-04 16:25:51 +0200
committerchristian linke <christian.linke@bmw.de>2012-10-04 16:25:51 +0200
commitbeec2584c3bff46ae7aa0bf57389fb6dadf33917 (patch)
tree735070d1d73cd80b2624372d6cf5fc036a16d713 /PluginRoutingInterfaceAsync
parentfee37213648f86ca4fd13ed063182e2ce877aacf (diff)
downloadaudiomanager-beec2584c3bff46ae7aa0bf57389fb6dadf33917.tar.gz
* adding GoogleMock including GoogleTest into the project
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginRoutingInterfaceAsync')
-rw-r--r--PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.h2
-rw-r--r--PluginRoutingInterfaceAsync/test/CMakeLists.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.h b/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.h
index cf6d0a3..37fd5a1 100644
--- a/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.h
+++ b/PluginRoutingInterfaceAsync/test/CAmRoutingReceiverAsync.h
@@ -19,7 +19,7 @@
#define TESTROUTINGINTERFACEASYNC_H_
#include "gtest/gtest.h"
-#include <gmock/gmock.h>
+#include "gmock/gmock.h"
#include "MockIAmRoutingReceive.h"
#include "shared/CAmSocketHandler.h"
diff --git a/PluginRoutingInterfaceAsync/test/CMakeLists.txt b/PluginRoutingInterfaceAsync/test/CMakeLists.txt
index 44938d6..1097d41 100644
--- a/PluginRoutingInterfaceAsync/test/CMakeLists.txt
+++ b/PluginRoutingInterfaceAsync/test/CMakeLists.txt
@@ -25,7 +25,7 @@ set(GOOGLE_TEST_INCLUDE_DIR "googleTest/include")
FIND_PACKAGE(Threads)
FIND_PACKAGE(PkgConfig)
FIND_PACKAGE(DBUS REQUIRED)
-FIND_PACKAGE(GMock REQUIRED)
+
IF(WITH_DLT)
pkg_check_modules(DLT REQUIRED automotive-dlt)
@@ -71,10 +71,10 @@ TARGET_LINK_LIBRARIES(AmRoutingReceiveAsyncTest
${DBUS_LIBRARY}
${SQLITE_LIBRARIES}
gtest
- ${GMOCK_LIBRARY}
+ gmock
)
-ADD_DEPENDENCIES(AmRoutingReceiveAsyncTest gtest)
+ADD_DEPENDENCIES(AmRoutingReceiveAsyncTest gtest gmock)
IF(WITH_DLT)
TARGET_LINK_LIBRARIES(AmRoutingReceiveAsyncTest
@@ -88,7 +88,7 @@ INSTALL(TARGETS AmRoutingReceiveAsyncTest
COMPONENT tests
)
-SET(ADD_DEPEND "audiomanager-bin" "dlt" "libdbus-1-3(>=1.2.16)" "google-mock" "libpthread-stubs0")
+SET(ADD_DEPEND "audiomanager-bin" "dlt" "libdbus-1-3(>=1.2.16)" "libpthread-stubs0")
set_property(GLOBAL APPEND PROPERTY tests_prop "${ADD_DEPEND}")