diff options
| author | hathach <[email protected]> | 2013-07-06 19:06:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-06 19:06:30 +0700 |
| commit | 0e14752c814f13abfa18b1175b83da5c6c05c2e9 (patch) | |
| tree | 68cf02c4cd7d327ed74535aaf1ebecfacd30269b /tests | |
| parent | 25304d142fa04edb35be956e35163541b9f900e2 (diff) | |
pass the initialize_cmplt
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c index 44c824d6b..ca3baf943 100644 --- a/tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c +++ b/tests/lpc18xx_43xx/test/host/cdc/test_cdc_rndis_host.c @@ -123,7 +123,7 @@ rndis_msg_initialize_cmplt_t msg_init_cmplt = .device_flags = 0x10, .medium = 0, // TODO cannot find info on this .max_packet_per_xfer = 1, - .max_xfer_size = 0x4000, // TODO change later + .max_xfer_size = 0x100, // TODO change later .packet_alignment_factor = 5 // aligment of each RNDIS message (payload) = 2^factor }; @@ -222,5 +222,7 @@ void test_rndis_initialization_sequence_ok(void) //------------- Code Under Test -------------// TEST_ASSERT_STATUS( cdch_open_subtask(dev_addr, p_comm_interface, &length) ); + TEST_ASSERT(p_cdc->is_rndis); + TEST_ASSERT_EQUAL(msg_init_cmplt.max_xfer_size, p_rndis->max_xfer_size); } |
