summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeslie Zhai <xiangzhai83@gmail.com>2016-08-16 06:25:02 (GMT)
committerLeslie Zhai <xiangzhai83@gmail.com>2016-08-16 06:25:02 (GMT)
commitd1b7836cbac7240fb4224a126514fbdd61353d99 (patch)
tree86eac572cfcab0f636cd16e95fc66b0edb3eb67c
parentaeaf3341989fedca65b18d1dcd0e5a006a811d61 (diff)
Fix build for testcase.
-rw-r--r--CMakeLists.txt1
-rw-r--r--tests/asynccddblookuptest.h4
-rw-r--r--tests/asynchttplookuptest.h4
-rw-r--r--tests/asynchttpsubmittest.h2
-rw-r--r--tests/asyncmusicbrainztest.h4
-rw-r--r--tests/asyncsmtpsubmittest.h2
6 files changed, 9 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d98582e..62c733c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,6 +51,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(kcmcddb)
add_subdirectory(libkcddb)
+option(BUILD_TESTING "Build test" OFF)
if(BUILD_TESTING)
find_package(Qt5Test REQUIRED)
add_subdirectory(tests)
diff --git a/tests/asynccddblookuptest.h b/tests/asynccddblookuptest.h
index b665e4b..9364b8a 100644
--- a/tests/asynccddblookuptest.h
+++ b/tests/asynccddblookuptest.h
@@ -22,8 +22,8 @@
#include <QEventLoop>
#include <QtCore/QObject>
-#include <KCddb/Client>
-#include <KCddb/Kcddb>
+#include "libkcddb/client.h"
+#include "libkcddb/kcddb.h"
using namespace KCDDB;
diff --git a/tests/asynchttplookuptest.h b/tests/asynchttplookuptest.h
index 9aed71c..a1358f4 100644
--- a/tests/asynchttplookuptest.h
+++ b/tests/asynchttplookuptest.h
@@ -22,8 +22,8 @@
#include <QEventLoop>
#include <QtCore/QObject>
-#include <KCddb/Client>
-#include <KCddb/Kcddb>
+#include "libkcddb/client.h"
+#include "libkcddb/kcddb.h"
using namespace KCDDB;
diff --git a/tests/asynchttpsubmittest.h b/tests/asynchttpsubmittest.h
index b376c8e..118b337 100644
--- a/tests/asynchttpsubmittest.h
+++ b/tests/asynchttpsubmittest.h
@@ -21,7 +21,7 @@
#define TEST_H
#include <QtCore/QObject>
-#include <KCddb/Client>
+#include "libkcddb/client.h"
using namespace KCDDB;
diff --git a/tests/asyncmusicbrainztest.h b/tests/asyncmusicbrainztest.h
index 6b22522..db600dd 100644
--- a/tests/asyncmusicbrainztest.h
+++ b/tests/asyncmusicbrainztest.h
@@ -22,8 +22,8 @@
#include <QEventLoop>
#include <QtCore/QObject>
-#include <KCddb/Client>
-#include <KCddb/Kcddb>
+#include "libkcddb/client.h"
+#include "libkcddb/kcddb.h"
using namespace KCDDB;
diff --git a/tests/asyncsmtpsubmittest.h b/tests/asyncsmtpsubmittest.h
index bcf416a..53eccf4 100644
--- a/tests/asyncsmtpsubmittest.h
+++ b/tests/asyncsmtpsubmittest.h
@@ -21,7 +21,7 @@
#define TEST_H
#include <QtCore/QObject>
-#include <KCddb/Client>
+#include "libkcddb/client.h"
using namespace KCDDB;