diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp b/tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp index ad8c4a8d1c..6bfd40a580 100644 --- a/tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp +++ b/tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp @@ -364,23 +364,9 @@ void tst_QHostAddress::isEqual() QCOMPARE(second.isEqual(first, QHostAddress::ConversionModeFlag(flags)), result); } -QT_WARNING_PUSH -#ifdef QT_WARNING_DISABLE_DEPRECATED -QT_WARNING_DISABLE_DEPRECATED -#endif - void tst_QHostAddress::assignment() { QHostAddress address; - -#if QT_DEPRECATED_SINCE(5, 8) - address = "127.0.0.1"; - QCOMPARE(address, QHostAddress("127.0.0.1")); - - address = "::1"; - QCOMPARE(address, QHostAddress("::1")); -#endif - QHostAddress addr("4.2.2.1"); sockaddr_in sockAddr; sockAddr.sin_family = AF_INET; @@ -389,8 +375,6 @@ void tst_QHostAddress::assignment() QCOMPARE(address, addr); } -QT_WARNING_POP - void tst_QHostAddress::scopeId() { QHostAddress address("fe80::2e0:4cff:fefb:662a%eth0"); |