From 7446b22f3bd54831f6df23e29f21380e08a81246 Mon Sep 17 00:00:00 2001 From: litiangang4 Date: Tue, 23 May 2023 15:04:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: litiangang4 --- .../add_white_list_infos_call_back_test.cpp | 4 ---- .../distributed_input_sinkmanager_test.cpp | 7 ------- 2 files changed, 11 deletions(-) diff --git a/interfaces/ipc/test/addwhitelistinfoscallbackunittest/add_white_list_infos_call_back_test.cpp b/interfaces/ipc/test/addwhitelistinfoscallbackunittest/add_white_list_infos_call_back_test.cpp index a89a270..89eae64 100644 --- a/interfaces/ipc/test/addwhitelistinfoscallbackunittest/add_white_list_infos_call_back_test.cpp +++ b/interfaces/ipc/test/addwhitelistinfoscallbackunittest/add_white_list_infos_call_back_test.cpp @@ -353,10 +353,6 @@ HWTEST_F(AddWhiteListInfosCallbackTest, DistributedInputSinkStub01, testing::ext ret = sinkProxy.RegisterGetSinkScreenInfosCallback(sinkScreenCb); EXPECT_EQ(DH_SUCCESS, ret); - SrcScreenInfo srcScreenInfo {"devid_test", "uuid_test", 1, 1, 1860, 980, "srcphyid", 1, 980, 490}; - ret = sinkProxy.NotifyStartDScreen(srcScreenInfo); - EXPECT_EQ(DH_SUCCESS, ret); - std::string srcScreenInfoKey = "srcScreenInfoKey_test"; ret = sinkProxy.NotifyStopDScreen(srcScreenInfoKey); EXPECT_EQ(DH_SUCCESS, ret); diff --git a/services/sink/sinkmanager/test/sinkmanagerunittest/distributed_input_sinkmanager_test.cpp b/services/sink/sinkmanager/test/sinkmanagerunittest/distributed_input_sinkmanager_test.cpp index c60c8d3..8820003 100644 --- a/services/sink/sinkmanager/test/sinkmanagerunittest/distributed_input_sinkmanager_test.cpp +++ b/services/sink/sinkmanager/test/sinkmanagerunittest/distributed_input_sinkmanager_test.cpp @@ -305,13 +305,6 @@ HWTEST_F(DistributedInputSinkManagerTest, UpdateSinkScreenInfoCache_01, testing: EXPECT_EQ(DH_SUCCESS, ret); } -HWTEST_F(DistributedInputSinkManagerTest, NotifyStartDScreen_01, testing::ext::TestSize.Level1) -{ - SrcScreenInfo srcScreenInfo {"devid_test", "uuid_test", 1, 1, 1860, 980, "srcphyid", 1, 980, 490}; - int32_t ret = sinkManager_->NotifyStartDScreen(srcScreenInfo); - EXPECT_EQ(DH_SUCCESS, ret); -} - HWTEST_F(DistributedInputSinkManagerTest, NotifyStopDScreen_01, testing::ext::TestSize.Level1) { std::string srcScreenInfoKey = ""; -- Gitee