From a61057d7f666d58b62f7f593b59dc205e10e3b6f Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 1 Jan 2012 22:04:27 +0100 Subject: Core tests instantiate QCoreApplication instead of QApplication. This way they can be used without a running X server. --- tests/TestSymmetricCipher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/TestSymmetricCipher.cpp') 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 #include +#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) -- cgit v1.2.3