Debugger: Remove need for debug builds in some dumper tests

Not needed anymore.

Change-Id: I206c2ae4e93306f8dc4fcea0dab727f769ad739c
Task-number: QTCREATORBUG-16908
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-12-05 13:55:42 +01:00
parent 62118e9d78
commit 90a4ff723b

View File

@@ -1859,7 +1859,6 @@ void tst_Dumpers::dumper_data()
"unused(&dir, &s, &fi);\n") "unused(&dir, &s, &fi);\n")
+ CoreProfile() + CoreProfile()
+ UseDebugImage()
+ QtVersion(0x50300) + QtVersion(0x50300)
+ Check("dir", tempDir, "@QDir") + Check("dir", tempDir, "@QDir")
@@ -2516,7 +2515,6 @@ void tst_Dumpers::dumper_data()
"child.setObjectName(\"A renamed Child\");\n") "child.setObjectName(\"A renamed Child\");\n")
+ CoreProfile() + CoreProfile()
+ UseDebugImage() // FIXME: Avoid the need. Needed for LLDB object name.
+ Check("child", "\"A renamed Child\"", "@QObject") + Check("child", "\"A renamed Child\"", "@QObject")
+ Check("parent", "\"A Parent\"", "@QObject"); + Check("parent", "\"A Parent\"", "@QObject");
@@ -2634,7 +2632,6 @@ void tst_Dumpers::dumper_data()
"unused(&ob, &ob1, &ob2);\n") "unused(&ob, &ob1, &ob2);\n")
+ GuiProfile() + GuiProfile()
+ UseDebugImage() // FIXME: Needed for QObject name
+ Check("ob", "\"An Object\"", "@QWidget") + Check("ob", "\"An Object\"", "@QWidget")
+ Check("ob1", "\"Another Object\"", "@QObject") + Check("ob1", "\"Another Object\"", "@QObject")
@@ -2765,7 +2762,6 @@ void tst_Dumpers::dumper_data()
"int pos2 = re.indexIn(str2); unused(&pos2);\n" "int pos2 = re.indexIn(str2); unused(&pos2);\n"
"QStringList caps = re.capturedTexts(); unused(&caps);\n") "QStringList caps = re.capturedTexts(); unused(&caps);\n")
+ CoreProfile() + CoreProfile()
+ UseDebugImage()
+ Check("re", "\"a(.*)b(.*)c\"", "@QRegExp") + Check("re", "\"a(.*)b(.*)c\"", "@QRegExp")
+ Check("re.captures.0", "[0]", "\"a1121b344c\"", "@QString") + Check("re.captures.0", "[0]", "\"a1121b344c\"", "@QString")
+ Check("re.captures.1", "[1]", "\"1121\"", "@QString") + Check("re.captures.1", "[1]", "\"1121\"", "@QString")
@@ -2837,7 +2833,6 @@ void tst_Dumpers::dumper_data()
"unused(&region0, &region1, &region2, &rects);\n") "unused(&region0, &region1, &region2, &rects);\n")
+ GuiProfile() + GuiProfile()
+ UseDebugImage()
+ Check("region0", "<0 items>", "@QRegion") + Check("region0", "<0 items>", "@QRegion")
+ Check("region1", "<1 items>", "@QRegion") + Check("region1", "<1 items>", "@QRegion")
@@ -3425,7 +3420,6 @@ void tst_Dumpers::dumper_data()
"}\n") "}\n")
+ CoreProfile() + CoreProfile()
+ UseDebugImage()
+ CheckType("this", "Thread") + CheckType("this", "Thread")
+ Check("this.@1", "[@QThread]", "\"This is thread #3\"", "@QThread"); + Check("this.@1", "[@QThread]", "\"This is thread #3\"", "@QThread");
@@ -3689,7 +3683,6 @@ void tst_Dumpers::dumper_data()
"unused(&ha1);\n") "unused(&ha1);\n")
+ NetworkProfile() + NetworkProfile()
+ UseDebugImage()
+ Check("ha", "\"127.0.0.1\"", "@QHostAddress") + Check("ha", "\"127.0.0.1\"", "@QHostAddress")
+ Check("ha.a", "2130706433", "@quint32") % NoCdbEngine + Check("ha.a", "2130706433", "@quint32") % NoCdbEngine
@@ -5895,7 +5888,6 @@ void tst_Dumpers::dumper_data()
+ CoreProfile() + CoreProfile()
+ QtVersion(0x50000) + QtVersion(0x50000)
+ UseDebugImage()
+ Check("file", "\"A file\"", "MyFile") + Check("file", "\"A file\"", "MyFile")
+ Check("file.@1", "[@QFile]", "\"/tmp/tt\"", "@QFile"); + Check("file.@1", "[@QFile]", "\"/tmp/tt\"", "@QFile");