mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-27 01:10:52 +00:00
tdd shell command Signed-off-by: zhuhan <zhuhan10@huawei.com> Change-Id: I802652bcfccf89f95675f06f585a3350fc046744
This commit is contained in:
parent
1619eca633
commit
9b0aa81b11
@ -77,6 +77,6 @@ HWTEST_F(TestObserverModuleTest, Test_Observer_Module_Test_0100, Function | Medi
|
||||
HWTEST_F(TestObserverModuleTest, Test_Observer_Module_Test_0200, Function | MediumTest | Level1)
|
||||
{
|
||||
TestObserver observer;
|
||||
EXPECT_NE(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
||||
EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ HWTEST_F(TestObserverTest, Test_Observer_Test_0200, Function | MediumTest | Leve
|
||||
{
|
||||
HILOG_INFO("Test_Observer_Test_0200 is called");
|
||||
TestObserver observer;
|
||||
EXPECT_NE(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
||||
EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user