提交 2d1dd2f4 编写于 作者: C chuaizhzh

删除用例中的exit处理

Signed-off-by: Nchuaizhzh <chuaizhenzhong@huawei.com>
Change-Id: I47cc03a7e59916ec48eb378ea2981bf3766b0db3
上级 1d0d876b
......@@ -1300,7 +1300,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetId010, Function | MediumTe
{
g_puwTaskID01 = osThreadGetId();
TEST_ASSERT_NOT_NULL(g_puwTaskID01);
osThreadExit();
};
/**
......@@ -2007,7 +2006,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetName010, Function | Medium
g_puwTaskID01 = osThreadGetId();
attr.name = osThreadGetName(g_puwTaskID01);
TEST_ASSERT_NOT_NULL(attr.name);
osThreadExit();
};
/**
......@@ -2201,7 +2199,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetState010, Function | Mediu
g_puwTaskID01 = osThreadGetId();
state = osThreadGetState(g_puwTaskID01);
TEST_ASSERT_EQUAL_INT(osThreadRunning, state);
osThreadExit();
};
/**
......@@ -2593,7 +2590,6 @@ LITE_TEST_CASE(CmsisTaskFuncTestSuite, testOsThreadGetStackSize010, Function | M
g_puwTaskID01 = osThreadGetId();
attr.stack_size = osThreadGetStackSize(g_puwTaskID01);
TEST_ASSERT_GREATER_THAN_INT32(0, attr.stack_size);
osThreadExit();
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册