From 8c3f32a8bff64ff094c402c143ed1ebcc636551f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=88=E7=9A=93=E6=9D=B0?= Date: Tue, 18 Jun 2024 08:51:37 +0000 Subject: [PATCH] update services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 师皓杰 --- .../test/unittest/mission/dms_continue_manager_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp b/services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp index 51cac25d..54010da0 100644 --- a/services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp +++ b/services/dtbschedmgr/test/unittest/mission/dms_continue_manager_test.cpp @@ -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; }