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:
authorFlorian Geyer <blueice@fobos.de>2014-05-16 14:32:52 +0400
committerFlorian Geyer <blueice@fobos.de>2014-05-16 14:32:52 +0400
commit77af79498c566be89787d206c2fa88985463a932 (patch)
tree7219ffa915a803bfa55794b5e67d5e03a31b9ffa /tests/TestSymmetricCipher.cpp
parentea3375490c76ae410a7d1202cc8ce7a5e6d5f602 (diff)
Move QTEST_GUILESS_MAIN statements before test cases.
Diffstat (limited to 'tests/TestSymmetricCipher.cpp')
-rw-r--r--tests/TestSymmetricCipher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestSymmetricCipher.cpp b/tests/TestSymmetricCipher.cpp
index b47a00576..9f05db1bd 100644
--- a/tests/TestSymmetricCipher.cpp
+++ b/tests/TestSymmetricCipher.cpp
@@ -25,6 +25,8 @@
#include "crypto/SymmetricCipher.h"
#include "streams/SymmetricCipherStream.h"
+QTEST_GUILESS_MAIN(TestSymmetricCipher)
+
void TestSymmetricCipher::initTestCase()
{
Crypto::init();
@@ -192,5 +194,3 @@ void TestSymmetricCipher::testPadding()
QByteArray decrypted = streamDec.readAll();
QCOMPARE(decrypted, plainText);
}
-
-QTEST_GUILESS_MAIN(TestSymmetricCipher)