summaryrefslogtreecommitdiff
path: root/android/tester-hidhost.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-07-03 18:00:14 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-07-14 16:58:38 +0200
commit84bbd9ae25b83d8a4505162ebcb6d62a925c369c (patch)
tree59b23c967f4e0dc70bccab72bd9949fc712175b4 /android/tester-hidhost.c
parent5014b6509ce782661f69a6864f28d3bf143ae5f3 (diff)
downloadbluez-84bbd9ae25b83d8a4505162ebcb6d62a925c369c.tar.gz
android/tester-hidhost: Add initial test case
Diffstat (limited to 'android/tester-hidhost.c')
-rw-r--r--android/tester-hidhost.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/android/tester-hidhost.c b/android/tester-hidhost.c
index 1df7e7c91..87c945284 100644
--- a/android/tester-hidhost.c
+++ b/android/tester-hidhost.c
@@ -19,10 +19,24 @@
static struct queue *list; /* List of hidhost test cases */
+static struct step dummy_steps[] = {
+ {
+ .action = dummy_action,
+ },
+};
+static struct test_case hidhost_init = {
+ .step = dummy_steps,
+ .title = "Hidhost Init",
+ .step_num = get_test_case_step_num(dummy_steps),
+};
+
struct queue *get_hidhost_tests(void)
{
list = queue_new();
+ if (!queue_push_tail(list, &hidhost_init))
+ return NULL;
+
return list;
}