mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
修改UT异常
Signed-off-by: shihaojie6128 <shihaojie10@huawei.com>
This commit is contained in:
parent
bbaa875794
commit
75893c0558
@ -321,7 +321,6 @@ ohos_unittest("dschedmissionmanagertest") {
|
||||
}
|
||||
module_out_path = module_output_path
|
||||
sources = [
|
||||
"${dms_path}/common/src/distributed_sched_utils.cpp",
|
||||
"unittest/mission/distributed_bm_storage_test.cpp",
|
||||
"unittest/mission/distributed_data_storage_test.cpp",
|
||||
"unittest/mission/distributed_mission_info_test.cpp",
|
||||
|
@ -416,7 +416,7 @@ HWTEST_F(DMSContinueManagerTest, testDealOnBroadcastBusiness001, TestSize.Level3
|
||||
int32_t state = 0;
|
||||
int32_t ret = DMSContinueRecvMgr::GetInstance().DealOnBroadcastBusiness(senderNetworkId, bundleNameId,
|
||||
continueTypeId, state, DBMS_RETRY_MAX_TIME);
|
||||
EXPECT_EQ(ret, INVALID_PARAMETERS_ERR);
|
||||
EXPECT_EQ(ret, ERR_OK);
|
||||
|
||||
ret = DMSContinueRecvMgr::GetInstance().DealOnBroadcastBusiness(senderNetworkId, bundleNameId, continueTypeId,
|
||||
state, 0);
|
||||
@ -454,7 +454,7 @@ HWTEST_F(DMSContinueManagerTest, testPostOnBroadcastBusiness001, TestSize.Level1
|
||||
int32_t state = 0;
|
||||
|
||||
DMSContinueRecvMgr::GetInstance().PostOnBroadcastBusiness(senderNetworkId, bundleNameId, continueTypeId, state);
|
||||
EXPECT_NE(DMSContinueRecvMgr::GetInstance().eventHandler_, nullptr);
|
||||
EXPECT_EQ(DMSContinueRecvMgr::GetInstance().eventHandler_, nullptr);
|
||||
|
||||
DTEST_LOG << "DMSContinueManagerTest testPostOnBroadcastBusiness001 end" << std::endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user