summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r--src/tests/CMakeLists.txt22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 9963acd4..5df23e24 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -1,4 +1,4 @@
-### ---------- General Settings -------
+##### ---------- General Settings ----------
SET( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
@@ -7,16 +7,26 @@ INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}/..
${QT4_INCLUDES}
)
-##### -------------tabbar test
+##### ------------- tabbar test
+
+kde4_add_unit_test( tabbar_test tabbar_test.cpp )
-kde4_add_unit_test( tabbar_test TEST tabbar_test.cpp )
-
target_link_libraries( tabbar_test
kdeinit_rekonq
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
- ${QT_QTCORE_LIBRARY}
${QT_QTTEST_LIBRARY}
)
-# --------------
+##### ------------- mainview test
+
+kde4_add_unit_test( mainview_test mainview_test.cpp )
+
+target_link_libraries( mainview_test
+ kdeinit_rekonq
+ ${KDE4_KDECORE_LIBS}
+ ${KDE4_KDEUI_LIBS}
+ ${QT_QTTEST_LIBRARY}
+)
+
+############################################################