diff options
author | Jakub Tyszkowski <jakub.tyszkowski@tieto.com> | 2014-07-17 10:29:49 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-07-18 09:49:12 +0200 |
commit | 3f93ade5723934e33c421bfd683a6466ab400e72 (patch) | |
tree | 4158bad879810e89afbb1b453f2fff5eb96c7f54 /android/tester-hidhost.c | |
parent | fb49bdf6914ef2b9e065991d5fb828369b4e1b15 (diff) | |
download | bluez-3f93ade5723934e33c421bfd683a6466ab400e72.tar.gz |
android/tester-ng: Add test declaration helper macro
This replaces test cases declaration with simplier macro call.
Diffstat (limited to 'android/tester-hidhost.c')
-rw-r--r-- | android/tester-hidhost.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/android/tester-hidhost.c b/android/tester-hidhost.c index 49c34bd25..626082588 100644 --- a/android/tester-hidhost.c +++ b/android/tester-hidhost.c @@ -19,14 +19,10 @@ static struct queue *list; /* List of hidhost test cases */ -static struct step dummy_steps[] = { +TEST_CASE(hidhost_init, + "Hidhost Init", ACTION_SUCCESS(dummy_action, NULL), -}; -static struct test_case hidhost_init = { - .step = dummy_steps, - .title = "Hidhost Init", - .step_num = get_test_case_step_num(dummy_steps), -}; +); static struct test_case *test_cases[] = { &hidhost_init, |