Debugger: Adjust std map test to msvc iterator dumper

Change-Id: I3c9e4138d2e0a3ec4083f01d243eb707905e9f18
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2017-01-19 08:02:54 +01:00
parent 1e0b7e58b8
commit c8bd342597
+6 -4
View File
@@ -4264,10 +4264,12 @@ void tst_Dumpers::dumper_data()
+ Check("map3", "<6 items>", TypeDef("std::map<int, float>", "Map"))
+ Check("map3.0", "[0] 11", FloatValue("11"), "")
+ Check("it1.first", "11", "int")
+ Check("it1.second", FloatValue("11"), "float")
+ Check("it6.first", "66", "int")
+ Check("it6.second", FloatValue("66"), "float")
+ Check("it1.first", "11", "int") % NoCdbEngine
+ Check("it1.second", FloatValue("11"), "float") % NoCdbEngine
+ Check("it6.first", "66", "int") % NoCdbEngine
+ Check("it6.second", FloatValue("66"), "float") % NoCdbEngine
+ Check("it1.0", "11", FloatValue("11"), "") % CdbEngine
+ Check("it6.0", "66", FloatValue("66"), "") % CdbEngine
+ Check("map4", "<5 items>", "std::multimap<unsigned int, float>")
+ Check("map4.0", "[0] 11", FloatValue("11"), "")