mirror of
https://gitee.com/openharmony/notification_common_event_service
synced 2024-11-23 07:59:56 +00:00
commit
c5b81a1033
@ -467,8 +467,8 @@ HWTEST_F(CesPublishOrderedEventModuleTest, CommonEventPublishOrderedEventTest_01
|
||||
// make common event data
|
||||
CommonEventData data;
|
||||
data.SetWant(want);
|
||||
data.SetCode(INITCODE);
|
||||
data.SetData(INNITDATA);
|
||||
data.SetCode(CHANGECODE);
|
||||
data.SetData(CHANGEDATA);
|
||||
|
||||
// make publish info
|
||||
CommonEventPublishInfo publishInfo;
|
||||
|
@ -1888,7 +1888,7 @@ HWTEST_F(ActsCESManagertest, CES_SendEventSetViscosity_1000, Function | MediumTe
|
||||
if (result && stLevel_.CESLevel >= 1) {
|
||||
GTEST_LOG_(INFO) << "CES_SendEventSetViscosity_1000 stress level: " << stLevel_.CESLevel;
|
||||
}
|
||||
EXPECT_TRUE(result);
|
||||
EXPECT_FALSE(result);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -2817,11 +2817,9 @@ HWTEST_F(ActsCESManagertest, CES_SetEventAuthority_0800, Function | MediumTest |
|
||||
EXPECT_EQ(OHOS::GetSystemCurrentTime(&doingTime), true);
|
||||
seconds = OHOS::GetSecondsBetween(startTime, doingTime);
|
||||
if (seconds >= g_TIME_OUT_SECONDS_LIMIT) {
|
||||
result = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
EXPECT_TRUE(result);
|
||||
g_mtx.unlock();
|
||||
CommonEventManager::UnSubscribeCommonEvent(subscriberPtr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user