diff options
author | hjk <hjk121@nokiamail.com> | 2014-01-30 14:32:29 +0100 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-01-30 15:57:14 +0100 |
commit | e6e808669fb86ee33d542f976c60e15bc3c71a31 (patch) | |
tree | 7f7b31326506d90af4e4c7ea9d3d16f251d3ece0 /tests/auto/debugger | |
parent | 4d8a210c5a1df92455942a8b39cd587a27c44e57 (diff) | |
download | qt-creator-e6e808669fb86ee33d542f976c60e15bc3c71a31.tar.gz |
Debugger: Require DYLD_IMAGE_SUFFIX for QObject name tests
Would be nice to be able to avoid that...
Change-Id: Ib73de2d21266c2dd77dfda06c8b8b579a25f37ca
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'tests/auto/debugger')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index e072fcb51a..b6238702de 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -2195,7 +2195,7 @@ void tst_Dumpers::dumper_data() "child.setObjectName(\"A renamed Child\");\n") % CoreProfile() - % UseDebugImage() // FIXME: Avoid the need. + % UseDebugImage() // FIXME: Avoid the need. Needed for LLDB object name. % Check("child", "\"A renamed Child\"", "@QObject") % Check("parent", "\"A Parent\"", "@QObject"); @@ -2256,6 +2256,7 @@ void tst_Dumpers::dumper_data() "#include <QStringList>\n" "#include <QVariant>\n" "#include <QApplication>\n", + "QApplication app(argc, argv);\n" "QWidget ob;\n" "ob.setObjectName(\"An Object\");\n" @@ -2275,11 +2276,15 @@ void tst_Dumpers::dumper_data() "obs.append(&app);\n" "ob2.setObjectName(\"A Subobject\");\n" "unused(&ob, &ob1, &ob2);\n") + % GuiProfile() + % UseDebugImage() // FIXME: Needed for QObject name + % Check("ob", "\"An Object\"", "@QWidget") % Check("ob1", "\"Another Object\"", "@QObject") % Check("ob2", "\"A Subobject\"", "@QObject"); + QByteArray senderData = " class Sender : public QObject\n" " {\n" |