Warning, /pim/messagelib/webengineviewer/src/checkphishingurl/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-License-Identifier: CC0-1.0 0002 # SPDX-FileCopyrightText: none 0003 set(testwebengineviewer_webengine_common_SRCS) 0004 ecm_qt_declare_logging_category(testwebengineviewer_webengine_common_SRCS HEADER webengineviewer_debug.h IDENTIFIER WEBENGINEVIEWER_LOG CATEGORY_NAME org.kde.pim.webengineviewer) 0005 add_definitions( -DCHECKPHISHINGURL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) 0006 0007 ecm_add_test(checkphishingurljobtest.cpp checkphishingurljobtest.h ${testwebengineviewer_webengine_common_SRCS} 0008 TEST_NAME checkphishingurljobtest 0009 NAME_PREFIX "webengineview-" 0010 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0011 ) 0012 0013 ecm_add_test(createphishingurldatabasejobtest.cpp createphishingurldatabasejobtest.h ${testwebengineviewer_webengine_common_SRCS} 0014 TEST_NAME createphishingurldatabasejobtest 0015 NAME_PREFIX "webengineview-" 0016 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0017 ) 0018 0019 ecm_add_test(localdatabasemanagertest.cpp localdatabasemanagertest.h ${testwebengineviewer_webengine_common_SRCS} 0020 TEST_NAME localdatabasemanagertest 0021 NAME_PREFIX "webengineview-" 0022 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0023 ) 0024 0025 ecm_add_test(searchfullhashjobtest.cpp searchfullhashjobtest.h ${testwebengineviewer_webengine_common_SRCS} 0026 TEST_NAME searchfullhashjobtest 0027 NAME_PREFIX "webengineview-" 0028 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0029 ) 0030 0031 ecm_add_test(localdatabasefiletest.cpp localdatabasefiletest.h ${testwebengineviewer_webengine_common_SRCS} 0032 TEST_NAME localdatabasefiletest 0033 NAME_PREFIX "webengineview-" 0034 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0035 ) 0036 0037 ecm_add_test(createdatabasefilejobtest.cpp createdatabasefilejobtest.h ${testwebengineviewer_webengine_common_SRCS} 0038 TEST_NAME createdatabasefilejobtest 0039 NAME_PREFIX "webengineview-" 0040 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0041 ) 0042 0043 ecm_add_test(verifydatabaseupdatetest.cpp verifydatabaseupdatetest.h ${testwebengineviewer_webengine_common_SRCS} 0044 TEST_NAME verifydatabaseupdatetest 0045 NAME_PREFIX "webengineview-" 0046 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0047 ) 0048 0049 0050 ecm_add_test(urlhashingtest.cpp urlhashingtest.h ${testwebengineviewer_webengine_common_SRCS} 0051 TEST_NAME urlhashingtest 0052 NAME_PREFIX "webengineview-" 0053 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0054 ) 0055 0056 ecm_add_test(riceencodingdecodertest.cpp riceencodingdecodertest.h ${testwebengineviewer_webengine_common_SRCS} 0057 TEST_NAME riceencodingdecodertest 0058 NAME_PREFIX "webengineview-" 0059 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0060 ) 0061 0062 ecm_add_test(hashcachemanagertest.cpp hashcachemanagertest.h ${testwebengineviewer_webengine_common_SRCS} 0063 TEST_NAME hashcachemanagertest 0064 NAME_PREFIX "webengineview-" 0065 LINK_LIBRARIES Qt::Test KF6::ConfigCore KPim6::WebEngineViewer 0066 ) 0067 0068 ecm_add_test(checkphishingurlutiltest.cpp checkphishingurlutiltest.h ${testwebengineviewer_webengine_common_SRCS} 0069 TEST_NAME checkphishingurlutiltest 0070 NAME_PREFIX "webengineview-" 0071 LINK_LIBRARIES Qt::Test KPim6::WebEngineViewer 0072 ) 0073 0074 ecm_add_test(checkphishingurlcachetest.cpp checkphishingurlcachetest.h ${testwebengineviewer_webengine_common_SRCS} 0075 TEST_NAME checkphishingurlcachetest 0076 NAME_PREFIX "webengineview-" 0077 LINK_LIBRARIES Qt::Test KF6::ConfigCore KPim6::WebEngineViewer 0078 ) 0079 0080 ecm_add_test(backoffmodemanagertest.cpp backoffmodemanagertest.h ${testwebengineviewer_webengine_common_SRCS} 0081 TEST_NAME backoffmodemanagertest 0082 NAME_PREFIX "webengineview-" 0083 LINK_LIBRARIES Qt::Test KF6::ConfigCore KPim6::WebEngineViewer 0084 ) 0085 0086 ecm_add_test(downloadlocaldatabasethreadtest.cpp downloadlocaldatabasethreadtest.h ${testwebengineviewer_webengine_common_SRCS} 0087 TEST_NAME downloadlocaldatabasethreadtest 0088 NAME_PREFIX "webengineview-" 0089 LINK_LIBRARIES Qt::Test Qt::Network KPim6::WebEngineViewer 0090 )