From 15b965af3a9c5387af74fad9ccf884ed15394d2c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 18 May 2007 23:36:58 +0000 Subject: David Faure wrote: > Sounds like the kind of method that would benefit greatly from a unit test :) OK, committing my first unit test for KDE. Although very minimal it's at least a start ;-) (currently deactivated as I've some problem in CMakeList.txt) svn path=/trunk/KDE/kdebase/apps/; revision=666162 --- src/tests/CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 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..687d68d9c --- /dev/null +++ b/src/tests/CMakeLists.txt @@ -0,0 +1,19 @@ +if(KDE4_BUILD_TESTS) + + include_directories( ${CMAKE_SOURCE_DIR}/apps/dolphin/src ) + + # Tests don't need to go into toplevel/bin, they are fine in the current dir. + set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) + + ########### renamedialogtest ############### + + kde4_automoc(renamedialogtest.cpp) + + kde4_add_executable(renamedialogtest RUN_UNINSTALLED renamedialogtest.cpp) + + target_link_libraries(renamedialogtest dolphin ${QT_QTTEST_LIBRARY}) + + ############################################ + +endif(KDE4_BUILD_TESTS) + -- cgit v1.3.1