diff options
author | Felix Geyer <debfx@fobos.de> | 2012-01-02 01:04:27 +0400 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2012-01-02 01:04:27 +0400 |
commit | a61057d7f666d58b62f7f593b59dc205e10e3b6f (patch) | |
tree | ce0d2e9ff7ec6ce7e38531b33581ad6962cc7f10 /tests/TestCryptoHash.cpp | |
parent | 17d0fb9963d9d02ea7d6fc8b52631d7ae6705cd6 (diff) |
Core tests instantiate QCoreApplication instead of QApplication.
This way they can be used without a running X server.
Diffstat (limited to 'tests/TestCryptoHash.cpp')
-rw-r--r-- | tests/TestCryptoHash.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestCryptoHash.cpp b/tests/TestCryptoHash.cpp index ea99d7fe4..cabb545a8 100644 --- a/tests/TestCryptoHash.cpp +++ b/tests/TestCryptoHash.cpp @@ -19,6 +19,7 @@ #include <QtTest/QTest> +#include "tests.h" #include "crypto/Crypto.h" #include "crypto/CryptoHash.h" @@ -47,4 +48,4 @@ void TestCryptoHash::test() QByteArray::fromHex("0b56e5f65263e747af4a833bd7dd7ad26a64d7a4de7c68e52364893dca0766b4")); } -QTEST_MAIN(TestCryptoHash); +KEEPASSX_QTEST_CORE_MAIN(TestCryptoHash) |