From 3ab194eb596995a101756fcb92f4294e2dcb3ba1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 2 Nov 2009 22:14:53 +0100 Subject: Finally... unit tests!! First test is trivial, but it's a test (tabbar test). And now we have it! --- src/tests/CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/tests/CMakeLists.txt (limited to 'src/tests/CMakeLists.txt') diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt new file mode 100644 index 00000000..9963acd4 --- /dev/null +++ b/src/tests/CMakeLists.txt @@ -0,0 +1,22 @@ +### ---------- General Settings ------- + +SET( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) + +INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_BINARY_DIR}/.. + ${KDE4_INCLUDES} + ${QT4_INCLUDES} +) + +##### -------------tabbar test + +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} +) + +# -------------- -- cgit v1.2.1