about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-10 01:23:27 +0000
committerJames Booth <boothj5@gmail.com>2015-11-10 01:23:27 +0000
commitefb732e3c1318b8a3f493a48142a7f35b0a5acd7 (patch)
tree190bebf03f921c8bdab6ba74190c4cbe6b2913a4
parent9302188a32fe2065927555a2a1d5438b8f128e1a (diff)
downloadprofani-tty-efb732e3c1318b8a3f493a48142a7f35b0a5acd7.tar.gz
Fixed tests
-rw-r--r--tests/unittests/ui/stub_ui.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index 6ebf4803..fe553a8c 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -262,6 +262,17 @@ void ui_redraw_all_room_rosters(void) {}
 void ui_show_all_room_rosters(void) {}
 void ui_hide_all_room_rosters(void) {}
 
+gboolean jabber_conn_is_secured(void)
+{
+    return TRUE;
+}
+TLSCertificate* jabber_get_tls_peer_cert(void)
+{
+    return NULL;
+}
+void cons_show_tlscert(TLSCertificate *cert) {}
+
+
 void ui_prune_wins(void) {}
 
 void ui_handle_login_account_success(ProfAccount *account, int secured) {}