pass all the current tests
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user