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:
parent
5a17957253
commit
87ddb8081e
@ -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 \
|
||||
|
9
tests/unittests/xmpp/stub_ox.c
Normal file
9
tests/unittests/xmpp/stub_ox.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user