Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/test/unittest/lite/
H A Dcmd_func_test.cpp155 void DoCmd(const TestCmdLine *resCmd) in DoCmd() argument
157 if (resCmd == nullptr) { in DoCmd()
161 (void)GetMatchCmd(resCmd->name, &cmdIndex); in DoCmd()
671 EXPECT_TRUE(strlen(resCmd->name) > 0); in CheckCmd()
674 if (strcmp("start ", resCmd->name) == 0) { in CheckCmd()
687 EXPECT_TRUE(resCmd->cmdContent[i] >= '0' && resCmd->cmdContent[i] <= '7'); in CheckCmd()
695 … EXPECT_NE(' ', resCmd->cmdContent[strlen(resCmd->cmdContent) - 1]); // should not end with space in CheckCmd()
740 TestCmdLine resCmd; in CheckJob() local
741 (void)memset_s(&resCmd, sizeof(resCmd), 0, sizeof(resCmd)); in CheckJob()
742 ParseCmdLine(cmdLineStr, &resCmd); in CheckJob()
[all …]