1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Tests: Add ox_announce_public_key stub

This commit is contained in:
Michael Vetter 2020-07-06 15:03:13 +02:00
parent 5a17957253
commit 87ddb8081e
2 changed files with 10 additions and 0 deletions

View File

@ -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 \

View File

@ -0,0 +1,9 @@
#include <stdio.h>
#include <glib.h>
#include <stdlib.h>
gboolean
ox_announce_public_key(const char* const filename)
{
return FALSE;
}