summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-07-10 09:48:51 +0200
committerhjk <qtc-committer@nokia.com>2009-07-10 09:50:51 +0200
commit717ae824ce21036e3ebc9a8a7f01ba8c90429eb3 (patch)
tree2c75c53aafcc1ad2d208828fc569ef50f049d17e /tests
parent452c7124224c8983d8cb2b9acc85e1b5f79a7799 (diff)
downloadqt-creator-717ae824ce21036e3ebc9a8a7f01ba8c90429eb3.tar.gz
debugger: fix regression in QVector dumper
Was broken due to a change in the QVector implementation (See 343e848abc1 and a07385de156 in Qt master)
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/app.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index c230f2733f..ff3feca27a 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -616,6 +616,10 @@ void testStdDeque()
void testStdList()
{
+ std::list<int> big;
+ for (int i = 0; i < 10000; ++i)
+ big.push_back(i);
+
std::list<int *> plist1;
plist1.push_back(new int(1));
plist1.push_back(0);
@@ -977,7 +981,6 @@ void testQVector()
QVector<Foo> flist;
flist.append(1);
-
flist.append(2);
flist.append(3);
flist.append(4);