1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Use QTEST_GUILESS_MAIN

Summary: Allowing the tests to pass without a running X server.

Reviewers: #falkon, drosca

Differential Revision: https://phabricator.kde.org/D10389
This commit is contained in:
Heiko Becker 2018-02-07 18:00:44 +01:00
parent d8174fb079
commit a77ea28ac7
5 changed files with 5 additions and 5 deletions

View File

@ -108,4 +108,4 @@ void AdBlockTest::parseRegExpFilterTest()
QCOMPARE(rule_test.parseRegExpFilter(parsedFilter), result); QCOMPARE(rule_test.parseRegExpFilter(parsedFilter), result);
} }
QTEST_MAIN(AdBlockTest) QTEST_GUILESS_MAIN(AdBlockTest)

View File

@ -54,4 +54,4 @@ void DatabaseEncryptedPasswordBackendTest::cleanup()
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName()); QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
} }
QTEST_MAIN(DatabaseEncryptedPasswordBackendTest) QTEST_GUILESS_MAIN(DatabaseEncryptedPasswordBackendTest)

View File

@ -42,4 +42,4 @@ void DatabasePasswordBackendTest::cleanup()
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName()); QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
} }
QTEST_MAIN(DatabasePasswordBackendTest) QTEST_GUILESS_MAIN(DatabasePasswordBackendTest)

View File

@ -276,4 +276,4 @@ QString QzToolsTest::createPath(const char *file) const
return m_tmpPath + QL1S("/") + file; return m_tmpPath + QL1S("/") + file;
} }
QTEST_MAIN(QzToolsTest) QTEST_GUILESS_MAIN(QzToolsTest)

View File

@ -92,4 +92,4 @@ void UpdaterTest::compareVersionsTest()
QCOMPARE(v1 == v2, equal); QCOMPARE(v1 == v2, equal);
} }
QTEST_MAIN(UpdaterTest) QTEST_GUILESS_MAIN(UpdaterTest)