| 81 | } |
| 82 | |
| 83 | static void testPropertyType() |
| 84 | { |
| 85 | for (int i = staticMetaObject.propertyOffset(); i < staticMetaObject.propertyCount(); ++i) { |
| 86 | const auto property = staticMetaObject.property(i); |
| 87 | if (strstr(property.name(), "fail") == property.name()) |
| 88 | QVERIFY(QMetaObjectValidator::checkProperty(&staticMetaObject, property) == QMetaObjectValidatorResult::NoIssue); |
| 89 | else |
| 90 | QVERIFY((QMetaObjectValidator::checkProperty(&staticMetaObject, property) & QMetaObjectValidatorResult::UnknownPropertyType) == 0); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | static void testObject() |
| 95 | { |
nothing calls this directly
no test coverage detected