diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-07-06 15:03:13 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-07-06 15:03:13 +0200 |
commit | 87ddb8081ea237573b6825685edbe1c780b1e628 (patch) | |
tree | bb26b389c263472ad5e49f0cc24caea49149ab8b | |
parent | 5a179572535805022580b264a99df60a47cb935d (diff) | |
download | profani-tty-87ddb8081ea237573b6825685edbe1c780b1e628.tar.gz |
Tests: Add ox_announce_public_key stub
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | tests/unittests/xmpp/stub_ox.c | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a8a72ec8..95175c0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -113,6 +113,7 @@ unittest_sources = \ src/event/client_events.c src/event/client_events.h \ src/ui/tray.h src/ui/tray.c \ tests/unittests/xmpp/stub_avatar.c \ + tests/unittests/xmpp/stub_ox.c \ tests/unittests/xmpp/stub_xmpp.c \ tests/unittests/xmpp/stub_message.c \ tests/unittests/ui/stub_ui.c tests/unittests/ui/stub_ui.h \ diff --git a/tests/unittests/xmpp/stub_ox.c b/tests/unittests/xmpp/stub_ox.c new file mode 100644 index 00000000..11529533 --- /dev/null +++ b/tests/unittests/xmpp/stub_ox.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <glib.h> +#include <stdlib.h> + +gboolean +ox_announce_public_key(const char* const filename) +{ + return FALSE; +} |