Qt: Add encryption test and refactor testsuite
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 9 Aug 2016 12:10:15 +0000 (14:10 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 9 Aug 2016 12:23:51 +0000 (14:23 +0200)
commitf209ec8f581ae597b37f2e3a5e452e4b53b2d4c7
tree810a34c62c736aa302cb4e955086d96bf7276b0e
parent34b456c3fb9e59788b07a75441da482bb28bda87
Qt: Add encryption test and refactor testsuite

* lang/qt/tests/Makefile.am: Add t-encrypt and t-support.
* lang/qt/tests/t-support.cpp, lang/qt/tests/t-support.c (QGpgMETest):
New. Class to handle common cleanup / init.
* lang/qt/tests/t-keylist.cpp,
lang/qt/tests/t-keylocate.cpp,
lang/qt/tests/t-ownertrust.cpp,
lang/qt/tests/t-tofuinfo.cpp: Inherit QGpgMETest.
* lang/qt/tests/t-encrypt.cpp: New. Test Symetric and Asymectric
encryption. Mixed encryption test is disabled.
lang/qt/tests/Makefile.am
lang/qt/tests/t-encrypt.cpp [new file with mode: 0644]
lang/qt/tests/t-keylist.cpp
lang/qt/tests/t-keylocate.cpp
lang/qt/tests/t-ownertrust.cpp
lang/qt/tests/t-support.cpp [new file with mode: 0644]
lang/qt/tests/t-support.h
lang/qt/tests/t-tofuinfo.cpp