Commit e2b0641f authored by hjk's avatar hjk

Debugger: Adjust tests after change to member sort order

Change-Id: Iff3b9781ad9842b325d346a77514aa7a935d4570
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent a28ac630
......@@ -1759,6 +1759,7 @@ class Tester(Dumper):
self.expandedINames = set(expandedINames)
self.passExceptions = True
self.sortStructMembers = True
self.loadDumpers({})
error = lldb.SBError()
......
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment