Commit d238959a authored by hjk's avatar hjk
Browse files

Debugger: Add auto test for QByteArray::Data dumper



Change-Id: I2be3fe953f497768c564e393e3f2b23b47a1fa1d
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 4a596c8e
...@@ -1019,6 +1019,13 @@ void tst_Dumpers::dumper_data() ...@@ -1019,6 +1019,13 @@ void tst_Dumpers::dumper_data()
% Check("a.f", "5.88545355e-44", "float") % Check("a.f", "5.88545355e-44", "float")
% Check("a.i", "42", "int"); % Check("a.i", "42", "int");
QTest::newRow("QByteArrayData")
<< Data("#include <QByteArray>\n",
"QByteArrayData ba;"
% CoreProfile()
% Check("ba", Value4(""), "@QByteArrayData")
% Check("ba", Value5(""), "@QByteArrayData");
QTest::newRow("QByteArray0") QTest::newRow("QByteArray0")
<< Data("#include <QByteArray>\n", << Data("#include <QByteArray>\n",
"QByteArray ba;") "QByteArray ba;")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment