Commit Graph

13 Commits

Author SHA1 Message Date
Marcin Kraglak
72a76bb64b android/tester: Force remotes ACL disconnection
This is needed or else we would need to extend the timeout for a single
test case in tester framework and wait two more seconds for ACL to
disconnect.
2014-08-25 11:30:56 +02:00
Jakub Tyszkowski
2515c432f3 android/tester: Wait for ACL disconnection before reconnect
We need the remote to drop its ACL before it tries to connect again.
2014-08-25 10:57:42 +02:00
Jakub Tyszkowski
79489632e0 android/tester: Add Gatt Client Listen cases 2014-08-04 14:32:49 +03:00
Jakub Tyszkowski
89d188040e android/tester: Add Gatt Client connect cases
This adds gatt connect cases.
2014-08-04 14:32:47 +03:00
Jakub Tyszkowski
3159bc2202 android/tester: Add Gatt Client basic test cases
This adds basic tests for client register, unregister and scan.
2014-08-04 14:32:43 +03:00
Jakub Tyszkowski
4af83746c3 android/tester-ng: Add socket connect success cases
Adding socket connect cases requires to set up the the l2cap and
rfcomm servers on the emulated device. For this, the bthost_l2cap_connect_cb
type had to exposed in tester-main.h and pulled some bthost dependencies
along.
2014-07-24 13:14:13 +03:00
Jakub Tyszkowski
a646cdb8fe android/tester-ng: Allow test framework user to choose emu type
This allows to set emulated adapter type for each test case in place
where tests are defined. Previously this was hardcoded in the framework.
2014-07-21 11:44:03 +03:00
Jakub Tyszkowski
103aa3250a android/tester-ng: Use array of statics instead of case pointers
This is yet another macro that hides the test implementation details and
shortens the amount of code that needs to be written for each test case.
2014-07-18 09:49:12 +02:00
Jakub Tyszkowski
3f93ade572 android/tester-ng: Add test declaration helper macro
This replaces test cases declaration with simplier macro call.
2014-07-18 09:49:12 +02:00
Jakub Tyszkowski
fb49bdf691 android/tester-ng: Use action and callback defining macros
This significantly shortens the action definitions.
2014-07-18 09:49:12 +02:00
Jakub Tyszkowski
0bcf025146 android/tester-ng: Use loop for adding cases to the queue
It will be simplier to add new cases.
2014-07-16 16:40:13 +02:00
Grzegorz Kolodziejczyk
b6f9d6c90f android/tester-gatt: Add initial test case 2014-07-14 16:58:38 +02:00
Jakub Tyszkowski
bb984785f9 android/tester-gatt: Initial gatt tester
This is initial patch for android gatt HAL tester. It'll contain test
cases for gatt hal.
2014-07-14 16:58:38 +02:00