diff options
author | Florian Geyer <blueice@fobos.de> | 2014-05-16 14:32:52 +0400 |
---|---|---|
committer | Florian Geyer <blueice@fobos.de> | 2014-05-16 14:32:52 +0400 |
commit | 77af79498c566be89787d206c2fa88985463a932 (patch) | |
tree | 7219ffa915a803bfa55794b5e67d5e03a31b9ffa /tests/TestCryptoHash.cpp | |
parent | ea3375490c76ae410a7d1202cc8ce7a5e6d5f602 (diff) |
Move QTEST_GUILESS_MAIN statements before test cases.
Diffstat (limited to 'tests/TestCryptoHash.cpp')
-rw-r--r-- | tests/TestCryptoHash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestCryptoHash.cpp b/tests/TestCryptoHash.cpp index 4f258a179..d189d456c 100644 --- a/tests/TestCryptoHash.cpp +++ b/tests/TestCryptoHash.cpp @@ -23,6 +23,8 @@ #include "crypto/Crypto.h" #include "crypto/CryptoHash.h" +QTEST_GUILESS_MAIN(TestCryptoHash) + void TestCryptoHash::initTestCase() { Crypto::init(); @@ -47,5 +49,3 @@ void TestCryptoHash::test() QCOMPARE(cryptoHash3.result(), QByteArray::fromHex("0b56e5f65263e747af4a833bd7dd7ad26a64d7a4de7c68e52364893dca0766b4")); } - -QTEST_GUILESS_MAIN(TestCryptoHash) |