aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2018-12-15 01:24:27 +0000
committerAndreas Beeker <kiwiwings@apache.org>2018-12-15 01:24:27 +0000
commit2a84c1fa16618dc7271f97abf28f0c8e45078d3a (patch)
tree1f3f92ccacbff9f909fba7700afa982f804bdfc1
parent17ce79b69cbc48ca1523d67a1a58ee2e194333ab (diff)
downloadpoi-2a84c1fa16618dc7271f97abf28f0c8e45078d3a.tar.gz
poi-2a84c1fa16618dc7271f97abf28f0c8e45078d3a.zip
ignore keystore files on integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848975 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/integrationtest/org/apache/poi/TestAllFiles.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/integrationtest/org/apache/poi/TestAllFiles.java b/src/integrationtest/org/apache/poi/TestAllFiles.java
index 40f19f9c85..a166eb5d6e 100644
--- a/src/integrationtest/org/apache/poi/TestAllFiles.java
+++ b/src/integrationtest/org/apache/poi/TestAllFiles.java
@@ -211,7 +211,13 @@ public class TestAllFiles {
HANDLERS.put("spreadsheet/BigSSTRecord2CR7", new NullFileHandler());
HANDLERS.put("spreadsheet/BigSSTRecordCR", new NullFileHandler());
HANDLERS.put("spreadsheet/test_properties1", new NullFileHandler());
-
+
+ // keystore files
+ HANDLERS.put(".pfx", new NullFileHandler());
+ HANDLERS.put(".pem", new NullFileHandler());
+ HANDLERS.put(".jks", new NullFileHandler());
+ HANDLERS.put(".pkcs12", new NullFileHandler());
+
Map<String,String> passmap = new HashMap<>();
passmap.put("slideshow/Password_Protected-hello.ppt", "hello");
passmap.put("slideshow/Password_Protected-56-hello.ppt", "hello");