mirror of
https://gitee.com/openharmony/notification_common_event_service
synced 2024-11-27 10:10:52 +00:00
UT添加断言
Signed-off-by: z30053788 <zhaobaoxin1@huawei.com> Change-Id: I60bd5689dda49dc8a200f4d06fa4a1f1fb1d2012
This commit is contained in:
parent
17b92d238a
commit
9ba9b7cfac
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user