From 080b0f825a1abdaecb68fded3a3e7211f24581df Mon Sep 17 00:00:00 2001 From: John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> Date: Thu, 28 Dec 2023 18:18:40 +0100 Subject: [PATCH] Add stubs for inputwin to fix autotests --- Makefile.am | 1 + tests/unittests/ui/stub_inputwin.c | 4 ++++ tests/unittests/ui/stub_inputwin.h | 1 + 3 files changed, 6 insertions(+) create mode 100644 tests/unittests/ui/stub_inputwin.c create mode 100644 tests/unittests/ui/stub_inputwin.h diff --git a/Makefile.am b/Makefile.am index f9c89d64..eef812aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -130,6 +130,7 @@ unittest_sources = \ tests/unittests/xmpp/stub_xmpp.c \ tests/unittests/xmpp/stub_message.c \ tests/unittests/ui/stub_ui.c tests/unittests/ui/stub_ui.h \ + tests/unittests/ui/stub_inputwin.c tests/unittests/ui/stub_inputwin.h \ tests/unittests/ui/stub_vcardwin.c \ tests/unittests/log/stub_log.c \ tests/unittests/chatlog/stub_chatlog.c \ diff --git a/tests/unittests/ui/stub_inputwin.c b/tests/unittests/ui/stub_inputwin.c new file mode 100644 index 00000000..f4005bae --- /dev/null +++ b/tests/unittests/ui/stub_inputwin.c @@ -0,0 +1,4 @@ +void +inp_add_watch(void) +{ +} \ No newline at end of file diff --git a/tests/unittests/ui/stub_inputwin.h b/tests/unittests/ui/stub_inputwin.h new file mode 100644 index 00000000..a7535da4 --- /dev/null +++ b/tests/unittests/ui/stub_inputwin.h @@ -0,0 +1 @@ +void inp_add_watch(void); \ No newline at end of file