]> source.dussan.org Git - poi.git/commitdiff
mark test code as ok to suppress forbidden-apis check
authorPJ Fanning <fanningpj@apache.org>
Thu, 14 May 2020 20:47:33 +0000 (20:47 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 14 May 2020 20:47:33 +0000 (20:47 +0000)
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

index 240ac026c3d00d34f148d30be387497bc8b0dbc6..731f581ea20ed371bd335fc15be84889a0bb6be5 100644 (file)
@@ -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);