From a3a2b27c1b352b9a0e4265f17a39cb092b182f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B1=9F=E6=B5=B7?= Date: Thu, 8 May 2025 13:41:11 +0000 Subject: [PATCH] update test/unittest/imstest/ims_callback_proxy_test.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李江海 --- test/unittest/imstest/ims_callback_proxy_test.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/unittest/imstest/ims_callback_proxy_test.cpp b/test/unittest/imstest/ims_callback_proxy_test.cpp index 5b64dd6e..7326fb79 100644 --- a/test/unittest/imstest/ims_callback_proxy_test.cpp +++ b/test/unittest/imstest/ims_callback_proxy_test.cpp @@ -127,12 +127,6 @@ HWTEST_F(ImsCallbackProxyTest, cellular_call_ImsCallCallbackProxy_0002, Function if (!HasSimCard(slotId)) { continue; } - EventFwk::MatchingSkills matchingSkills; - matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_OPERATOR_CONFIG_CHANGED); - EventFwk::CommonEventSubscribeInfo subscriberInfo(matchingSkills); - auto handler = std::make_shared(subscriberInfo); - handler->SetSlotId(slotId); - handler->RegisterImsCallCallbackHandler(); GetClipResult clipResult; clipResult.result.index = INVALID_INDEX; EXPECT_EQ(callCallbackProxy->GetClipResponse(slotId, clipResult), TELEPHONY_SUCCESS); @@ -181,12 +175,6 @@ HWTEST_F(ImsCallbackProxyTest, cellular_call_ImsCallCallbackProxy_0003, Function if (!HasSimCard(slotId)) { continue; } - EventFwk::MatchingSkills matchingSkills; - matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_OPERATOR_CONFIG_CHANGED); - EventFwk::CommonEventSubscribeInfo subscriberInfo(matchingSkills); - auto handler = std::make_shared(subscriberInfo); - handler->SetSlotId(slotId); - handler->RegisterImsCallCallbackHandler(); ImsCallModeReceiveInfo callModeReceiveInfo; callModeReceiveInfo.callIndex = DEFAULT_INDEX; EXPECT_EQ( -- Gitee