debugger: add manual test for QObject properties

Task-number: QTCREATORBUG-6863
Change-Id: I88c57d7255ebb41d2069af62b5b066b9b26be8b7
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-03-14 14:39:01 +01:00
committed by hjk
parent 0a8297f9a1
commit 4ab8925bc6

View File

@@ -5844,6 +5844,35 @@ namespace bug6858 {
}
}
namespace bug6863 {
class MyObject : public QObject
{
Q_OBJECT
public:
MyObject() {}
};
void setProp(QObject *obj)
{
obj->setProperty("foo", "bar");
BREAK_HERE;
// Expand obj.
// Check obj.[QObject].properties <2 items>.
// Continue.
dummyStatement(&obj);
}
void test6863()
{
MyObject obj;
setProp(&obj);
}
}
namespace bug6933 {
class Base
@@ -6161,6 +6190,7 @@ int main(int argc, char *argv[])
bug6465::test6465();
bug6857::test6857();
bug6858::test6858();
bug6863::test6863();
bug6933::test6933();
gdb13393::test13393();
gdb10586::test10586();