tst_QNetworkAddressEntry::prefixAndNetmask use QHostAddress::AnyIPv4
Update the test after the introduction of QHostAddress::AnyIPv4
in 85136496bc
Change-Id: I3b84e85b6dcefa69bf5953205e288a6f0affb341
Reviewed-on: http://codereview.qt.nokia.com/1873
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Markus Goetz
This commit is contained in:
parent
16c17f5965
commit
cfbdb4cc8a
@ -97,7 +97,7 @@ void tst_QNetworkAddressEntry::prefixAndNetmask_data()
|
||||
|
||||
// IPv4 set:
|
||||
QHostAddress ipv4(QHostAddress::LocalHost);
|
||||
QTest::newRow("v4/0") << ipv4 << QHostAddress(QHostAddress::Any) << 0;
|
||||
QTest::newRow("v4/0") << ipv4 << QHostAddress(QHostAddress::AnyIPv4) << 0;
|
||||
QTest::newRow("v4/32") << ipv4 << QHostAddress("255.255.255.255") << 32;
|
||||
QTest::newRow("v4/24") << ipv4 << QHostAddress("255.255.255.0") << 24;
|
||||
QTest::newRow("v4/23") << ipv4 << QHostAddress("255.255.254.0") << 23;
|
||||
|
Loading…
Reference in New Issue
Block a user