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

Activate autotests

parent b7eb411c
...@@ -276,6 +276,7 @@ add_subdirectory(baloodebug/autotests) ...@@ -276,6 +276,7 @@ add_subdirectory(baloodebug/autotests)
add_subdirectory(baloodebug/tests) add_subdirectory(baloodebug/tests)
add_subdirectory(shorturl/autotests) add_subdirectory(shorturl/autotests)
add_subdirectory(acl/autotests) add_subdirectory(acl/autotests)
add_subdirectory(temporaryfile/autotests)
if( LibKGAPI2_FOUND ) if( LibKGAPI2_FOUND )
add_subdirectory(storageservice/gdrive/tests/) add_subdirectory(storageservice/gdrive/tests/)
......
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories(
${CMAKE_SOURCE_DIR}/pimcommon
)
set( pimcommon_attachmentdirs_SRCS attachmenttemporaryfilesdirstest.cpp ) set( pimcommon_attachmentdirs_SRCS attachmenttemporaryfilesdirstest.cpp )
kde4_add_unit_test( pimcommon_attachmentdirstest ${pimcommon_attachmentdirs_SRCS}) kde4_add_unit_test( pimcommon_attachmentdirstest ${pimcommon_attachmentdirs_SRCS})
target_link_libraries( pimcommon_attachmentdirstest ${QT_QTTEST_LIBRARY} ${KDE4_KDEUI_LIBS} pimcommon) target_link_libraries( pimcommon_attachmentdirstest ${QT_QTTEST_LIBRARY} ${KDE4_KDEUI_LIBS} pimcommon)
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "../attachmenttemporaryfilesdirs.h" #include "../attachmenttemporaryfilesdirs.h"
#include <qtest_kde.h> #include <qtest_kde.h>
using PimCommon; using namespace PimCommon;
AttachmentTemporaryFilesDirsTest::AttachmentTemporaryFilesDirsTest(QObject *parent) AttachmentTemporaryFilesDirsTest::AttachmentTemporaryFilesDirsTest(QObject *parent)
: QObject(parent) : QObject(parent)
......
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