Commit 529c8a69 authored by hjk's avatar hjk

Debugger: Fix recent dumper autotest regression

Change-Id: Iefddda1e5781f10eb63095e2e513893bb9a3ebf6
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent ffadc5bf
......@@ -3326,7 +3326,7 @@ void tst_Dumpers::dumper_data()
<< Data("#include <QVector>\n",
"QVector<int> vec(10000);\n"
"for (int i = 0; i != vec.size(); ++i)\n"
" vec[i] = i * i\n")
" vec[i] = i * i;\n")
% Check("vec", "<10000 items>", "@QVector<int>")
% Check("vec.0", "[0]", "0", "int")
% Check("vec.1999", "[1999]", "3996001", "int");
......@@ -3749,10 +3749,10 @@ void tst_Dumpers::dumper_data()
// % Check("t2", "0", "basic::myType2");
QTest::newRow("Struct")
<< Data(fooData, "Foo f(2);\n")
<< Data(fooData, "Foo f(3);\n")
% Check("f", "", "Foo")
% Check("f.a", "2", "int")
% Check("f.b", "-1", "int");
% Check("f.a", "3", "int")
% Check("f.b", "2", "int");
QTest::newRow("Union")
<< Data("union U { int a; int b; };", "U u;")
......
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