about summary refs log tree commit diff stats
path: root/tests/unittests/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-10-20 15:45:14 +0200
committerGitHub <noreply@github.com>2022-10-20 15:45:14 +0200
commit980fc189cd19486102e7638bb5d03bfe0dd7be62 (patch)
tree730d135fb92cb15b68717da1f5248c8bc6525019 /tests/unittests/ui
parentfc8455ba34fdb467cc2702e4e071e850eaaf9be7 (diff)
parentf934c5b59f2fe2c3c00a50135add4aec55ac4024 (diff)
downloadprofani-tty-980fc189cd19486102e7638bb5d03bfe0dd7be62.tar.gz
Merge pull request #1757 from techmetx11/feature/1158-vcard
Add XEP-0054 vCard support

Regards https://github.com/profanity-im/profanity/issues/1158
Diffstat (limited to 'tests/unittests/ui')
-rw-r--r--tests/unittests/ui/stub_ui.c5
-rw-r--r--tests/unittests/ui/stub_vcardwin.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index ee759bb2..f95ee0d8 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -1256,6 +1256,11 @@ win_create_plugin(const char* const plugin_name, const char* const tag)
 {
     return NULL;
 }
+ProfWin*
+win_create_vcard(vCard* vcard)
+{
+    return NULL;
+}
 
 char*
 win_get_tab_identifier(ProfWin* window)
diff --git a/tests/unittests/ui/stub_vcardwin.c b/tests/unittests/ui/stub_vcardwin.c
new file mode 100644
index 00000000..e73eb04b
--- /dev/null
+++ b/tests/unittests/ui/stub_vcardwin.c
@@ -0,0 +1,4 @@
+void
+vcardwin_update(void)
+{
+}