summaryrefslogtreecommitdiff
path: root/tests/test/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-09 12:49:52 +0700
committerhathach <[email protected]>2013-05-09 12:49:52 +0700
commit63add701391ae30cd43bb2a06d87df3dda5803b8 (patch)
tree303dbd847a80ac40fd24757181a57471cc26989f /tests/test/host
parent363b22a55de585acbed2ef0e9e105ba4d40b8b4e (diff)
test clean up
Diffstat (limited to 'tests/test/host')
-rw-r--r--tests/test/host/msc/test_msc_host.c6
-rw-r--r--tests/test/host/usbh/test_usbh.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/test/host/msc/test_msc_host.c b/tests/test/host/msc/test_msc_host.c
index 9a1459306..4e42b3023 100644
--- a/tests/test/host/msc/test_msc_host.c
+++ b/tests/test/host/msc/test_msc_host.c
@@ -43,6 +43,12 @@
#include "binary.h"
#include "type_helper.h"
+//#include "descriptor_test.h"
+//#include "msc_host.h"
+//#include "usbh.h"
+//#include "hcd.h"
+//#include "ehci.h"
+
void setUp(void)
{
}
diff --git a/tests/test/host/usbh/test_usbh.c b/tests/test/host/usbh/test_usbh.c
index 6964ab9cb..4f5d7082c 100644
--- a/tests/test/host/usbh/test_usbh.c
+++ b/tests/test/host/usbh/test_usbh.c
@@ -121,7 +121,7 @@ void class_init_expect(void)
void test_usbh_init_ok(void)
{
- osal_queue_handle_t dummy = 0x1122;
+ osal_queue_handle_t q_hdl_dummy = 0x1122;
usbh_device_info_t device_info_zero[TUSB_CFG_HOST_DEVICE_MAX+1];
memclr_(device_info_zero, sizeof(usbh_device_info_t)*(TUSB_CFG_HOST_DEVICE_MAX+1));
@@ -136,7 +136,7 @@ void test_usbh_init_ok(void)
}
osal_task_create_IgnoreAndReturn(TUSB_ERROR_NONE);
- osal_queue_create_IgnoreAndReturn(dummy);
+ osal_queue_create_IgnoreAndReturn(q_hdl_dummy);
class_init_expect();