Regenerate Tests

Change-Id: I78f1efbec809610bcf6a8224392fa0dc8dbf3b3b
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Leander Beernaert 2020-01-14 15:24:54 +01:00
parent 89d4f2f13e
commit 7c6f763d85
24 changed files with 96 additions and 19 deletions

View File

@ -33,7 +33,7 @@ extend_target(tst_qsocketnotifier CONDITION WIN32
extend_target(tst_qsocketnotifier CONDITION QT_FEATURE_reduce_exports AND UNIX
SOURCES
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_unix.cpp
)

View File

@ -5,6 +5,7 @@
#####################################################################
add_qt_test(tst_qfactoryloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../plugin1/plugininterface1.h
../plugin2/plugininterface2.h

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_test(tst_qfactoryloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../plugin1/plugininterface1.h
../plugin2/plugininterface2.h

View File

@ -8,6 +8,7 @@
list(APPEND test_data "../library_path/invalid.so")
add_qt_test(tst_qlibrary
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qlibrary.cpp
TESTDATA ${test_data}

View File

@ -8,7 +8,7 @@
list(APPEND test_data "../library_path/invalid.so")
add_qt_test(tst_qlibrary
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qlibrary.cpp
TESTDATA ${test_data}

View File

@ -9,6 +9,7 @@ list(APPEND test_data "../elftest")
list(APPEND test_data "../machtest")
add_qt_test(tst_qpluginloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../fakeplugin.cpp
../theplugin/plugininterface.h

View File

@ -9,7 +9,7 @@ list(APPEND test_data "../elftest")
list(APPEND test_data "../machtest")
add_qt_test(tst_qpluginloader
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../fakeplugin.cpp
../theplugin/plugininterface.h

View File

@ -10,6 +10,8 @@ list(APPEND test_data "datastream.q42")
add_qt_test(tst_qdatastream
SOURCES
tst_qdatastream.cpp
DEFINES
# -QT_NO_LINKED_LIST # special case remove
PUBLIC_LIBRARIES
Qt::Gui
TESTDATA ${test_data}

View File

@ -14,6 +14,7 @@ list(APPEND test_data "../resources")
list(APPEND test_data "../BLACKLIST")
add_qt_test(tst_qtextstream
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../../../../../shared/emulationdetector.h
../tst_qtextstream.cpp

View File

@ -0,0 +1,19 @@
# Generated from qdbusabstractinterface.pro.
#####################################################################
## tst_qdbusabstractinterface Test:
#####################################################################
add_qt_test(tst_qdbusabstractinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../interface.cpp ../interface.h
../tst_qdbusabstractinterface.cpp
DBUS_INTERFACE_SOURCES
../org.qtproject.QtDBus.Pinger.xml
DBUS_INTERFACE_FLAGS
"-i" "../interface.h"
PUBLIC_LIBRARIES
Qt::DBus
)

View File

@ -3,7 +3,6 @@
#####################################################################
## tst_qdbusabstractinterface Test:
#####################################################################
# special case begin
# this test can not be generated here. It needs to be set up in the
# parent directory

View File

@ -1,10 +1,10 @@
# Generated from qmyserver.pro.
#####################################################################
## qmyserver Binary:
## qmyserver_qdbusinterface Binary:
#####################################################################
add_qt_executable(qmyserver
add_qt_executable(qmyserver_qdbusinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../myobject.h

View File

@ -1,13 +1,10 @@
# Generated from qmyserver.pro.
#####################################################################
## qmyserver Binary:
## qmyserver_qdbusinterface Binary:
#####################################################################
# Can't be called qmyserver since the qdbusabstractadaptor test
# already has a executable target named like that, so use
# a different target name and then rename the binary
add_qt_executable(qmyserver_qdbusinterface # special case
add_qt_executable(qmyserver_qdbusinterface
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
NO_INSTALL # special case
SOURCES

View File

@ -5,6 +5,7 @@
#####################################################################
add_qt_test(tst_qdbusmarshall
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
../tst_qdbusmarshall.cpp

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_test(tst_qdbusmarshall
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qdbusmarshall.cpp
LIBRARIES

View File

@ -0,0 +1,24 @@
# Generated from test.pro.
#####################################################################
## tst_qclipboard Test:
#####################################################################
add_qt_test(tst_qclipboard
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qclipboard.cpp
PUBLIC_LIBRARIES
Qt::Gui
)
## Scopes:
#####################################################################
extend_target(tst_qclipboard CONDITION APPLE_OSX
PUBLIC_LIBRARIES
${FWAppKit}
)
#### Keys ignored in scope 6:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# TEST_HELPER_INSTALLS = "../copier/copier" "../paster/paster"

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_test(tst_qclipboard
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../" # special case
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_qclipboard.cpp
PUBLIC_LIBRARIES

View File

@ -0,0 +1,30 @@
# Generated from test.pro.
#####################################################################
## tst_qnetworksession Test:
#####################################################################
add_qt_test(tst_qnetworksession
SOURCES
../../qbearertestcommon.h
tst_qnetworksession.cpp
LIBRARIES
Qt::NetworkPrivate
PUBLIC_LIBRARIES
Qt::Network
)
## Scopes:
#####################################################################
#### Keys ignored in scope 3:.:.:test.pro:(CMAKE_BUILD_TYPE STREQUAL Debug):
# DESTDIR = "../debug"
#### Keys ignored in scope 4:.:.:test.pro:else:
# DESTDIR = "../release"
#### Keys ignored in scope 5:.:.:test.pro:else:
# DESTDIR = ".."
#### Keys ignored in scope 6:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# TEST_HELPER_INSTALLS = "../lackey/lackey"

View File

@ -34,7 +34,7 @@ extend_target(tst_platformsocketengine CONDITION WIN32
extend_target(tst_platformsocketengine CONDITION QT_FEATURE_reduce_exports AND UNIX
SOURCES
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_unix.cpp
)

View File

@ -37,7 +37,7 @@ extend_target(tst_qhttpsocketengine CONDITION WIN32
extend_target(tst_qhttpsocketengine CONDITION QT_FEATURE_reduce_exports AND UNIX
SOURCES
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_unix.cpp
)

View File

@ -37,7 +37,7 @@ extend_target(tst_qsocks5socketengine CONDITION WIN32
extend_target(tst_qsocks5socketengine CONDITION QT_FEATURE_reduce_exports AND UNIX
SOURCES
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp
${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qabstractsocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine.cpp ${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_p.h
${QT_SOURCE_TREE}/src/network/socket/qnativesocketengine_unix.cpp
)

View File

@ -5,6 +5,7 @@
#####################################################################
add_qt_test(tst_macplist
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../"
SOURCES
../tst_macplist.cpp
PUBLIC_LIBRARIES

View File

@ -23,7 +23,7 @@ add_qt_test(tst_qmake
#### Keys ignored in scope 2:.:.:qmake.pro:WIN32:
# testcase.timeout = "900"
extend_target(tst_qmake CONDITION cross_compile
extend_target(tst_qmake CONDITION CMAKE_CROSSCOMPILING
DEFINES
QMAKE_CROSS_COMPILED
)

View File

@ -23,7 +23,7 @@ add_qt_test(tst_qmake
#### Keys ignored in scope 2:.:.:qmake.pro:WIN32:
# testcase.timeout = "900"
extend_target(tst_qmake CONDITION CMAKE_CROSSCOMPILING # special case
extend_target(tst_qmake CONDITION CMAKE_CROSSCOMPILING
DEFINES
QMAKE_CROSS_COMPILED
)