Debugger: Adjust tests after change to member sort order

Change-Id: Iff3b9781ad9842b325d346a77514aa7a935d4570
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-07-07 15:27:59 +02:00
parent a28ac6307f
commit e2b0641f28
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -1759,6 +1759,7 @@ class Tester(Dumper):
self.expandedINames = set(expandedINames)
self.passExceptions = True
self.sortStructMembers = True
self.loadDumpers({})
error = lldb.SBError()
+6 -6
View File
@@ -3866,8 +3866,8 @@ void tst_Dumpers::dumper_data()
+ Check("l3.1", "[1]", "0x0", "int *")
+ Check("l3.2", "[2]", "2", "int")
+ Check("l4.@1.0", "[0]", "1", "int")
+ Check("l4.@1.1", "[1]", "2", "int");
+ Check("l4.@0.0", "[0]", "1", "int")
+ Check("l4.@0.1", "[1]", "2", "int");
QTest::newRow("StdListQt")
@@ -5651,10 +5651,10 @@ void tst_Dumpers::dumper_data()
"unused(&c.S2::v);\n")
+ NoLldbEngine
+ Check("c.c", "1", "int")
+ Check("c.@1.@2.a", "42", "int")
+ Check("c.@1.@4.v", "45", "int")
+ Check("c.@2.@2.a", "43", "int")
+ Check("c.@2.@4.v", "45", "int");
+ Check("c.@1.@1.a", "42", "int")
+ Check("c.@1.@3.v", "45", "int")
+ Check("c.@2.@1.a", "43", "int")
+ Check("c.@2.@3.v", "45", "int");
// FIXME: Virtual inheritance doesn't work with LLDB 300
QTest::newRow("InheritanceLldb")