Commit 34c40d34 authored by Laurent Montel's avatar Laurent Montel 😁

Fix generate autotest

parent 297f0618
...@@ -7,9 +7,9 @@ macro(_add_test _source) ...@@ -7,9 +7,9 @@ macro(_add_test _source)
get_filename_component(_name ${_source} NAME_WE) get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} ) add_executable( ${_name} ${_test} )
add_test( ${_name} ${_name} ) add_test( ${_name} ${_name} )
ecm_mark_as_test(knotes-${_name}) ecm_mark_as_test(singlefileresource-${_name})
target_link_libraries(${_name} Qt5::Test target_link_libraries(${_name} Qt5::Test
KF5::AkonadiCore KF5::IMAP) KF5::AkonadiCore KF5::IMAP akonadi-singlefileresource)
endmacro() endmacro()
_add_test( collectionannotationattributetest.cpp ) _add_test( collectionannotationattributetest.cpp )
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <QtTest> #include <QtTest>
#include <qtest.h> #include <qtest.h>
#include "../collectionannotationsattribute.cpp" #include "../collectionannotationsattribute.h"
typedef QMap<QByteArray, QByteArray> Annotation; typedef QMap<QByteArray, QByteArray> Annotation;
Q_DECLARE_METATYPE(Annotation) Q_DECLARE_METATYPE(Annotation)
......
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