Commit c869bc27 authored by Laurent Montel's avatar Laurent Montel 😁

Not necessary

parent a9e779b9
......@@ -5,42 +5,9 @@ include_directories(
${CMAKE_BINARY_DIR}/kmail
)
MACRO(KMAIL_ADD_UNITTEST _source )
set(_test ${_source} ${ARGN})
get_filename_component(_name ${_source} NAME_WE)
kde4_add_unit_test(${_name} TESTNAME kmail-${_name} ${_test})
target_link_libraries(
${_name}
${QT_QTTEST_LIBRARY}
${QT_QTCORE_LIBRARY}
${KDE4_KIO_LIBS}
${KDEPIMLIBS_KPIMUTILS_LIBS}
${KDEPIMLIBS_MAILTRANSPORT_LIBS}
${KDEPIMLIBS_AKONADI_LIBS}
${KDEPIMLIBS_AKONADI_KMIME_LIBS}
${KDEPIMLIBS_KCALCORE_LIBS}
${KDEPIMLIBS_AKONADI_CONTACT_LIBS}
${KDEPIMLIBS_AKONADI_KMIME_LIBS}
${KDEPIMLIBS_KMIME_LIBS}
${SOPRANO_LIBRARIES}
${NEPOMUK_QUERY_LIBRARIES}
messagecore
messageviewer
niefast_apps
kmailprivate
)
ENDMACRO(KMAIL_ADD_UNITTEST)
########### dbus test ###############
set(dbustest_SRCS dbustest.cpp)
qt4_add_dbus_interfaces(dbustest_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml)
kde4_add_executable(dbustest TEST ${dbustest_SRCS})
add_dependencies(dbustest kmail_xml)
target_link_libraries(dbustest ${KDE4_KIO_LIBS})
###### TODO port storagelayer tests to QTestLib
#kunittest_storagelayermodule_la_SOURCES = storagelayermodule.cpp messagedicttests.cpp ../kmdict.cpp
#kmail_add_unittest( searchpatterntest.cpp )
/**
* Copyright (C) 2005 Till Adam <adam@kde.org>
*
* This software is under the "if you run these tests and they break you
* have to fix it" license.
*/
#include <kunittest/runner.h>
#include <kunittest/module.h>
#include "messagedicttests.h"
using namespace KUnitTest;
KUNITTEST_MODULE( kunittest_storagelayermodule, "KMail Storage Layer Tests" );
KUNITTEST_MODULE_REGISTER_TESTER( MessageDictTester );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment