[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdelibs/frameworks] kdeui/tests: the unittest needs to be ported -> disable for now
From:       David Faure <faure+bluesystems () kde ! org>
Date:       2012-11-30 22:12:39
Message-ID: 20121130221239.8849CA60CE () git ! kde ! org
[Download RAW message or body]

Git commit 792d7d2abe60cb3ba764aa8366016bcab0c95457 by David Faure.
Committed on 30/11/2012 at 20:13.
Pushed by dfaure into branch 'frameworks'.

the unittest needs to be ported -> disable for now

M  +5    -4    kdeui/tests/CMakeLists.txt
M  +1    -0    kdeui/tests/kmanagerselectiontest.cpp

http://commits.kde.org/kdelibs/792d7d2abe60cb3ba764aa8366016bcab0c95457

diff --git a/kdeui/tests/CMakeLists.txt b/kdeui/tests/CMakeLists.txt
index 1eae148..a52b262 100644
--- a/kdeui/tests/CMakeLists.txt
+++ b/kdeui/tests/CMakeLists.txt
@@ -130,10 +130,11 @@ KDEUI_EXECUTABLE_TESTS(
  fixx11h_test2
  kxerrorhandlertest
 )
-KDEUI_UNIT_TESTS(
-  kmanagerselectiontest
-)
-target_link_libraries(kmanagerselectiontest ${X11_X11_LIB})
+# TODO! PORT TO NEW KManagerSelection API!
+#KDEUI_UNIT_TESTS(
+#kmanagerselectiontest
+#)
+#target_link_libraries(kmanagerselectiontest ${X11_X11_LIB})
 target_link_libraries(kxerrorhandlertest ${X11_X11_LIB})
 endif (X11_FOUND)
 =

diff --git a/kdeui/tests/kmanagerselectiontest.cpp b/kdeui/tests/kmanagerse=
lectiontest.cpp
index 45f40c7..48a786f 100644
--- a/kdeui/tests/kmanagerselectiontest.cpp
+++ b/kdeui/tests/kmanagerselectiontest.cpp
@@ -25,6 +25,7 @@
 #include <kapplication.h>
 #include <kmanagerselection.h>
 #include <qx11info_x11.h>
+#include <X11/Xlib.h>
 =

 #define SNAME "_KDE_KMANAGERSELECTIONTEST"
 =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic