diff options
| author | hathach <[email protected]> | 2013-03-26 02:06:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-26 02:06:30 +0700 |
| commit | a7e8a2ba9aa5e8a6ba074f397b1fd789a8f25205 (patch) | |
| tree | 9208c2a5f79ef45cbfedfa45fff7b798146b3cfe /tests/test | |
| parent | 086a8e4a2dbd78dc42a6359c40e1920c9b93a701 (diff) | |
pass all the current tests
Diffstat (limited to 'tests/test')
| -rw-r--r-- | tests/test/host/hid/test_hid_host.c | 3 | ||||
| -rw-r--r-- | tests/test/host/test_usbh.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/host/hid/test_hid_host.c b/tests/test/host/hid/test_hid_host.c index 3a398257c..3114eaf1e 100644 --- a/tests/test/host/hid/test_hid_host.c +++ b/tests/test/host/hid/test_hid_host.c @@ -88,11 +88,10 @@ void test_hidh_open_ok(void) void test_hidh_close(void) { - hidh_keyboard_init_Ignore(); hidh_keyboard_close_Expect(dev_addr); //------------- Code Under TEST -------------// -// hidh_close(dev_addr); + hidh_close(dev_addr); } void test_hihd_isr(void) diff --git a/tests/test/host/test_usbh.c b/tests/test/host/test_usbh.c index 6c5a83ae8..1058e54d6 100644 --- a/tests/test/host/test_usbh.c +++ b/tests/test/host/test_usbh.c @@ -181,6 +181,7 @@ void test_usbh_device_unplugged_isr(void) usbh_devices[dev_addr].core_id = 0; usbh_devices[dev_addr].hub_addr = 0; usbh_devices[dev_addr].hub_port = 0; + usbh_devices[dev_addr].flag_supported_class = TUSB_CLASS_FLAG_HID; class_close_expect(); hcd_pipe_control_close_ExpectAndReturn(dev_addr, TUSB_ERROR_NONE); |
