Schnuffel Hasi
Schnuffel Hasi

Reputation: 11

How can I declare own methods in QTest test class?

Is it possible to declare a method in a QTest class (that extends QObject and uses the QOBJECT macro) which won't be executed by the framework, but can be used to bundle repeating routines?

When I try to declare a void method inside this class, the compiler reports a missing type specifier. Apparently this is usually a namespace issue, but using namespace std causes the meta object compiler to fail.

Upvotes: 0

Views: 33

Answers (0)

Related Questions