Move qRegisterMetaType calls into initTestCase().

This commit is contained in:
Felix Geyer 2010-09-18 17:15:22 +02:00
parent 36d974649e
commit c93ac9f6fc
3 changed files with 17 additions and 3 deletions

View file

@ -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();