From 9e39db81194ae93b998f5401ba07be22d6825d40 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 14 May 2020 20:47:33 +0000 Subject: [PATCH] mark test code as ok to suppress forbidden-apis check git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877759 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java index 240ac026c3..731f581ea2 100644 --- a/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java +++ b/src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java @@ -45,6 +45,7 @@ import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.WorkbookFactory; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; +import org.apache.poi.util.SuppressForbidden; import org.apache.poi.util.TempFile; import org.apache.poi.xssf.usermodel.XSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFWorkbookFactory; @@ -442,6 +443,7 @@ public final class TestWorkbookFactory { } @Test + @SuppressForbidden("test code") public void testOpenManyHSSF() throws Exception { final int size = 1000; ExecutorService executorService = Executors.newFixedThreadPool(10); -- 2.39.5