summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/kernel/qhostinfo
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-05-18 20:00:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 18:41:22 +0200
commit1f8d570d5fab14b299d272540ee9bbf692f98829 (patch)
treee37e55fdf870fab1da5e04a9a53bf7ce2df49122 /tests/auto/network/kernel/qhostinfo
parent781b642671e1f2195e69039547c5101a573540d8 (diff)
Use QStringList::join(QChar) overload where applicable [QtNetwork]
This is an automated change performing the following replacements: join\("(.)"\) -> join('\1') join\(QLatin1String\("(.)"\)\) -> join(QLatin1Char('\1')) join\(QStringLiteral\("(.)"\)\) -> join(QLatin1Char('\1')) Change-Id: I5b75877ba192fa1357e67fee70dff7c0475991e8 Reviewed-by: João Abecasis <joao.abecasis@nokia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'tests/auto/network/kernel/qhostinfo')
-rw-r--r--tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
index 5285425b32..a733385a70 100644
--- a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
+++ b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp
@@ -302,7 +302,7 @@ void tst_QHostInfo::lookupIPv4()
QStringList expected = addresses.split(' ');
expected.sort();
- QCOMPARE(tmp.join(" "), expected.join(" "));
+ QCOMPARE(tmp.join(' '), expected.join(' '));
}
void tst_QHostInfo::lookupIPv6_data()
@@ -349,7 +349,7 @@ void tst_QHostInfo::lookupIPv6()
QStringList expected = addresses.split(' ');
expected.sort();
- QCOMPARE(tmp.join(" ").toLower(), expected.join(" ").toLower());
+ QCOMPARE(tmp.join(' ').toLower(), expected.join(' ').toLower());
}
void tst_QHostInfo::reverseLookup_data()
@@ -414,7 +414,7 @@ void tst_QHostInfo::blockingLookup()
QStringList expected = addresses.split(' ');
expected.sort();
- QCOMPARE(tmp.join(" ").toUpper(), expected.join(" ").toUpper());
+ QCOMPARE(tmp.join(' ').toUpper(), expected.join(' ').toUpper());
}
void tst_QHostInfo::raceCondition()