summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 15:13:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-03 17:30:35 +0200
commitfd43e238233142bdd6b045c69f9cbb56b3601984 (patch)
tree2d6262f47899458054faa9e4a278db45c3c7ab0f /tests
parentaa38299ebe4d330b786d09003e5c06909447eae4 (diff)
downloadqtxmlpatterns-fd43e238233142bdd6b045c69f9cbb56b3601984.tar.gz
Change remaining uses of {to,from}Ascii to {to,from}Latin1 [other]
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ib84e307f486cb3049f0b61a667caa40799394f86 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/network-settings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/network-settings.h b/tests/auto/network-settings.h
index f2c12bc..179eea9 100644
--- a/tests/auto/network-settings.h
+++ b/tests/auto/network-settings.h
@@ -82,12 +82,12 @@ public:
// Mandriva; old test server
expected << QByteArray( "* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED] " )
- .append(QtNetworkSettings::serverName().toAscii())
+ .append(QtNetworkSettings::serverName().toLatin1())
.append(" Cyrus IMAP4 v2.3.11-Mandriva-RPM-2.3.11-6mdv2008.1 server ready\r\n");
// Ubuntu 10.04; new test server
expected << QByteArray( "* OK " )
- .append(QtNetworkSettings::serverLocalName().toAscii())
+ .append(QtNetworkSettings::serverLocalName().toLatin1())
.append(" Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready\r\n");
// Feel free to add more as needed
@@ -107,12 +107,12 @@ public:
// Mandriva; old test server
expected << QByteArray( "* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=PLAIN SASL-IR] " )
- .append(QtNetworkSettings::serverName().toAscii())
+ .append(QtNetworkSettings::serverName().toLatin1())
.append(" Cyrus IMAP4 v2.3.11-Mandriva-RPM-2.3.11-6mdv2008.1 server ready\r\n");
// Ubuntu 10.04; new test server
expected << QByteArray( "* OK " )
- .append(QtNetworkSettings::serverLocalName().toAscii())
+ .append(QtNetworkSettings::serverLocalName().toLatin1())
.append(" Cyrus IMAP4 v2.2.13-Debian-2.2.13-19 server ready\r\n");
// Feel free to add more as needed