Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2012-01-02 01:04:27 +0400
committerFelix Geyer <debfx@fobos.de>2012-01-02 01:04:27 +0400
commita61057d7f666d58b62f7f593b59dc205e10e3b6f (patch)
treece0d2e9ff7ec6ce7e38531b33581ad6962cc7f10 /tests/TestCryptoHash.cpp
parent17d0fb9963d9d02ea7d6fc8b52631d7ae6705cd6 (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.cpp3
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)