From 1c27b1d15461a66595520c8760692ab283f3aa63 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Thu, 21 Oct 2010 07:58:56 +0000 Subject: Add a first unit test for Dolphin, which verifies that the fix for one of the problems related to Dolphin's modifications to QTreeView works as it should. This is only a small start, but I hope that we can cover at least the basic functionality of DolphinView, the three item views and possibly a couple of other classes with a rather stable API soon. svn path=/trunk/KDE/kdebase/apps/; revision=1188049 --- src/tests/CMakeLists.txt | 5 +++++ 1 file changed, 5 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 000000000..8488c42c6 --- /dev/null +++ b/src/tests/CMakeLists.txt @@ -0,0 +1,5 @@ +set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) +include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${KDE4_INCLUDES} ) + +kde4_add_unit_test(dolphintreeviewtest TEST dolphintreeviewtest.cpp) +target_link_libraries(dolphintreeviewtest dolphinprivate ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY}) -- cgit v1.3.1