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

0001 # SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
0002 # SPDX-License-Identifier: BSD-2-Clause
0003 
0004 add_definitions(-DDATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" )
0005 
0006 add_library(tokodon_test_static STATIC mockaccount.cpp)
0007 target_link_libraries(tokodon_test_static PUBLIC tokodon_static)
0008 
0009 ecm_add_test(posttest.cpp
0010     TEST_NAME posttest
0011     LINK_LIBRARIES tokodon_test_static Qt::Test
0012     NAME_PREFIX "tokodon-"
0013 )
0014 
0015 ecm_add_test(timelinetest.cpp
0016     TEST_NAME timelinetest
0017     LINK_LIBRARIES tokodon_test_static Qt::Test
0018     NAME_PREFIX "tokodon-"
0019 )
0020 
0021 ecm_add_test(profileeditortest.cpp
0022     TEST_NAME profileeditortest
0023     LINK_LIBRARIES tokodon_test_static Qt::Test
0024     NAME_PREFIX "tokodon-"
0025 )
0026 
0027 ecm_add_test(searchtest.cpp
0028     TEST_NAME searchtest
0029     LINK_LIBRARIES tokodon_test_static Qt::Test
0030     NAME_PREFIX "tokodon-"
0031 )
0032 
0033 ecm_add_test(conversationmodeltest.cpp
0034     TEST_NAME conversationmodeltest
0035     LINK_LIBRARIES tokodon_test_static Qt::Test
0036     NAME_PREFIX "tokodon-"
0037     )
0038 
0039 ecm_add_test(blurhashtest.cpp
0040     TEST_NAME blurhashtest
0041     LINK_LIBRARIES tokodon_test_static Qt::Test
0042     NAME_PREFIX "tokodon-"
0043     )
0044 
0045 ecm_add_test(posteditortest.cpp
0046     TEST_NAME posteditortest
0047     LINK_LIBRARIES tokodon_test_static Qt::Test
0048     NAME_PREFIX "tokodon-"
0049     )
0050 
0051 ecm_add_test(federationtooltest.cpp
0052     TEST_NAME federationtooltest
0053     LINK_LIBRARIES tokodon_test_static Qt::Test
0054     NAME_PREFIX "tokodon-"
0055 )