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:
parent
d8174fb079
commit
a77ea28ac7
|
@ -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)
|
||||||
|
|
|
@ -54,4 +54,4 @@ void DatabaseEncryptedPasswordBackendTest::cleanup()
|
||||||
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
|
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(DatabaseEncryptedPasswordBackendTest)
|
QTEST_GUILESS_MAIN(DatabaseEncryptedPasswordBackendTest)
|
||||||
|
|
|
@ -42,4 +42,4 @@ void DatabasePasswordBackendTest::cleanup()
|
||||||
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
|
QSqlDatabase::removeDatabase(QSqlDatabase::database().databaseName());
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(DatabasePasswordBackendTest)
|
QTEST_GUILESS_MAIN(DatabasePasswordBackendTest)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -92,4 +92,4 @@ void UpdaterTest::compareVersionsTest()
|
||||||
QCOMPARE(v1 == v2, equal);
|
QCOMPARE(v1 == v2, equal);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_MAIN(UpdaterTest)
|
QTEST_GUILESS_MAIN(UpdaterTest)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user