update services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp.

Signed-off-by: 师皓杰 <shihaojie10@huawei.com>
This commit is contained in:
师皓杰 2024-06-18 08:51:37 +00:00 committed by Gitee
parent e75f16bb9f
commit 8c3f32a8bf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -454,7 +454,7 @@ HWTEST_F(DMSContinueManagerTest, testPostOnBroadcastBusiness001, TestSize.Level1
int32_t state = 0;
DMSContinueRecvMgr::GetInstance().PostOnBroadcastBusiness(senderNetworkId, bundleNameId, continueTypeId, state);
EXPECT_EQ(DMSContinueRecvMgr::GetInstance().eventHandler_, nullptr);
EXPECT_NE(DMSContinueRecvMgr::GetInstance().eventHandler_, nullptr);
DTEST_LOG << "DMSContinueManagerTest testPostOnBroadcastBusiness001 end" << std::endl;
}
@ -679,7 +679,7 @@ HWTEST_F(DMSContinueManagerTest, testSendSoftbusEvent001, TestSize.Level1)
uint8_t continueType = 1;
uint8_t type = 0;
bool ret = DMSContinueSendMgr::GetInstance().SendSoftbusEvent(bundleNameId, continueType, type);
EXPECT_NE(ret, ERR_OK);
EXPECT_EQ(ret, ERR_OK);
DTEST_LOG << "DMSContinueManagerTest testSendSoftbusEvent001 end" << std::endl;
}