mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-30 12:30:37 +00:00
!189 异常测试:TDD用例更新(print_service_test)
Merge pull request !189 from 郑志豪/master
This commit is contained in:
commit
917547fbee
@ -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<PrinterInfo> printerInfos;
|
||||
InitExtPrinterList(printerInfos, 1);
|
||||
EXPECT_EQ(service->AddPrinters(printerInfos), E_PRINT_NONE);
|
||||
}
|
||||
|
||||
HWTEST_F(PrintServiceAbilityTest, PrintServiceAbilityTest_0128, TestSize.Level1)
|
||||
{
|
||||
auto service = CreateService();
|
||||
|
Loading…
Reference in New Issue
Block a user