summaryrefslogtreecommitdiff
blob: af3237def53be67372a143328d50826c503cc47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
diff -ruN kmail-4.4.9.orig/kmail/tests/CMakeLists.txt kmail-4.4.9/kmail/tests/CMakeLists.txt
--- kmail-4.4.9.orig/kmail/tests/CMakeLists.txt	2010-12-22 18:52:24.000000000 +0100
+++ kmail-4.4.9/kmail/tests/CMakeLists.txt	2011-01-25 23:52:38.953021223 +0100
@@ -9,14 +9,14 @@
 add_definitions(-DKMAIL_UNITTESTS=YES)
 
 ########### htmlquotecolorertest ###############
-set(htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
-kde4_add_unit_test(htmlquotecolorertest TESTNAME kmail-quotecolorertest ${htmlquotecolorertest_SRCS})
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
-target_link_libraries(htmlquotecolorertest
-  ${QT_QTTEST_LIBRARY}
-  ${QT_QTCORE_LIBRARY}
-  ${KDE4_KHTML_LIBRARY}
-)
+# set(htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
+# kde4_add_unit_test(htmlquotecolorertest TESTNAME kmail-quotecolorertest ${htmlquotecolorertest_SRCS})
+# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+# target_link_libraries(htmlquotecolorertest
+#   ${QT_QTTEST_LIBRARY}
+#   ${QT_QTCORE_LIBRARY}
+#   ${KDE4_KHTML_LIBRARY}
+# )
 
 ########### utiltests ###############
 
diff -ruN kmail-4.4.9.orig/messagecore/tests/CMakeLists.txt kmail-4.4.9/messagecore/tests/CMakeLists.txt
--- kmail-4.4.9.orig/messagecore/tests/CMakeLists.txt	2010-12-22 18:52:15.000000000 +0100
+++ kmail-4.4.9/messagecore/tests/CMakeLists.txt	2011-01-25 23:50:54.421021223 +0100
@@ -13,6 +13,6 @@
 # Attachment tests.
 add_messagecore_test( attachmentcompressjobtest.cpp )
 add_messagecore_test( attachmentfrommimecontentjobtest.cpp )
-add_messagecore_test( attachmentfromurljobtest.cpp )
+# add_messagecore_test( attachmentfromurljobtest.cpp )
 add_messagecore_test( attachmentparttest.cpp )
-add_messagecore_test( attachmentpropertiesdialogtest.cpp )
+# add_messagecore_test( attachmentpropertiesdialogtest.cpp )
diff -ruN kmail-4.4.9.orig/messageviewer/tests/CMakeLists.txt kmail-4.4.9/messageviewer/tests/CMakeLists.txt
--- kmail-4.4.9.orig/messageviewer/tests/CMakeLists.txt	2010-12-22 18:52:47.000000000 +0100
+++ kmail-4.4.9/messageviewer/tests/CMakeLists.txt	2011-01-25 23:51:58.374021223 +0100
@@ -6,23 +6,23 @@
 )
 
 ########### htmlquotecolorertest ###############
-set(messageviewer_htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
-kde4_add_unit_test(messageviewer_htmlquotecolorertest TESTNAME messageviewer-quotecolorertest ${messageviewer_htmlquotecolorertest_SRCS})
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
-target_link_libraries(messageviewer_htmlquotecolorertest
-  ${QT_QTTEST_LIBRARY}
-  ${QT_QTCORE_LIBRARY}
-  ${KDE4_KHTML_LIBRARY}
-  messageviewer
-)
+# set(messageviewer_htmlquotecolorertest_SRCS htmlquotecolorertest.cpp ../htmlquotecolorer.cpp)
+# kde4_add_unit_test(messageviewer_htmlquotecolorertest TESTNAME messageviewer-quotecolorertest ${messageviewer_htmlquotecolorertest_SRCS})
+# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+# target_link_libraries(messageviewer_htmlquotecolorertest
+#   ${QT_QTTEST_LIBRARY}
+#   ${QT_QTCORE_LIBRARY}
+#   ${KDE4_KHTML_LIBRARY}
+#   messageviewer
+# )
 
 ########### stringutiltest ###############
-set(stringutiltest_SRCS stringutiltest.cpp)
-kde4_add_unit_test(stringutiltest TESTNAME messageviewer-stringutiltest ${stringutiltest_SRCS})
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
-target_link_libraries(stringutiltest
-  ${QT_QTTEST_LIBRARY}
-  ${QT_QTCORE_LIBRARY}
-  ${KDE4_KHTML_LIBRARY}
-  messageviewer
-)
+# set(stringutiltest_SRCS stringutiltest.cpp)
+# kde4_add_unit_test(stringutiltest TESTNAME messageviewer-stringutiltest ${stringutiltest_SRCS})
+# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+# target_link_libraries(stringutiltest
+#   ${QT_QTTEST_LIBRARY}
+#   ${QT_QTCORE_LIBRARY}
+#   ${KDE4_KHTML_LIBRARY}
+#   messageviewer
+# )