Skip to content

Commit 4a0ca21

Browse files
Qinghao Shi0xc0170
authored andcommitted
BLE TEST: remove duplicated and failing test
1 parent 695e930 commit 4a0ca21

File tree

1 file changed

+0
-18
lines changed
  • features/FEATURE_BLE/targets/TARGET_CORDIO/TESTS/cordio_hci/transport

1 file changed

+0
-18
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/TESTS/cordio_hci/transport/main.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -225,23 +225,6 @@ static uint8_t reset_cmd[] = {
225225
0 // parameter length
226226
};
227227

228-
void test_reset_command()
229-
{
230-
CordioHCIDriver &driver = CordioHCIHook::get_driver();
231-
CordioHCITransportDriver &transport_driver = CordioHCIHook::get_transport_driver();
232-
233-
driver.initialize();
234-
235-
CordioHCIHook::set_data_received_handler(hci_driver_rx_reset_handler);
236-
237-
transport_driver.write(HCI_CMD_TYPE, sizeof(reset_cmd), reset_cmd);
238-
uint32_t events = wait_for_event();
239-
240-
TEST_ASSERT_EQUAL(RESET_RECEIVED_FLAG, events);
241-
242-
driver.terminate();
243-
}
244-
245228
#define EXPECTED_CONSECUTIVE_RESET 10
246229

247230
void test_multiple_reset_command()
@@ -266,7 +249,6 @@ void test_multiple_reset_command()
266249
}
267250

268251
Case cases[] = {
269-
Case("Test reset command", test_reset_command),
270252
Case("Test multiple reset commands", test_multiple_reset_command)
271253
};
272254

0 commit comments

Comments
 (0)