diff options
author | hjk <hjk121@nokiamail.com> | 2014-01-24 17:02:23 +0100 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-01-24 17:36:27 +0100 |
commit | cc3facd9443dd9d3d192fd7984642437f17f9803 (patch) | |
tree | 2dc976483ea2e9da5c43054cae8b72b12450748a /tests/auto/debugger | |
parent | 864e61d63f17ad3027034f88b96522f1357dfcc9 (diff) | |
download | qt-creator-cc3facd9443dd9d3d192fd7984642437f17f9803.tar.gz |
Debugger: Enable QObject property display with LLDB
Finally.
Change-Id: I3257ffbb23ca2ea4eec9a97335a95580c9c4482b
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'tests/auto/debugger')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 520c93a6a6..10f5cfbeec 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -2228,7 +2228,6 @@ void tst_Dumpers::dumper_data() QTest::newRow("QObject2") << Data("#include <QWidget>\n" "#include <QApplication>\n" - "namespace Names {\n" "namespace Bar {\n" " struct Ui { Ui() { w = 0; } QWidget *w; };\n" " class TestObject : public QObject\n" @@ -2257,11 +2256,10 @@ void tst_Dumpers::dumper_data() " QByteArray m_myProp2;\n" " };\n" "} // namespace Bar\n" - "} // namespace Names\n" "#include <main.moc>\n", "" "QApplication app(argc, argv);\n" - "Names::Bar::TestObject test;\n" + "Bar::TestObject test;\n" "test.setMyProp1(\"Hello\");\n" "test.setMyProp2(\"World\");\n" "QString s = test.myProp1();\n" @@ -2269,7 +2267,7 @@ void tst_Dumpers::dumper_data() "unused(&app, &test, &s);\n") % GuiProfile() % Check("s", "\"HelloWorld\"", "@QString") - % Check("test", "", "Names::Bar::TestObject") + % Check("test", "", "Bar::TestObject") % Check("test.[properties]", "<4 items>", "") % Check("test.[properties].myProp1", "\"Hello\"", "@QVariant (QString)") % Check("test.[properties].myProp2", "\"World\"", "@QVariant (QByteArray)") |