Warning, /network/ruqola/src/core/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 add_definitions( -DRUQOLA_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
0004 add_definitions( -DRUQOLA_BINARY_DATA_DIR="${CMAKE_CURRENT_BINARY_DIR}/data" )
0005 macro(add_ruqola_test _source)
0006     set(_test ${_source})
0007     get_filename_component(_name ${_source} NAME_WE )
0008     add_executable( ${_name} ${_test} ${ARGN} ${_name}.h)
0009     add_test(NAME ${_name} COMMAND ${_name} )
0010     ecm_mark_as_test(${_name})
0011     target_link_libraries( ${_name} Qt::Test libruqolacore)
0012     set_target_properties(${_name} PROPERTIES
0013         DISABLE_PRECOMPILE_HEADERS ON
0014     )
0015 
0016 endmacro()
0017 
0018 add_ruqola_test(accountschannelsmodeltest.cpp)
0019 add_ruqola_test(rocketchatmessagetest.cpp)
0020 add_ruqola_test(roommodeltest.cpp)
0021 add_ruqola_test(messagesmodeltest.cpp)
0022 add_ruqola_test(typingnotificationtest.cpp)
0023 add_ruqola_test(utilstest.cpp)
0024 add_ruqola_test(usertest.cpp)
0025 add_ruqola_test(messageattachmenttest.cpp)
0026 add_ruqola_test(rocketchataccountsettingstest.cpp)
0027 add_ruqola_test(messagetest.cpp)
0028 add_ruqola_test(messageurltest.cpp)
0029 add_ruqola_test(roomtest.cpp)
0030 add_ruqola_test(ruqolaserverconfigtest.cpp)
0031 add_ruqola_test(statusmodeltest.cpp)
0032 add_ruqola_test(rocketchatcachetest.cpp)
0033 add_ruqola_test(textconvertertest.cpp)
0034 add_ruqola_test(loadrecenthistorymanagertest.cpp)
0035 add_ruqola_test(notificationtest.cpp)
0036 if (NOT TARGET KF6::TextEmoticonsWidgets)
0037    add_ruqola_test(customemojitest.cpp)
0038 endif()
0039 add_ruqola_test(emojimanagertest.cpp)
0040 add_ruqola_test(otrtest.cpp)
0041 add_ruqola_test(otrmanagertest.cpp)
0042 add_ruqola_test(rocketchataccounttest.cpp)
0043 add_ruqola_test(usersmodeltest.cpp)
0044 add_ruqola_test(usersforroommodeltest.cpp)
0045 add_ruqola_test(filetest.cpp)
0046 add_ruqola_test(filesforroommodeltest.cpp)
0047 add_ruqola_test(filesforroomfilterproxymodeltest.cpp)
0048 add_ruqola_test(usersforroomfilterproxymodeltest.cpp)
0049 add_ruqola_test(usercompletermodeltest.cpp)
0050 add_ruqola_test(roomfilterproxymodeltest.cpp)
0051 add_ruqola_test(roomlistheadingsproxymodeltest.cpp)
0052 add_ruqola_test(usercompleterfilterproxymodeltest.cpp)
0053 add_ruqola_test(inputcompletermodeltest.cpp)
0054 add_ruqola_test(inputtextmanagertest.cpp)
0055 add_ruqola_test(authenticationinfotest.cpp)
0056 add_ruqola_test(commonmessagesmodeltest.cpp)
0057 add_ruqola_test(commonmessagefilterproxymodeltest.cpp)
0058 add_ruqola_test(accountmanagertest.cpp)
0059 add_ruqola_test(rocketchataccountmodeltest.cpp)
0060 add_ruqola_test(ruqolatest.cpp)
0061 add_ruqola_test(managerdatapathstest.cpp)
0062 add_ruqola_test(rocketchataccountfilterproxymodeltest.cpp)
0063 add_ruqola_test(notificationoptionstest.cpp)
0064 add_ruqola_test(reactionstest.cpp)
0065 add_ruqola_test(reactiontest.cpp)
0066 add_ruqola_test(receivetypingnotificationmanagertest.cpp)
0067 add_ruqola_test(serverconfiginfotest.cpp)
0068 add_ruqola_test(notificationpreferencemodeltest.cpp)
0069 add_ruqola_test(notificationpreferencestest.cpp)
0070 add_ruqola_test(roletest.cpp)
0071 add_ruqola_test(rolestest.cpp)
0072 add_ruqola_test(messagestarredtest.cpp)
0073 add_ruqola_test(messagepinnedtest.cpp)
0074 add_ruqola_test(notificationdesktopdurationpreferencemodeltest.cpp)
0075 add_ruqola_test(notificationdesktopsoundpreferencemodeltest.cpp)
0076 add_ruqola_test(discussionsmodeltest.cpp)
0077 add_ruqola_test(discussionsfilterproxymodeltest.cpp)
0078 add_ruqola_test(discussiontest.cpp)
0079 add_ruqola_test(discussionstest.cpp)
0080 add_ruqola_test(fileattachmentstest.cpp)
0081 add_ruqola_test(threadmessagemodeltest.cpp)
0082 add_ruqola_test(convertertextabstractjobtest.cpp)
0083 add_ruqola_test(listmessagesmodeltest.cpp)
0084 add_ruqola_test(listmessagesfilterproxymodeltest.cpp)
0085 add_ruqola_test(autotranslatelanguagesmodeltest.cpp)
0086 add_ruqola_test(autotranslatelanguagetest.cpp)
0087 add_ruqola_test(autotranslatelanguagestest.cpp)
0088 add_ruqola_test(messagetranslationtest.cpp)
0089 add_ruqola_test(accountroomsettingstest.cpp)
0090 add_ruqola_test(messagecachetest.cpp)
0091 add_ruqola_test(commandtest.cpp)
0092 add_ruqola_test(commandstest.cpp)
0093 add_ruqola_test(lrucachetest.cpp)
0094 add_ruqola_test(notifierjobtest.cpp)
0095 add_ruqola_test(ddpauthenticationmanagertest.cpp)
0096 add_ruqola_test(restauthenticationmanagertest.cpp)
0097 add_ruqola_test(downloadappslanguagesjobtest.cpp)
0098 add_ruqola_test(downloadappslanguagesparsertest.cpp)
0099 add_ruqola_test(downloadappslanguagesinfotest.cpp)
0100 add_ruqola_test(downloadappslanguagesmanagertest.cpp)
0101 add_ruqola_test(ownusertest.cpp)
0102 add_ruqola_test(servicepasswordtest.cpp)
0103 add_ruqola_test(messageattachmentfieldtest.cpp)
0104 add_ruqola_test(roominfotest.cpp)
0105 add_ruqola_test(downloadavartarurlmanagertest.cpp)
0106 add_ruqola_test(adminroomsmodeltest.cpp)
0107 add_ruqola_test(channelcounterinfotest.cpp)
0108 add_ruqola_test(customuserstatusestest.cpp)
0109 add_ruqola_test(customuserstatustest.cpp)
0110 add_ruqola_test(ownuserpreferencestest.cpp)
0111 add_ruqola_test(permissiontest.cpp)
0112 add_ruqola_test(permissionmanagertest.cpp)
0113 add_ruqola_test(serverinfotest.cpp)
0114 add_ruqola_test(adminusersmodeltest.cpp)
0115 add_ruqola_test(systemmessagesmodeltest.cpp)
0116 add_ruqola_test(retentioninfotest.cpp)
0117 add_ruqola_test(statusmodelfilterproxymodeltest.cpp)
0118 add_ruqola_test(teaminfotest.cpp)
0119 add_ruqola_test(teamroomtest.cpp)
0120 add_ruqola_test(teamroomcompletertest.cpp)
0121 add_ruqola_test(inviteinfotest.cpp)
0122 add_ruqola_test(teamcompletertest.cpp)
0123 add_ruqola_test(roleinfotest.cpp)
0124 add_ruqola_test(customsoundinfotest.cpp)
0125 add_ruqola_test(permissionstest.cpp)
0126 add_ruqola_test(rolesmodeltest.cpp)
0127 add_ruqola_test(otrnotificationjobtest.cpp)
0128 add_ruqola_test(customsoundsmanagertest.cpp)
0129 add_ruqola_test(rolesmanagertest.cpp)
0130 add_ruqola_test(awaymanagertest.cpp)
0131 add_ruqola_test(parsemessageurlutilstest.cpp)
0132 add_ruqola_test(oauthinfotest.cpp)
0133 add_ruqola_test(notificationinfotest.cpp)
0134 add_ruqola_test(notificationhistorymanagertest.cpp)
0135 add_ruqola_test(bannerinfotest.cpp)
0136 add_ruqola_test(bannerinfostest.cpp)
0137 add_ruqola_test(deviceinfotest.cpp)
0138 add_ruqola_test(deviceinfostest.cpp)
0139 add_ruqola_test(licensesmanagertest.cpp)
0140 add_ruqola_test(personalaccesstokeninfotest.cpp)
0141 add_ruqola_test(personalaccesstokeninfostest.cpp)
0142 add_ruqola_test(blocktest.cpp)
0143 add_ruqola_test(videoconferencenotificationjobtest.cpp)
0144 add_ruqola_test(videoconferencetest.cpp)
0145 add_ruqola_test(videoconferenceinfotest.cpp)
0146 add_ruqola_test(commandsmodeltest.cpp)
0147 add_ruqola_test(servererrorinfotest.cpp)
0148 
0149 if(HAVE_TEXT_TRANSLATOR)
0150     add_ruqola_test(translatetextjobtest.cpp)
0151 endif()
0152 
0153 add_ruqola_test(updatevideoconferencemessagejobtest.cpp)
0154 add_ruqola_test(videoconferencemessageinfomanagertest.cpp)
0155 add_ruqola_test(ddpauthenticationmanagerutilstest.cpp)
0156 add_ruqola_test(managelocaldatabasetest.cpp)
0157 add_ruqola_test(manageloadhistoryparsesyncmessagesutilstest.cpp)
0158 add_ruqola_test(moderationinfotest.cpp)
0159 add_ruqola_test(moderationreportinfotest.cpp)
0160 add_ruqola_test(channelusercompletertest.cpp)
0161 add_ruqola_test(ruqolaktexttohtmltest.cpp)
0162 add_ruqola_test(previewurlcachemanagertest.cpp)
0163 add_ruqola_test(e2ekeymanagertest.cpp)