From 27a2a989696f7024a7d37740ad351f03f8bab104 Mon Sep 17 00:00:00 2001 From: hxf Date: Sat, 14 Jun 2025 10:56:02 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A4=B1=E8=B4=A5TDD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hxf --- services/test/src/workschedulerservice_test.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/test/src/workschedulerservice_test.cpp b/services/test/src/workschedulerservice_test.cpp index 8d36fdc..eb6f01b 100644 --- a/services/test/src/workschedulerservice_test.cpp +++ b/services/test/src/workschedulerservice_test.cpp @@ -688,8 +688,6 @@ HWTEST_F(WorkSchedulerServiceTest, WorkQueueEventHandler_001, TestSize.Level1) WorkQueueEventHandler handler(nullptr, nullptr); AppExecFwk::InnerEvent::Pointer event = AppExecFwk::InnerEvent::Get(0); handler.ProcessEvent(event); - event = AppExecFwk::InnerEvent::Get(1); - handler.ProcessEvent(event); event = AppExecFwk::InnerEvent::Get(2); handler.ProcessEvent(event); EXPECT_TRUE(handler.manager_ == nullptr); @@ -702,8 +700,6 @@ HWTEST_F(WorkSchedulerServiceTest, WorkEventHandler_001, TestSize.Level1) WorkEventHandler handler(workSchedulerService_->eventRunner_, workSchedulerService_); AppExecFwk::InnerEvent::Pointer event = AppExecFwk::InnerEvent::Get(0); handler.ProcessEvent(event); - event = AppExecFwk::InnerEvent::Get(1); - handler.ProcessEvent(event); event = AppExecFwk::InnerEvent::Get(2); handler.ProcessEvent(event); event = AppExecFwk::InnerEvent::Get(3); -- Gitee