Commit cceaf4fc authored by Laurent Montel's avatar Laurent Montel
Browse files

show headers in qtc6

parent 31c37dae
Pipeline #215597 passed with stage
in 8 minutes and 42 seconds
......@@ -3,7 +3,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
)
add_executable(schedulertest schedulertest.cpp ../migrationscheduler.cpp ../migrationexecutor.cpp)
add_executable(schedulertest schedulertest.cpp ../migrationscheduler.cpp ../migrationexecutor.cpp ../migrationscheduler.h ../migrationexecutor.h)
target_link_libraries(schedulertest
gidmigration
KF5::AkonadiCore
......
......@@ -13,7 +13,8 @@ include(ECMMarkAsTest)
MACRO(IMAP_RESOURCE_UNIT_TESTS)
FOREACH(_testname ${ARGN})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..)
add_executable( ${_testname} ${_testname}.cpp dummypasswordrequester.cpp dummyresourcestate.cpp imaptestbase.cpp )
add_executable( ${_testname} ${_testname}.cpp dummypasswordrequester.cpp dummyresourcestate.cpp imaptestbase.cpp
dummypasswordrequester.h dummyresourcestate.h imaptestbase.h)
add_test(NAME ${_testname} COMMAND ${_testname} )
ecm_mark_as_test(imap-${_testname})
......
......@@ -4,12 +4,12 @@ add_definitions(-DTEST_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}")
macro(addTest TEST_NAME)
add_executable(${TEST_NAME} ${TEST_NAME}.cpp)
add_executable(${TEST_NAME} ${TEST_NAME}.cpp ${TEST_NAME}.h)
target_link_libraries(${TEST_NAME} Qt${QT_MAJOR_VERSION}::Test kolab_static)
add_test(${TEST_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TEST_NAME})
endmacro()
add_executable(benchmarktest benchmark.cpp)
add_executable(benchmarktest benchmark.cpp benchmark.h)
target_link_libraries(benchmarktest ${QT_QTTEST_LIBRARY} kolab_static)
addTest(formattest)
......
......@@ -6,7 +6,7 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. )
########### next target ###############
set(testmaildir_SRCS testmaildir.cpp )
set(testmaildir_SRCS testmaildir.cpp testmaildir.h)
add_executable( testmaildir ${testmaildir_SRCS} )
......
set( mbox_deleteitemsattributetest_source deleteitemsattributetest.cpp ../deleteditemsattribute.cpp)
set( mbox_deleteitemsattributetest_source deleteitemsattributetest.cpp deleteitemsattributetest.h ../deleteditemsattribute.cpp)
add_executable( deleteitemsattributetest ${mbox_deleteitemsattributetest_source})
add_test(NAME deleteitemsattributetest COMMAND deleteitemsattributetest)
ecm_mark_as_test(deleteitemsattributetest)
......
......@@ -2,6 +2,7 @@ add_definitions(-DTEST_PATH=${CMAKE_CURRENT_SOURCE_DIR})
set( testidxreader_SRCS
testidxreader.cpp
testidxreader.h
)
add_executable( testidxreader ${testidxreader_SRCS} )
add_test(NAME testidxreader COMMAND testidxreader )
......
......@@ -19,6 +19,4 @@ private Q_SLOTS:
void testError();
void testReadHeader();
void testRead();
private:
};
Supports Markdown
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