Warning, /libraries/ktextaddons/texttranslator/translator/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 macro(add_translator_unittest _source)
0004     get_filename_component(_name ${_source} NAME_WE)
0005     ecm_add_test(${_source} ${_name}.h
0006         TEST_NAME ${_name}
0007         NAME_PREFIX "translator-"
0008         LINK_LIBRARIES Qt::Test
0009         Qt::Widgets
0010         KF${KF_MAJOR_VERSION}::TextTranslator
0011     )
0012 endmacro()
0013 if (NOT DISABLE_AUTOTEST_BROKEN_CI)
0014    add_translator_unittest(translatorwidgettest.cpp)
0015 endif()
0016 add_translator_unittest(translatorconfiguredialogtest.cpp)
0017 add_translator_unittest(translatorconfigurewidgettest.cpp)
0018 add_translator_unittest(translatorengineloadertest.cpp)
0019 add_translator_unittest(translatorconfigurecombowidgettest.cpp)