| 113 | } |
| 114 | |
| 115 | void testROMetaObject() |
| 116 | { |
| 117 | PropertyTestObject obj; |
| 118 | auto adaptor = PropertyAdaptorFactory::create(ObjectInstance(&obj, "QObject"), this); |
| 119 | QVERIFY(adaptor); |
| 120 | |
| 121 | QCOMPARE(adaptor->count(), 4); |
| 122 | verifyPropertyData(adaptor); |
| 123 | testProperty(adaptor, "parent", "QObject*", "QObject", PropertyData::Readable); |
| 124 | testProperty(adaptor, "thread", "QThread*", "QObject", PropertyData::Readable); |
| 125 | QVERIFY(!adaptor->canAddProperty()); |
| 126 | } |
| 127 | |
| 128 | void testRWMetaObject() |
| 129 | { |
nothing calls this directly
no test coverage detected