summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-11-03 20:39:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-03 20:40:15 +0100
commit9e115eff279689fc022b4b4b921fdd105111c048 (patch)
tree232e3a5778859e3492990868f06508d85e6976a1 /tests/auto
parent4779f692379430a925dbabc63a0ae8622c7e07d9 (diff)
downloadqtwebsockets-9e115eff279689fc022b4b4b921fdd105111c048.tar.gz
Convert string from utf8 to make VS happy
Change-Id: I5cc2c3d0ffe237c6c0bf3f7ef37d28e08c2fd02e Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/dataprocessor/tst_dataprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/dataprocessor/tst_dataprocessor.cpp b/tests/auto/dataprocessor/tst_dataprocessor.cpp
index 3edf57d..0b624e6 100644
--- a/tests/auto/dataprocessor/tst_dataprocessor.cpp
+++ b/tests/auto/dataprocessor/tst_dataprocessor.cpp
@@ -305,7 +305,7 @@ void tst_DataProcessor::goodTextFrame_data()
}
//UC 6.2
- QTest::newRow(QStringLiteral("Text frame containing Hello-µ@ßöäüàá-UTF-8!!").toStdString().data()) << QByteArray::fromHex("48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121") << QStringLiteral("Hello-µ@ßöäüàá-UTF-8!!").size();
+ QTest::newRow(QString::fromUtf8("Text frame containing Hello-µ@ßöäüàá-UTF-8!!").toLatin1().data()) << QByteArray::fromHex("48656c6c6f2dc2b540c39fc3b6c3a4c3bcc3a0c3a12d5554462d382121") << QStringLiteral("Hello-µ@ßöäüàá-UTF-8!!").size();
}
void tst_DataProcessor::goodTextFrame()