From 2fc5ce040abff63d1c2ab8ac11ed06515f2237a2 Mon Sep 17 00:00:00 2001 From: zhengzhihao Date: Wed, 20 Dec 2023 19:52:58 +0800 Subject: [PATCH] rectify DTT case error Signed-off-by: zhengzhihao --- .../service_test/print_service_ability_test.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/unittest/service_test/print_service_ability_test.cpp b/test/unittest/service_test/print_service_ability_test.cpp index 4c9454f..8a321f1 100644 --- a/test/unittest/service_test/print_service_ability_test.cpp +++ b/test/unittest/service_test/print_service_ability_test.cpp @@ -2490,17 +2490,6 @@ HWTEST_F(PrintServiceAbilityTest, PrintServiceAbilityTest_0126, TestSize.Level1) helper = nullptr; } -HWTEST_F(PrintServiceAbilityTest, PrintServiceAbilityTest_0127, TestSize.Level1) -{ - auto service = CreateService(); - EXPECT_NE(service, nullptr); - service->SetHelper(CreatePrintServiceHelper(true, true, true, true)); - - std::vector printerInfos; - InitExtPrinterList(printerInfos, 1); - EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE); -} - HWTEST_F(PrintServiceAbilityTest, PrintServiceAbilityTest_0128, TestSize.Level1) { auto service = CreateService();