Regenerate tests/auto/network/socket

Change-Id: I653f7f4a6e3421f56f873cfbec4309eca49f1756
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Alexandru Croitor 2019-11-12 17:58:44 +01:00
parent ee5db96ef7
commit 164d8c35b3
14 changed files with 69 additions and 35 deletions

View File

@ -1,11 +1,14 @@
# Generated from platformsocketengine.pro.
if(NOT QT_FEATURE_private_tests)
return()
endif()
#####################################################################
## tst_platformsocketengine Test:
#####################################################################
add_qt_test(tst_platformsocketengine
GUI
SOURCES
tst_platformsocketengine.cpp
INCLUDE_DIRECTORIES
@ -18,8 +21,8 @@ add_qt_test(tst_platformsocketengine
)
#### Keys ignored in scope 1:.:.:platformsocketengine.pro:<TRUE>:
# CONFIG = "testcase"
# MOC_DIR = "tmp"
# _REQUIREMENTS = "qtConfig(private_tests)"
## Scopes:
#####################################################################
@ -32,6 +35,6 @@ 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/qnativesocketengine.cpp
${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,12 +5,8 @@
#####################################################################
add_qt_test(tst_qabstractsocket
GUI
SOURCES
tst_qabstractsocket.cpp
PUBLIC_LIBRARIES
Qt::Network
)
#### Keys ignored in scope 1:.:.:qabstractsocket.pro:<TRUE>:
# CONFIG = "testcase"

View File

@ -1,11 +1,14 @@
# Generated from qhttpsocketengine.pro.
if(NOT QT_FEATURE_private_tests)
return()
endif()
#####################################################################
## tst_qhttpsocketengine Test:
#####################################################################
add_qt_test(tst_qhttpsocketengine
GUI
SOURCES
tst_qhttpsocketengine.cpp
INCLUDE_DIRECTORIES
@ -18,14 +21,13 @@ add_qt_test(tst_qhttpsocketengine
)
#### Keys ignored in scope 1:.:.:qhttpsocketengine.pro:<TRUE>:
# CONFIG = "testcase"
# MOC_DIR = "tmp"
# _REQUIREMENTS = "qtConfig(private_tests)"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qhttpsocketengine.pro:LINUX:
# CONFIG = "unsupported/testserver"
# QT_TEST_SERVER_LIST = "squid" "danted" "cyrus" "apache2"
extend_target(tst_qhttpsocketengine CONDITION WIN32
@ -36,6 +38,6 @@ 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/qnativesocketengine.cpp
${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,7 +5,7 @@
#####################################################################
add_qt_executable(socketprocess
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qlocalsocket
GUI
SOURCES
../tst_qlocalsocket.cpp
DEFINES
@ -16,9 +15,6 @@ add_qt_test(tst_qlocalsocket
Qt::Network
)
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################

View File

@ -5,12 +5,8 @@
#####################################################################
add_qt_test(tst_qsctpsocket
GUI
SOURCES
tst_qsctpsocket.cpp
PUBLIC_LIBRARIES
Qt::Network
)
#### Keys ignored in scope 1:.:.:qsctpsocket.pro:<TRUE>:
# CONFIG = "testcase"

View File

@ -1,11 +1,14 @@
# Generated from qsocks5socketengine.pro.
if(NOT QT_FEATURE_private_tests)
return()
endif()
#####################################################################
## tst_qsocks5socketengine Test:
#####################################################################
add_qt_test(tst_qsocks5socketengine
GUI
SOURCES
tst_qsocks5socketengine.cpp
INCLUDE_DIRECTORIES
@ -18,14 +21,13 @@ add_qt_test(tst_qsocks5socketengine
)
#### Keys ignored in scope 1:.:.:qsocks5socketengine.pro:<TRUE>:
# CONFIG = "testcase"
# MOC_DIR = "tmp"
# _REQUIREMENTS = "qtConfig(private_tests)"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:.:qsocks5socketengine.pro:LINUX:
# CONFIG = "unsupported/testserver"
# QT_TEST_SERVER_LIST = "danted" "apache2" "cyrus"
extend_target(tst_qsocks5socketengine CONDITION WIN32
@ -36,6 +38,6 @@ 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/qnativesocketengine.cpp
${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

@ -6,7 +6,7 @@
add_qt_executable(crashingServer
GUI
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qtcpserver
GUI
SOURCES
../tst_qtcpserver.cpp
PUBLIC_LIBRARIES
@ -13,7 +12,6 @@ add_qt_test(tst_qtcpserver
)
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
# CONFIG = "testcase"
# MOC_DIR = "tmp"
## Scopes:
@ -25,5 +23,4 @@ extend_target(tst_qtcpserver CONDITION WIN32
)
#### Keys ignored in scope 6:.:.:test.pro:LINUX:
# CONFIG = "unsupported/testserver"
# QT_TEST_SERVER_LIST = "danted" "cyrus" "squid" "ftp-proxy"

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_executable(stressTest
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
Test.cpp Test.h
main.cpp

View File

@ -0,0 +1,35 @@
# Generated from test.pro.
#####################################################################
## tst_qtcpsocket Test:
#####################################################################
add_qt_test(tst_qtcpsocket
SOURCES
../tst_qtcpsocket.cpp
LIBRARIES
Qt::CorePrivate
Qt::NetworkPrivate
PUBLIC_LIBRARIES
Qt::Network
)
## Scopes:
#####################################################################
extend_target(tst_qtcpsocket CONDITION WIN32
PUBLIC_LIBRARIES
ws2_32
)
#### Keys ignored in scope 4:.:.:test.pro:(CMAKE_BUILD_TYPE STREQUAL Debug):
# DESTDIR = "../debug"
#### Keys ignored in scope 5:.:.:test.pro:else:
# DESTDIR = "../release"
#### Keys ignored in scope 6:.:.:test.pro:else:
# DESTDIR = "../"
#### Keys ignored in scope 7:.:.:test.pro:LINUX:
# QT_TEST_SERVER_LIST = "danted" "squid" "apache2" "ftp-proxy" "vsftpd" "iptables" "cyrus"

View File

@ -5,7 +5,6 @@
#####################################################################
add_qt_test(tst_qtcpsocket
GUI
SOURCES
../tst_qtcpsocket.cpp
LIBRARIES
@ -15,9 +14,6 @@ add_qt_test(tst_qtcpsocket
Qt::Network
)
#### Keys ignored in scope 1:.:.:test.pro:<TRUE>:
# CONFIG = "testcase"
## Scopes:
#####################################################################
@ -42,5 +38,4 @@ target_link_libraries(tst_qtcpsocket PRIVATE Threads::Threads)
# DESTDIR = "../"
#### Keys ignored in scope 7:.:.:test.pro:LINUX:
# CONFIG = "unsupported/testserver"
# QT_TEST_SERVER_LIST = "danted" "squid" "apache2" "ftp-proxy" "vsftpd" "iptables" "cyrus"

View File

@ -5,7 +5,7 @@
#####################################################################
add_qt_executable(clientserver
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/./"
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES
main.cpp
PUBLIC_LIBRARIES

View File

@ -0,0 +1,12 @@
# Generated from udpServer.pro.
#####################################################################
## udpServer Binary:
#####################################################################
add_qt_executable(udpServer
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::Network
)