From 1910fe9175a990a1df497927cb9485782ebe3aad Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 12 Mar 2014 20:33:57 +0100 Subject: Debugger: Add dumper for boost::container::list Change-Id: I251a859ca63bf932cb0d22ef11b5492b75ebcadd Reviewed-by: Christian Stenger --- tests/auto/debugger/tst_dumpers.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') 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 \n", + "typedef std::pair p;\n" + "boost::container::list

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>") + + 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"); -- cgit v1.2.3