CMake: Make qtbase tests standalone projects
Add the boilerplate standalone test prelude to each test, so that they can be opened with an IDE without the qt-cmake-standalone-test script, but directly with qt-cmake or cmake. Boilerplate was added using the following scripts: https://git.qt.io/alcroito/cmake_refactor Manual adjustments were made where the code was inserted in the wrong location. Task-number: QTBUG-93020 Change-Id: I77299f990692b4fe4721a9bc35071608d0d23982 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
This commit is contained in:
parent
463d232457
commit
0e56dd2746
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentfilter Test:
|
## tst_qtconcurrentfilter Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentfilter LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentfilter
|
qt_internal_add_test(tst_qtconcurrentfilter
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentfilter.cpp
|
tst_qtconcurrentfilter.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentfiltermapgenerated Test:
|
## tst_qtconcurrentfiltermapgenerated Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentfiltermapgenerated LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentfiltermapgenerated
|
qt_internal_add_test(tst_qtconcurrentfiltermapgenerated
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrent_selected_tests.cpp
|
tst_qtconcurrent_selected_tests.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentiteratekernel Test:
|
## tst_qtconcurrentiteratekernel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentiteratekernel LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentiteratekernel
|
qt_internal_add_test(tst_qtconcurrentiteratekernel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentiteratekernel.cpp
|
tst_qtconcurrentiteratekernel.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentmap Test:
|
## tst_qtconcurrentmap Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentmap LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentmap
|
qt_internal_add_test(tst_qtconcurrentmap
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentmap.cpp
|
tst_qtconcurrentmap.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentmedian Test:
|
## tst_qtconcurrentmedian Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentmedian LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentmedian
|
qt_internal_add_test(tst_qtconcurrentmedian
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentmedian.cpp
|
tst_qtconcurrentmedian.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentrun Test:
|
## tst_qtconcurrentrun Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentrun LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentrun
|
qt_internal_add_test(tst_qtconcurrentrun
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentrun.cpp
|
tst_qtconcurrentrun.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrenttask Test:
|
## tst_qtconcurrenttask Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrenttask LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrenttask
|
qt_internal_add_test(tst_qtconcurrenttask
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrenttask.cpp
|
tst_qtconcurrenttask.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qtconcurrentthreadengine Test:
|
## tst_qtconcurrentthreadengine Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qtconcurrentthreadengine LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qtconcurrentthreadengine
|
qt_internal_add_test(tst_qtconcurrentthreadengine
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qtconcurrentthreadengine.cpp
|
tst_qtconcurrentthreadengine.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusabstractadaptor LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(qmyserver)
|
add_subdirectory(qmyserver)
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusabstractadaptor
|
qt_internal_add_test(tst_qdbusabstractadaptor
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusabstractinterface LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusabstractinterface
|
qt_internal_add_test(tst_qdbusabstractinterface
|
||||||
SOURCES
|
SOURCES
|
||||||
interface.cpp
|
interface.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection Test:
|
## tst_qdbusconnection Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection
|
qt_internal_add_test(tst_qdbusconnection
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusconnection.cpp tst_qdbusconnection.h
|
tst_qdbusconnection.cpp tst_qdbusconnection.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_delayed Test:
|
## tst_qdbusconnection_delayed Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_delayed LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_delayed
|
qt_internal_add_test(tst_qdbusconnection_delayed
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusconnection_delayed.cpp
|
tst_qdbusconnection_delayed.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_no_app Test:
|
## tst_qdbusconnection_no_app Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_no_app LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_no_app
|
qt_internal_add_test(tst_qdbusconnection_no_app
|
||||||
SOURCES
|
SOURCES
|
||||||
../qdbusconnection/tst_qdbusconnection.h
|
../qdbusconnection/tst_qdbusconnection.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_no_bus Test:
|
## tst_qdbusconnection_no_bus Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_no_bus LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_no_bus
|
qt_internal_add_test(tst_qdbusconnection_no_bus
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusconnection_no_bus.cpp
|
tst_qdbusconnection_no_bus.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_no_libdbus Test:
|
## tst_qdbusconnection_no_libdbus Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_no_libdbus LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_no_libdbus
|
qt_internal_add_test(tst_qdbusconnection_no_libdbus
|
||||||
SOURCES
|
SOURCES
|
||||||
../qdbusconnection_no_bus/tst_qdbusconnection_no_bus.cpp
|
../qdbusconnection_no_bus/tst_qdbusconnection_no_bus.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_signalorder Test:
|
## tst_qdbusconnection_signalorder Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_signalorder LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_signalorder
|
qt_internal_add_test(tst_qdbusconnection_signalorder
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusconnection_signalorder.cpp
|
tst_qdbusconnection_signalorder.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusconnection_spyhook Test:
|
## tst_qdbusconnection_spyhook Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusconnection_spyhook LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusconnection_spyhook
|
qt_internal_add_test(tst_qdbusconnection_spyhook
|
||||||
SOURCES
|
SOURCES
|
||||||
../qdbusconnection/tst_qdbusconnection.h
|
../qdbusconnection/tst_qdbusconnection.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbuscontext Test:
|
## tst_qdbuscontext Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbuscontext LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbuscontext
|
qt_internal_add_test(tst_qdbuscontext
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbuscontext.cpp
|
tst_qdbuscontext.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusinterface LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(qmyserver)
|
add_subdirectory(qmyserver)
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbuslocalcalls Test:
|
## tst_qdbuslocalcalls Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbuslocalcalls LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbuslocalcalls
|
qt_internal_add_test(tst_qdbuslocalcalls
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbuslocalcalls.cpp
|
tst_qdbuslocalcalls.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusmarshall LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT QT_FEATURE_private_tests)
|
if(NOT QT_FEATURE_private_tests)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusmetaobject Test:
|
## tst_qdbusmetaobject Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusmetaobject LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusmetaobject
|
qt_internal_add_test(tst_qdbusmetaobject
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusmetaobject.cpp
|
tst_qdbusmetaobject.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusmetatype Test:
|
## tst_qdbusmetatype Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusmetatype LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusmetatype
|
qt_internal_add_test(tst_qdbusmetatype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusmetatype.cpp
|
tst_qdbusmetatype.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbuspendingcall Test:
|
## tst_qdbuspendingcall Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbuspendingcall LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbuspendingcall
|
qt_internal_add_test(tst_qdbuspendingcall
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbuspendingcall.cpp
|
tst_qdbuspendingcall.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbuspendingreply Test:
|
## tst_qdbuspendingreply Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbuspendingreply LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbuspendingreply
|
qt_internal_add_test(tst_qdbuspendingreply
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbuspendingreply.cpp
|
tst_qdbuspendingreply.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusreply Test:
|
## tst_qdbusreply Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusreply LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusreply
|
qt_internal_add_test(tst_qdbusreply
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusreply.cpp
|
tst_qdbusreply.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusservicewatcher Test:
|
## tst_qdbusservicewatcher Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusservicewatcher LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusservicewatcher
|
qt_internal_add_test(tst_qdbusservicewatcher
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusservicewatcher.cpp
|
tst_qdbusservicewatcher.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusthreading Test:
|
## tst_qdbusthreading Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusthreading LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusthreading
|
qt_internal_add_test(tst_qdbusthreading
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusthreading.cpp
|
tst_qdbusthreading.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbustype Test:
|
## tst_qdbustype Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbustype LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbustype
|
qt_internal_add_test(tst_qdbustype
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbustype.cpp
|
tst_qdbustype.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusxmlparser Test:
|
## tst_qdbusxmlparser Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusxmlparser LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusxmlparser
|
qt_internal_add_test(tst_qdbusxmlparser
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusxmlparser.cpp
|
tst_qdbusxmlparser.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_gestures Test:
|
## tst_gestures Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_gestures LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_gestures
|
qt_internal_add_test(tst_gestures
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_gestures.cpp
|
tst_gestures.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_languagechange Test:
|
## tst_languagechange Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_languagechange LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_languagechange
|
qt_internal_add_test(tst_languagechange
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_languagechange.cpp
|
tst_languagechange.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_macgui LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_macnativeevents LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_macplist LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT TARGET Qt::Widgets)
|
if(NOT TARGET Qt::Widgets)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_networkselftest Test:
|
## tst_networkselftest Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_networkselftest LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_networkselftest
|
qt_internal_add_test(tst_networkselftest
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_networkselftest.cpp
|
tst_networkselftest.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qaccessibility LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT QT_FEATURE_accessibility)
|
if(NOT QT_FEATURE_accessibility)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qaccessibilitylinux LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT QT_FEATURE_accessibility OR NOT TARGET Qt::LinuxAccessibilitySupportPrivate
|
if (NOT QT_FEATURE_accessibility OR NOT TARGET Qt::LinuxAccessibilitySupportPrivate
|
||||||
OR (QT_BUILD_STANDALONE_TESTS AND QT_WILL_INSTALL))
|
OR (QT_BUILD_STANDALONE_TESTS AND QT_WILL_INSTALL))
|
||||||
return()
|
return()
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qaccessibilitymac LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT APPLE)
|
if(NOT APPLE)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qcomplextext Test:
|
## tst_qcomplextext Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qcomplextext LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
list(APPEND test_data "data")
|
list(APPEND test_data "data")
|
||||||
|
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qfocusevent Test:
|
## tst_qfocusevent Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qfocusevent LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qfocusevent
|
qt_internal_add_test(tst_qfocusevent
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qfocusevent.cpp
|
tst_qfocusevent.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qnetworkaccessmanager_and_qprogressdialog Test:
|
## tst_qnetworkaccessmanager_and_qprogressdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qnetworkaccessmanager_and_qprogressdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qnetworkaccessmanager_and_qprogressdialog
|
qt_internal_add_test(tst_qnetworkaccessmanager_and_qprogressdialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qnetworkaccessmanager_and_qprogressdialog.cpp
|
tst_qnetworkaccessmanager_and_qprogressdialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## qobjectrace Test:
|
## qobjectrace Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qobjectrace LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qobjectrace
|
qt_internal_add_test(tst_qobjectrace
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qobjectrace.cpp
|
tst_qobjectrace.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qprocess_and_guieventloop Test:
|
## tst_qprocess_and_guieventloop Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qprocess_and_guieventloop LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qprocess_and_guieventloop
|
qt_internal_add_test(tst_qprocess_and_guieventloop
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprocess_and_guieventloop.cpp
|
tst_qprocess_and_guieventloop.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsharedpointer_and_qwidget Test:
|
## tst_qsharedpointer_and_qwidget Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsharedpointer_and_qwidget LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsharedpointer_and_qwidget
|
qt_internal_add_test(tst_qsharedpointer_and_qwidget
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsharedpointer_and_qwidget.cpp
|
tst_qsharedpointer_and_qwidget.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_toolsupport Test:
|
## tst_toolsupport Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_toolsupport LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_toolsupport
|
qt_internal_add_test(tst_toolsupport
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_toolsupport.cpp
|
tst_toolsupport.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_xkbkeyboard Test:
|
## tst_xkbkeyboard Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_xkbkeyboard LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_xkbkeyboard
|
qt_internal_add_test(tst_xkbkeyboard
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_xkbkeyboard.cpp
|
tst_xkbkeyboard.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractprintdialog Test:
|
## tst_qabstractprintdialog Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractprintdialog LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractprintdialog
|
qt_internal_add_test(tst_qabstractprintdialog
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qabstractprintdialog.cpp
|
tst_qabstractprintdialog.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qprintdevice Test:
|
## tst_qprintdevice Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qprintdevice LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qprintdevice
|
qt_internal_add_test(tst_qprintdevice
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprintdevice.cpp
|
tst_qprintdevice.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qprinter Test:
|
## tst_qprinter Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qprinter LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qprinter
|
qt_internal_add_test(tst_qprinter
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprinter.cpp
|
tst_qprinter.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qprinterinfo Test:
|
## tst_qprinterinfo Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qprinterinfo LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qprinterinfo
|
qt_internal_add_test(tst_qprinterinfo
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qprinterinfo.cpp
|
tst_qprinterinfo.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsql Test:
|
## tst_qsql Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsql LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsql
|
qt_internal_add_test(tst_qsql
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsql.cpp
|
tst_qsql.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqldatabase Test:
|
## tst_qsqldatabase Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqldatabase LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqldatabase
|
qt_internal_add_test(tst_qsqldatabase
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqldatabase.cpp
|
tst_qsqldatabase.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqldriver Test:
|
## tst_qsqldriver Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqldriver LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqldriver
|
qt_internal_add_test(tst_qsqldriver
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqldriver.cpp
|
tst_qsqldriver.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlerror Test:
|
## tst_qsqlerror Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlerror LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlerror
|
qt_internal_add_test(tst_qsqlerror
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlerror.cpp
|
tst_qsqlerror.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlfield Test:
|
## tst_qsqlfield Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlfield LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlfield
|
qt_internal_add_test(tst_qsqlfield
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlfield.cpp
|
tst_qsqlfield.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlindex Test:
|
## tst_qsqlindex Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlindex LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlindex
|
qt_internal_add_test(tst_qsqlindex
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlindex.cpp
|
tst_qsqlindex.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlquery Test:
|
## tst_qsqlquery Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlquery LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlquery
|
qt_internal_add_test(tst_qsqlquery
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlquery.cpp
|
tst_qsqlquery.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlrecord Test:
|
## tst_qsqlrecord Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlrecord LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlrecord
|
qt_internal_add_test(tst_qsqlrecord
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlrecord.cpp
|
tst_qsqlrecord.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlresult Test:
|
## tst_qsqlresult Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlresult LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlresult
|
qt_internal_add_test(tst_qsqlresult
|
||||||
SOURCES
|
SOURCES
|
||||||
testsqldriver.h
|
testsqldriver.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlthread Test:
|
## tst_qsqlthread Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlthread LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlthread
|
qt_internal_add_test(tst_qsqlthread
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlthread.cpp
|
tst_qsqlthread.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlquerymodel Test:
|
## tst_qsqlquerymodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlquerymodel LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlquerymodel
|
qt_internal_add_test(tst_qsqlquerymodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlquerymodel.cpp
|
tst_qsqlquerymodel.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlrelationaldelegate Test:
|
## tst_qsqlrelationaldelegate Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlrelationaldelegate LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlrelationaldelegate
|
qt_internal_add_test(tst_qsqlrelationaldelegate
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlrelationaldelegate.cpp
|
tst_qsqlrelationaldelegate.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqlrelationaltablemodel Test:
|
## tst_qsqlrelationaltablemodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqlrelationaltablemodel LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqlrelationaltablemodel
|
qt_internal_add_test(tst_qsqlrelationaltablemodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqlrelationaltablemodel.cpp
|
tst_qsqlrelationaltablemodel.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsqltablemodel Test:
|
## tst_qsqltablemodel Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsqltablemodel LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsqltablemodel
|
qt_internal_add_test(tst_qsqltablemodel
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsqltablemodel.cpp
|
tst_qsqltablemodel.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qabstractitemmodeltester Test:
|
## tst_qabstractitemmodeltester Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qabstractitemmodeltester LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qabstractitemmodeltester
|
qt_internal_add_test(tst_qabstractitemmodeltester
|
||||||
SOURCES
|
SOURCES
|
||||||
../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../other/qabstractitemmodelutils/dynamictreemodel.h
|
../../other/qabstractitemmodelutils/dynamictreemodel.cpp ../../other/qabstractitemmodelutils/dynamictreemodel.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qsignalspy Test:
|
## tst_qsignalspy Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qsignalspy LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qsignalspy
|
qt_internal_add_test(tst_qsignalspy
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qsignalspy.cpp
|
tst_qsignalspy.cpp
|
||||||
|
@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
# The whole file is written manually.
|
# The whole file is written manually.
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_selftests LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(../../../../src/testlib/selfcover.cmake)
|
include(../../../../src/testlib/selfcover.cmake)
|
||||||
|
|
||||||
# ------------- Test runner -------------
|
# ------------- Test runner -------------
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 Intel Corporation.
|
# Copyright (C) 2023 Intel Corporation.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_tostring LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_tostring
|
qt_internal_add_test(tst_tostring
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_tostring.cpp
|
tst_tostring.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_macdeployqt Test:
|
## tst_macdeployqt Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_macdeployqt LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_macdeployqt
|
qt_internal_add_test(tst_macdeployqt
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_macdeployqt.cpp
|
tst_macdeployqt.cpp
|
||||||
|
@ -5,6 +5,11 @@
|
|||||||
## tst_moc Test:
|
## tst_moc Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_moc LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(JSON_HEADERS
|
set(JSON_HEADERS
|
||||||
backslash-newlines.h
|
backslash-newlines.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbuscpp2xml Test:
|
## tst_qdbuscpp2xml Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbuscpp2xml LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbuscpp2xml
|
qt_internal_add_test(tst_qdbuscpp2xml
|
||||||
SOURCES
|
SOURCES
|
||||||
test1.h
|
test1.h
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdbusxml2cpp Test:
|
## tst_qdbusxml2cpp Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdbusxml2cpp LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qdbusxml2cpp
|
qt_internal_add_test(tst_qdbusxml2cpp
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_qdbusxml2cpp.cpp
|
tst_qdbusxml2cpp.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmake LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qmakelib Test:
|
## tst_qmakelib Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qmakelib LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_qmakelib
|
qt_internal_add_test(tst_qmakelib
|
||||||
SOURCES
|
SOURCES
|
||||||
../../../../qmake/library/ioutils.cpp
|
../../../../qmake/library/ioutils.cpp
|
||||||
|
@ -1,6 +1,12 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qt_cmake_create LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_rcc Test:
|
## tst_rcc Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_rcc LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_rcc
|
qt_internal_add_test(tst_rcc
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_rcc.cpp
|
tst_rcc.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_uic Test:
|
## tst_uic Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_uic LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_uic
|
qt_internal_add_test(tst_uic
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_uic.cpp
|
tst_uic.cpp
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
# Copyright (C) 2022 The Qt Company Ltd.
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_windeployqt LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(testapp)
|
add_subdirectory(testapp)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_wasm Test:
|
## tst_wasm Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_localfileapi LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_localfileapi
|
qt_internal_add_test(tst_localfileapi
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_localfileapi.cpp
|
tst_localfileapi.cpp
|
||||||
|
@ -5,6 +5,12 @@
|
|||||||
## tst_qdom Test:
|
## tst_qdom Test:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(tst_qdom LANGUAGES CXX)
|
||||||
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Collect test data
|
# Collect test data
|
||||||
file(GLOB_RECURSE test_data_glob
|
file(GLOB_RECURSE test_data_glob
|
||||||
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user