*
* @see thread_external_route_foreach_cb()
*/
-int thread_br_get_stable(thread_route_info_h route,
+int thread_br_check_stable(thread_route_info_h route,
bool *is_stable);
/**
*
* @see thread_external_route_foreach_cb()
*/
-int thread_br_get_device_nexthop(thread_route_info_h route,
+int thread_br_check_device_nexthop(thread_route_info_h route,
bool *is_device_nexthop);
/**
return THREAD_ERROR_NONE;
}
-int thread_br_get_stable(thread_route_info_h route,
+int thread_br_check_stable(thread_route_info_h route,
bool *is_stable)
{
FUNC_ENTRY;
return THREAD_ERROR_NONE;
}
-int thread_br_get_device_nexthop(thread_route_info_h route,
+int thread_br_check_device_nexthop(thread_route_info_h route,
bool *is_device_nexthop)
{
FUNC_ENTRY;
case RouteInfo::kStable:
{
bool isStable;
- EXPECT_EQ(THREAD_ERROR_NONE, thread_br_get_stable(route_info, &isStable));
+ EXPECT_EQ(THREAD_ERROR_NONE, thread_br_check_stable(route_info, &isStable));
}
break;
case RouteInfo::kDeviceNexthop:
{
bool isDeviceNexthop;
- EXPECT_EQ(THREAD_ERROR_NONE, thread_br_get_device_nexthop(route_info, &isDeviceNexthop));
+ EXPECT_EQ(THREAD_ERROR_NONE, thread_br_check_device_nexthop(route_info, &isDeviceNexthop));
}
break;
default:
GUINT_TO_POINTER(static_cast<guint>(RouteInfo::kPreference))));
}
-TEST_F(ThreadBRTest, BRGetStableErrorNone)
+TEST_F(ThreadBRTest, BRCheckStableErrorNone)
{
EXPECT_EQ(THREAD_ERROR_NONE, thread_enable(&instance));
EXPECT_EQ(THREAD_ERROR_NONE, thread_br_enable(instance));
GUINT_TO_POINTER(static_cast<guint>(RouteInfo::kStable))));
}
-TEST_F(ThreadBRTest, BRGetDeviceNexthopErrorNone)
+TEST_F(ThreadBRTest, BRCheckDeviceNexthopErrorNone)
{
EXPECT_EQ(THREAD_ERROR_NONE, thread_enable(&instance));
EXPECT_EQ(THREAD_ERROR_NONE, thread_br_enable(instance));