summaryrefslogtreecommitdiff
path: root/src/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-03 16:19:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-03 16:19:53 +0100
commite34963f2365d6352b8d1bc0761697cc0df5dd5ff (patch)
tree0888f25651088fb00d4a84c7bf5c64278df9c20e /src/tests/CMakeLists.txt
parentFinally... unit tests!! (diff)
downloadrekonq-e34963f2365d6352b8d1bc0761697cc0df5dd5ff.tar.xz
Trivial MainView Test
and now we have two.. :)
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}
+)
+
+############################################################