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/TestSymmetricCipher.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/TestSymmetricCipher.cpp')
-rw-r--r-- | tests/TestSymmetricCipher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestSymmetricCipher.cpp b/tests/TestSymmetricCipher.cpp index 669a58049..f26c65659 100644 --- a/tests/TestSymmetricCipher.cpp +++ b/tests/TestSymmetricCipher.cpp @@ -20,6 +20,7 @@ #include <QtCore/QBuffer> #include <QtTest/QTest> +#include "tests.h" #include "crypto/Crypto.h" #include "crypto/SymmetricCipher.h" #include "streams/SymmetricCipherStream.h" @@ -160,4 +161,4 @@ void TestSymmetricCipher::testSalsa20() QCOMPARE(cipherTextB.mid(448, 64), expectedCipherText4); } -QTEST_MAIN(TestSymmetricCipher); +KEEPASSX_QTEST_CORE_MAIN(TestSymmetricCipher) |