diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-05-14 20:47:33 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-05-14 20:47:33 +0000 |
commit | 9e39db81194ae93b998f5401ba07be22d6825d40 (patch) | |
tree | 6c44fa1d31ad0622f43140433b5afa36be9c5f9d /src | |
parent | 24345edd5e7a98089abac93417522cced20025f0 (diff) | |
download | poi-9e39db81194ae93b998f5401ba07be22d6825d40.tar.gz poi-9e39db81194ae93b998f5401ba07be22d6825d40.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/ss/TestWorkbookFactory.java | 2 |
1 files changed, 2 insertions, 0 deletions
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); |