[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kcal
From: Allen Winter <winter () kde ! org>
Date: 2006-09-24 23:20:05
Message-ID: 1159140005.865831.21560.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 588101 by winterz:
New unit test for the Duration class.
M +1 -1 CHECKLIST
M +14 -0 tests/CMakeLists.txt
A tests/testduration.cpp [License: LGPL (v2+)]
A tests/testduration.h [License: LGPL (v2+)]
--- trunk/KDE/kdepimlibs/kcal/CHECKLIST #588100:588101
@@ -17,7 +17,7 @@
customproperties | | | | | |
dndfactory | | | | | |
dummyscheduler | | | | | |
-duration | | | | | |
+duration | | | | D | | Allen
event | D | | | D | | Allen
exceptions | | | | | |
filestorage | | | | | |
--- trunk/KDE/kdepimlibs/kcal/tests/CMakeLists.txt #588100:588101
@@ -229,6 +229,20 @@
########### next target ###############
if(KDE4_BUILD_TESTS)
+set(testduration_SRCS testduration.cpp )
+
+kde4_automoc(${testduration_SRCS})
+
+kde4_add_executable(testduration NOGUI RUN_UNINSTALLED ${testduration_SRCS})
+
+target_link_libraries(testduration ${KDE4_KDECORE_LIBS} kcal ${QT_QTTEST_LIBRARY})
+
+add_test(kcal-testduration ${EXECUTABLE_OUTPUT_PATH}/testduration)
+
+endif(KDE4_BUILD_TESTS)
+
+########### next target ###############
+if(KDE4_BUILD_TESTS)
set(testevent_SRCS testevent.cpp )
kde4_automoc(${testevent_SRCS})
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic