refractor test

This commit is contained in:
hathach
2013-05-13 23:18:56 +07:00
parent 706523ebff
commit 409ff2eaa3
12 changed files with 57 additions and 86 deletions

View File

@@ -61,7 +61,7 @@ static uint8_t hostid;
void setUp(void)
{
ehci_controller_init();
TEST_ASSERT_EQUAL( TUSB_ERROR_NONE, hcd_init());
TEST_ASSERT_STATUS( hcd_init() );
hostid = RANDOM(CONTROLLER_HOST_NUMBER) + TEST_CONTROLLER_HOST_START_INDEX;
}