summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2016-04-11 09:16:37 +0200
committerDavid Schulz <david.schulz@theqtcompany.com>2016-04-12 13:55:36 +0000
commit54a51979c01437fdc6581b2b50062c23cfc662df (patch)
treefb5e2c188c0e9a46147497984934ad43c85242d6 /tests
parentfa37d7c4e88b0def5adf0aa80c34a2f68fb15d9c (diff)
downloadqt-creator-54a51979c01437fdc6581b2b50062c23cfc662df.tar.gz
Fix std::list dumper test for cdb.
Change-Id: I071b4c918cf6d236110c48085af607f8ff578e30 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index c8f33edda0..2dc8cf9410 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -3910,22 +3910,28 @@ void tst_Dumpers::dumper_data()
+ Check("l0", "<0 items>", "std::list<int>")
- + Check("l1", "<at least 1000 items>", "std::list<int>")
+ + Check("l1", "<at least 1000 items>", "std::list<int>") % NoCdbEngine
+ + Check("l1", "<10000 items>", "std::list<int>") % CdbEngine
+ Check("l1.0", "[0]", "0", "int")
+ Check("l1.1", "[1]", "1", "int")
- + Check("l1.999", "[999]", "999", "int")
+ + Check("l1.999", "[999]", "999", "int") % NoCdbEngine
+ + Check("l1.999", "[999]", "999", "int") % CdbEngine % Optional()
+ Check("l2", "<2 items>", "std::list<bool>")
+ Check("l2.0", "[0]", "true", "bool")
+ Check("l2.1", "[1]", "false", "bool")
+ Check("l3", "<3 items>", "std::list<int*>")
- + Check("l3.0", "[0]", "1", "int")
+ + Check("l3.0", "[0]", "1", "int") % NoCdbEngine
+ + Check("l3.0.*", "*", "1", "int") % CdbEngine
+ Check("l3.1", "[1]", "0x0", "int *")
- + Check("l3.2", "[2]", "2", "int")
+ + Check("l3.2", "[2]", "2", "int") % NoCdbEngine
+ + Check("l3.2.*", "*", "2", "int") % CdbEngine
- + Check("l4.@2.0", "[0]", "1", "int")
- + Check("l4.@2.1", "[1]", "2", "int");
+ + Check("l4.@2.0", "[0]", "1", "int") % NoCdbEngine
+ + Check("l4.@2.1", "[1]", "2", "int") % NoCdbEngine
+ + Check("l4.list@t1.0", "[0]", "1", "int") % CdbEngine
+ + Check("l4.list@t1.1", "[1]", "2", "int") % CdbEngine;
QTest::newRow("StdListQt")