Home
last modified time | relevance | path

Searched refs:dyn_obj (Results 1 – 1 of 1) sorted by relevance

/examples/utest/testcases/kernel/
A Dobject_tc.c63 rt_object_t dyn_obj = RT_NULL; in test_object_name_handling() local
82 dyn_obj = rt_object_allocate(RT_Object_Class_Thread, test_name); in test_object_name_handling()
83 uassert_not_null(dyn_obj); in test_object_name_handling()
84 uassert_true(rt_strlen(dyn_obj->name) <= TEST_RT_NAME_MAX - 1); in test_object_name_handling()
85 uassert_true(dyn_obj->name[TEST_RT_NAME_MAX - 1] == '\0'); in test_object_name_handling()
87 uassert_false(rt_object_is_systemobject(dyn_obj)); in test_object_name_handling()
88 rt_object_delete(dyn_obj); in test_object_name_handling()
97 dyn_obj = rt_object_allocate(RT_Object_Class_Thread, NULL); in test_object_name_handling()
98 uassert_not_null(dyn_obj); in test_object_name_handling()
99 uassert_true(dyn_obj->name[0] == '\0'); in test_object_name_handling()
[all …]

Completed in 3 milliseconds