Added cmd_pgp tests

This commit is contained in:
James Booth
2015-06-18 00:12:01 +01:00
parent 97ba9d2692
commit 85cc5ab50d
6 changed files with 69 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
#include "test_cmd_sub.h"
#include "test_cmd_statuses.h"
#include "test_cmd_otr.h"
#include "test_cmd_pgp.h"
#include "test_jid.h"
#include "test_parser.h"
#include "test_roster_list.h"
@@ -539,6 +540,12 @@ int main(int argc, char* argv[]) {
unit_test(cmd_otr_shows_message_when_otr_unsupported),
#endif
#ifdef HAVE_LIBGPGME
unit_test(cmd_pgp_shows_usage_when_no_args),
#else
unit_test(cmd_pgp_shows_message_when_pgp_unsupported),
#endif
unit_test(cmd_join_shows_message_when_disconnecting),
unit_test(cmd_join_shows_message_when_connecting),
unit_test(cmd_join_shows_message_when_disconnected),