From 82c3cea46496d8ddee7e34bff8abd87891060f64 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 15 Jan 2023 10:52:57 +0100 Subject: [PATCH] tests: Remove unused mock-libfeedback.h --- tests/meson.build | 2 +- tests/mock-libfeedback.h | 28 ---------------------------- tests/test-ringer.c | 1 - 3 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 tests/mock-libfeedback.h diff --git a/tests/meson.build b/tests/meson.build index 1c9dca6..61f9f96 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -82,7 +82,7 @@ t = executable('ui-call', test_sources, test('ui-call', t, env: test_env) test_sources = [ - 'mock-call.c', 'mock-call.h', 'mock-libfeedback.h', + 'mock-call.c', 'mock-call.h', 'test-ringer.c' ] diff --git a/tests/mock-libfeedback.h b/tests/mock-libfeedback.h deleted file mode 100644 index 66bdcab..0000000 --- a/tests/mock-libfeedback.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#define LIBFEEDBACK_USE_UNSTABLE_API - -#include -#include - - -gboolean __wrap_lfb_init (const char *app_id, - GError **error); -void __wrap_lfb_uninit (void); -void __wrap_lfb_event_set_feedback_profile (LfbEvent *self, - const char *profile); - -void __wrap_lfb_event_trigger_feedback_async (LfbEvent *self, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean __wrap_lfb_event_trigger_feedback_finish (LfbEvent *self, - GAsyncResult *res, - GError **error); -void __wrap_lfb_event_end_feedback_async (LfbEvent *self, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); -gboolean __wrap_lfb_event_end_feedback_finish (LfbEvent *self, - GAsyncResult *res, - GError **error); diff --git a/tests/test-ringer.c b/tests/test-ringer.c index fc953ce..4c44ea2 100644 --- a/tests/test-ringer.c +++ b/tests/test-ringer.c @@ -11,7 +11,6 @@ #include "calls-ringer.h" #include "calls-ui-call-data.h" #include "mock-call.h" -#include "mock-libfeedback.h" #include "mock-contacts-provider.h"