aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/tests/t-keylist.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Qt: Fix memleaks in testsAndre Heinecke2016-07-111-0/+6
| | | | | | | | | | * lang/qt/tests/t-keylist.cpp(cleanupTestCase): Ensure that posted events are handled for autodeletion. (testSingleKeylistSync): delete job. * lang/qt/tests/t-ownertrust.cpp(cleanupTestCase): Ditto * lang/qt/tests/t-ownertrust.cpp(testChangeOwnerTrust): Delete keylistjobs. * lang/qt/tests/t-keylocate.cpp(cleanupTestCase): Ditto
* Qt: Add test for publicKeyAlgorithmAsStringAndre Heinecke2016-07-061-0/+22
| | | | * lang/qt/tests/t-keylist.cpp (testPubkeyAlgoAsString): New.
* Qt: Add check for pubkeyAlgo in t-keylistAndre Heinecke2016-07-061-0/+4
| | | | | * lang/qt/tests/t-keylist.cpp (testSingleKeyListSync): Check pubkeyAlgo.
* Qt: Fix test build with Qt < 5.4.0Andre Heinecke2016-07-051-1/+1
| | | | | | | * lang/qt/tests/t-keylist.cpp, lang/qt/tests/t-keylocate.cpp, lang/qt/tests/t-ownertrust.cpp: Use old style SIGNAl syntax for QSignalSpy
* Qt: Add missing copyright header in testAndre Heinecke2016-05-131-0/+31
| | | | * lang/qt/tests/t-keylist.cpp: Add copyright header.
* Qt: Add test for async keylistingAndre Heinecke2016-05-101-0/+18
| | | | * src/lang/qt/tests/t-keylist.cpp(KeyListTest::testKeyListAsync): New.
* Qt: Fix unit test by adding initial.test depAndre Heinecke2016-04-111-0/+6
| | | | | | | | | | * lang/qt/tests/t-keylist.cpp: Verify that GNUPGHOME is set. * lang/qt/tests/initial.test: New dummy test. * lang/qt/tests/Makefile.am: Add dependency to initial.test -- Feels weird but this follows the pattern in tests/gpg/Makefile.am and solves the problem that the environment is dirty.
* Qt: Add static factor methods for protocolAndre Heinecke2016-04-031-2/+1
| | | | | | | | | | * lang/qt/src/qgpgmebackend.cpp (QGpgME::openpgp, QGpgME::smime): New. * lang/qt/src/qgpgmebackend.h: Declare. * lang/qt/tests/t-keylist.cpp (KeyListTest::testSingleKeyListSync): Use new functions. -- This replaces the cryptobackendfactory functionality from libkleo.
* Qt: Add a unit test for qgpgmeAndre Heinecke2016-04-031-0/+31
* configure.ac: Configure test Makefile. * m4/qt.m4: Look up Qt5Test flags. * lang/qt/tests/t-keylist.cpp: New. Simple keylist check. * lang/qt/tests/Makefile.am: New. General test framework. -- This test mostly checks that it basically compiles / works and adds a test framework.