mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 02:56:21 +00:00
Added cmd_pgp tests
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user