aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/debugger/tst_dumpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/debugger/tst_dumpers.cpp')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index d50879b287..9039eabef8 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -4887,6 +4887,18 @@ GdbEngine
+ Check("p3", "Thu Jan 1 00:00:00 1970", "boost::posix_time::ptime");
+ QTest::newRow("BoostList")
+ << Data("#include <boost/container/list.hpp>\n",
+ "typedef std::pair<int, double> p;\n"
+ "boost::container::list<p> l;\n"
+ "l.push_back(p(13, 61));\n"
+ "l.push_back(p(14, 64));\n"
+ "l.push_back(p(15, 65));\n"
+ "l.push_back(p(16, 66));\n")
+ + BoostProfile()
+ + Check("l", "<4 items>", "boost::container::list<std::pair<int,double>>")
+ + Check("l.2.second", "65", "double");
+
// // This tests qdump__KRBase in share/qtcreator/debugger/qttypes.py which uses
// // a static typeflag to dispatch to subclasses");