Move qRegisterMetaType calls into initTestCase().
This commit is contained in:
@@ -25,11 +25,17 @@ class TestGroup : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testParenting();
|
||||
void testSignals();
|
||||
void testEntries();
|
||||
};
|
||||
|
||||
void TestGroup::initTestCase()
|
||||
{
|
||||
qRegisterMetaType<Group*>("Group*");
|
||||
}
|
||||
|
||||
void TestGroup::testParenting()
|
||||
{
|
||||
Database* db = new Database();
|
||||
|
||||
Reference in New Issue
Block a user