diff options
Diffstat (limited to 'tests/auto/network/kernel')
11 files changed, 186 insertions, 0 deletions
diff --git a/tests/auto/network/kernel/CMakeLists.txt b/tests/auto/network/kernel/CMakeLists.txt new file mode 100644 index 0000000000..c1082f60b7 --- /dev/null +++ b/tests/auto/network/kernel/CMakeLists.txt @@ -0,0 +1,19 @@ +add_subdirectory(qdnslookup) +add_subdirectory(qdnslookup_appless) +add_subdirectory(qnetworkinterface) +add_subdirectory(qnetworkdatagram) +add_subdirectory(qnetworkaddressentry) +add_subdirectory(qhostaddress) + +if(NOT WINRT) + add_subdirectory(qnetworkproxy) + add_subdirectory(qnetworkproxyfactory) +endif() + +if(QT_FEATURE_private_tests) + add_subdirectory(qauthenticator) + + if(NOT APPLE_OSX) + add_subdirectory(qhostinfo) + endif() +endif() diff --git a/tests/auto/network/kernel/qauthenticator/CMakeLists.txt b/tests/auto/network/kernel/qauthenticator/CMakeLists.txt new file mode 100644 index 0000000000..80d6667a21 --- /dev/null +++ b/tests/auto/network/kernel/qauthenticator/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qauthenticator.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qauthenticator Test: +##################################################################### + +add_qt_test(tst_qauthenticator + SOURCES + tst_qauthenticator.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\" + LIBRARIES + Qt::NetworkPrivate + PUBLIC_LIBRARIES + Qt::Network +) + +#### Keys ignored in scope 1:.:.:qauthenticator.pro:<TRUE>: +# _REQUIREMENTS = "qtConfig(private_tests)" diff --git a/tests/auto/network/kernel/qdnslookup/CMakeLists.txt b/tests/auto/network/kernel/qdnslookup/CMakeLists.txt new file mode 100644 index 0000000000..896b4431d8 --- /dev/null +++ b/tests/auto/network/kernel/qdnslookup/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qdnslookup.pro. + +##################################################################### +## tst_qdnslookup Test: +##################################################################### + +add_qt_test(tst_qdnslookup + SOURCES + tst_qdnslookup.cpp + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qdnslookup_appless/CMakeLists.txt b/tests/auto/network/kernel/qdnslookup_appless/CMakeLists.txt new file mode 100644 index 0000000000..847e1a6d90 --- /dev/null +++ b/tests/auto/network/kernel/qdnslookup_appless/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qdnslookup_appless.pro. + +##################################################################### +## tst_qdnslookup_appless Test: +##################################################################### + +add_qt_test(tst_qdnslookup_appless + SOURCES + tst_qdnslookup_appless.cpp + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qhostaddress/CMakeLists.txt b/tests/auto/network/kernel/qhostaddress/CMakeLists.txt new file mode 100644 index 0000000000..51de80402f --- /dev/null +++ b/tests/auto/network/kernel/qhostaddress/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qhostaddress.pro. + +##################################################################### +## tst_qhostaddress Test: +##################################################################### + +add_qt_test(tst_qhostaddress + SOURCES + tst_qhostaddress.cpp + LIBRARIES + Qt::NetworkPrivate + PUBLIC_LIBRARIES + Qt::Network +) + +## Scopes: +##################################################################### + +extend_target(tst_qhostaddress CONDITION WIN32 + PUBLIC_LIBRARIES + ws2_32 +) diff --git a/tests/auto/network/kernel/qhostinfo/CMakeLists.txt b/tests/auto/network/kernel/qhostinfo/CMakeLists.txt new file mode 100644 index 0000000000..60077d0021 --- /dev/null +++ b/tests/auto/network/kernel/qhostinfo/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qhostinfo.pro. + +if(NOT QT_FEATURE_private_tests) + return() +endif() + +##################################################################### +## tst_qhostinfo Test: +##################################################################### + +add_qt_test(tst_qhostinfo + SOURCES + tst_qhostinfo.cpp + LIBRARIES + Qt::CorePrivate + Qt::NetworkPrivate + PUBLIC_LIBRARIES + Qt::Network +) + +#### Keys ignored in scope 1:.:.:qhostinfo.pro:<TRUE>: +# _REQUIREMENTS = "qtConfig(private_tests)" + +## Scopes: +##################################################################### + +extend_target(tst_qhostinfo CONDITION WIN32 + PUBLIC_LIBRARIES + ws2_32 +) + +#### Keys ignored in scope 3:.:.:qhostinfo.pro:WINRT: +# WINRT_MANIFEST.capabilities = "internetClientServer" diff --git a/tests/auto/network/kernel/qnetworkaddressentry/CMakeLists.txt b/tests/auto/network/kernel/qnetworkaddressentry/CMakeLists.txt new file mode 100644 index 0000000000..5a72d4e4a5 --- /dev/null +++ b/tests/auto/network/kernel/qnetworkaddressentry/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qnetworkaddressentry.pro. + +##################################################################### +## tst_qnetworkaddressentry Test: +##################################################################### + +add_qt_test(tst_qnetworkaddressentry + SOURCES + tst_qnetworkaddressentry.cpp + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qnetworkdatagram/CMakeLists.txt b/tests/auto/network/kernel/qnetworkdatagram/CMakeLists.txt new file mode 100644 index 0000000000..ae24d32917 --- /dev/null +++ b/tests/auto/network/kernel/qnetworkdatagram/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qnetworkdatagram.pro. + +##################################################################### +## tst_qnetworkdatagram Test: +##################################################################### + +add_qt_test(tst_qnetworkdatagram + SOURCES + tst_qnetworkdatagram.cpp + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qnetworkinterface/CMakeLists.txt b/tests/auto/network/kernel/qnetworkinterface/CMakeLists.txt new file mode 100644 index 0000000000..f23a17f077 --- /dev/null +++ b/tests/auto/network/kernel/qnetworkinterface/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qnetworkinterface.pro. + +##################################################################### +## tst_qnetworkinterface Test: +##################################################################### + +add_qt_test(tst_qnetworkinterface + SOURCES + ../../../../shared/emulationdetector.h + tst_qnetworkinterface.cpp + INCLUDE_DIRECTORIES + ../../../../shared + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qnetworkproxy/CMakeLists.txt b/tests/auto/network/kernel/qnetworkproxy/CMakeLists.txt new file mode 100644 index 0000000000..e0cbe133af --- /dev/null +++ b/tests/auto/network/kernel/qnetworkproxy/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from qnetworkproxy.pro. + +##################################################################### +## tst_qnetworkproxy Test: +##################################################################### + +add_qt_test(tst_qnetworkproxy + SOURCES + tst_qnetworkproxy.cpp + PUBLIC_LIBRARIES + Qt::Network +) diff --git a/tests/auto/network/kernel/qnetworkproxyfactory/CMakeLists.txt b/tests/auto/network/kernel/qnetworkproxyfactory/CMakeLists.txt new file mode 100644 index 0000000000..3fd139b93e --- /dev/null +++ b/tests/auto/network/kernel/qnetworkproxyfactory/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from qnetworkproxyfactory.pro. + +##################################################################### +## tst_qnetworkproxyfactory Test: +##################################################################### + +add_qt_test(tst_qnetworkproxyfactory + SOURCES + tst_qnetworkproxyfactory.cpp + LIBRARIES + Qt::NetworkPrivate + PUBLIC_LIBRARIES + Qt::Network +) |