Skip to content

Commit

Permalink
Merge branch 'mer-guiless-tests' into 'master'
Browse files Browse the repository at this point in the history
tests: use QTEST_GUILESS_MAIN

See merge request mer-core/buteo-syncfw!68
  • Loading branch information
pvuorela committed May 24, 2021
2 parents 4553308 + f32eea1 commit b88bd53
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Expand Up @@ -54,4 +54,4 @@ void ClientPluginTest::testCreateDestroy()
QVERIFY( pluginManager.iLoadedDlls.count() == 0 );
}

QTEST_MAIN(Buteo::ClientPluginTest)
QTEST_GUILESS_MAIN(Buteo::ClientPluginTest)
Expand Up @@ -122,4 +122,4 @@ void DeletedItemsIdStorageTest::testSnapshot()
}


QTEST_MAIN(Buteo::DeletedItemsIdStorageTest)
QTEST_GUILESS_MAIN(Buteo::DeletedItemsIdStorageTest)
Expand Up @@ -52,4 +52,4 @@ void ServerPluginTest::testCreateDestroy()
QVERIFY( pluginManager.iLoadedDlls.count() == 0 );
}

QTEST_MAIN(Buteo::ServerPluginTest)
QTEST_GUILESS_MAIN(Buteo::ServerPluginTest)
Expand Up @@ -50,4 +50,4 @@ void StoragePluginTest::testCreateDestroy()
QVERIFY( pluginManager.iLoadedDlls.count() == 0 );
}

QTEST_MAIN(Buteo::StoragePluginTest)
QTEST_GUILESS_MAIN(Buteo::StoragePluginTest)
Expand Up @@ -103,4 +103,4 @@ void ProfileFactoryTest::testCreateFromXml()

}

QTEST_MAIN(Buteo::ProfileFactoryTest)
QTEST_GUILESS_MAIN(Buteo::ProfileFactoryTest)
Expand Up @@ -70,4 +70,4 @@ void ProfileFieldTest::testField()
QCOMPARE(doc.toString(), doc2.toString());
}

QTEST_MAIN(Buteo::ProfileFieldTest)
QTEST_GUILESS_MAIN(Buteo::ProfileFieldTest)
Expand Up @@ -675,4 +675,4 @@ void ProfileManagerTest::testBackup()
QVERIFY(!QFile::exists(fileName + ".bak"));
}

QTEST_MAIN(Buteo::ProfileManagerTest)
QTEST_GUILESS_MAIN(Buteo::ProfileManagerTest)
Expand Up @@ -453,4 +453,4 @@ QString ProfileTest::profileFileToString(const QString &aName,
}


QTEST_MAIN(Buteo::ProfileTest)
QTEST_GUILESS_MAIN(Buteo::ProfileTest)
Expand Up @@ -64,4 +64,4 @@ void StorageProfileTest::testStorageProfile()
QCOMPARE(p->isEnabled(), true);
}

QTEST_MAIN(Buteo::StorageProfileTest)
QTEST_GUILESS_MAIN(Buteo::StorageProfileTest)
Expand Up @@ -298,4 +298,4 @@ void SyncLogTest::testAddDetails()
TargetResults::ITEM_OPERATION_FAILED).isEmpty());
}

QTEST_MAIN(Buteo::SyncLogTest)
QTEST_GUILESS_MAIN(Buteo::SyncLogTest)
Expand Up @@ -223,4 +223,4 @@ void SyncProfileTest::testSubProfiles()

}

QTEST_MAIN(Buteo::SyncProfileTest)
QTEST_GUILESS_MAIN(Buteo::SyncProfileTest)

0 comments on commit b88bd53

Please sign in to comment.