[UTC][usb-host][Non-ACR][Fix wrong name of some testcases]
authorlokilee73 <changjoo.lee@samsung.com>
Wed, 12 Sep 2018 02:37:35 +0000 (11:37 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Wed, 12 Sep 2018 02:37:40 +0000 (11:37 +0900)
Some negative test cases run positive ones internally.
So, fix it.

Change-Id: If12c33db6c09919c569ae7562d87cfd7ea794a63
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/utc/usb-host/tct-usb-host-core_mobile.h
src/utc/usb-host/tct-usb-host-core_tizeniot.h

index 95a0af433e49e2c21d6bc3a672c412192567e3f2..36466958ce877069bd1d9ee845fecc2c28716944 100755 (executable)
@@ -196,9 +196,9 @@ testcase tc_array[] = {
     {"utc_usb_host_unref_device_p", utc_usb_host_unref_device_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_unref_device_n", utc_usb_host_unref_device_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_bus_number_p", utc_usb_host_device_get_bus_number_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
-    {"utc_usb_host_device_get_bus_number_n", utc_usb_host_device_get_bus_number_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
+    {"utc_usb_host_device_get_bus_number_n", utc_usb_host_device_get_bus_number_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_address_p", utc_usb_host_device_get_address_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
-    {"utc_usb_host_device_get_address_n", utc_usb_host_device_get_address_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
+    {"utc_usb_host_device_get_address_n", utc_usb_host_device_get_address_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_p", utc_usb_host_device_get_config_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_invalid_n", utc_usb_host_device_get_config_invalid_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_not_found_n", utc_usb_host_device_get_config_not_found_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
@@ -239,7 +239,7 @@ testcase tc_array[] = {
     {"utc_usb_host_config_is_self_powered_p", utc_usb_host_config_is_self_powered_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_is_self_powered_n", utc_usb_host_config_is_self_powered_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_support_remote_wakeup_p", utc_usb_host_config_support_remote_wakeup_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
-    {"utc_usb_host_config_support_remote_wakeup_n", utc_usb_host_config_support_remote_wakeup_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
+    {"utc_usb_host_config_support_remote_wakeup_n", utc_usb_host_config_support_remote_wakeup_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_max_power_p", utc_usb_host_config_get_max_power_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_max_power_n", utc_usb_host_config_get_max_power_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_str_p", utc_usb_host_config_get_str_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
index 95a0af433e49e2c21d6bc3a672c412192567e3f2..36466958ce877069bd1d9ee845fecc2c28716944 100755 (executable)
@@ -196,9 +196,9 @@ testcase tc_array[] = {
     {"utc_usb_host_unref_device_p", utc_usb_host_unref_device_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_unref_device_n", utc_usb_host_unref_device_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_bus_number_p", utc_usb_host_device_get_bus_number_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
-    {"utc_usb_host_device_get_bus_number_n", utc_usb_host_device_get_bus_number_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
+    {"utc_usb_host_device_get_bus_number_n", utc_usb_host_device_get_bus_number_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_address_p", utc_usb_host_device_get_address_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
-    {"utc_usb_host_device_get_address_n", utc_usb_host_device_get_address_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
+    {"utc_usb_host_device_get_address_n", utc_usb_host_device_get_address_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_p", utc_usb_host_device_get_config_p, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_invalid_n", utc_usb_host_device_get_config_invalid_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
     {"utc_usb_host_device_get_config_not_found_n", utc_usb_host_device_get_config_not_found_n, utc_usb_host_device_startup, utc_usb_host_device_cleanup},
@@ -239,7 +239,7 @@ testcase tc_array[] = {
     {"utc_usb_host_config_is_self_powered_p", utc_usb_host_config_is_self_powered_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_is_self_powered_n", utc_usb_host_config_is_self_powered_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_support_remote_wakeup_p", utc_usb_host_config_support_remote_wakeup_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
-    {"utc_usb_host_config_support_remote_wakeup_n", utc_usb_host_config_support_remote_wakeup_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
+    {"utc_usb_host_config_support_remote_wakeup_n", utc_usb_host_config_support_remote_wakeup_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_max_power_p", utc_usb_host_config_get_max_power_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_max_power_n", utc_usb_host_config_get_max_power_n, utc_usb_host_config_startup, utc_usb_host_config_cleanup},
     {"utc_usb_host_config_get_str_p", utc_usb_host_config_get_str_p, utc_usb_host_config_startup, utc_usb_host_config_cleanup},