#include <kunit/test.h>
#include "./hid-uclogic-params.h"
#define MAX_EVENT_SIZE …
struct uclogic_raw_event_hook_test { … };
static struct uclogic_raw_event_hook_test hook_events[] = …;
static struct uclogic_raw_event_hook_test test_events[] = …;
static void fake_work(struct work_struct *work)
{ … }
static void hid_test_uclogic_exec_event_hook_test(struct kunit *test)
{ … }
static struct kunit_case hid_uclogic_core_test_cases[] = …;
static struct kunit_suite hid_uclogic_core_test_suite = …;
kunit_test_suite(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;