UT添加断言

Signed-off-by: z30053788 <zhaobaoxin1@huawei.com>
Change-Id: I60bd5689dda49dc8a200f4d06fa4a1f1fb1d2012
This commit is contained in:
z30053788 2024-08-28 18:07:35 +08:00
parent 17b92d238a
commit 9ba9b7cfac

View File

@ -190,6 +190,7 @@ HWTEST_F(CemCommandDumpTest, Cem_Command_Dump_0500, Function | MediumTest | Leve
// set the mock objects
SetMockObjects(cmd);
EXPECT_EQ(cmd.ExecCommand(), Concatenate("error: unknown option.\n", HELP_MSG_DUMP));
}
/**
@ -211,6 +212,7 @@ HWTEST_F(CemCommandDumpTest, Cem_Command_Dump_0600, Function | MediumTest | Leve
// set the mock objects
SetMockObjects(cmd);
EXPECT_EQ(cmd.ExecCommand(), Concatenate("error: unknown option.\n", HELP_MSG_DUMP));
}
/**