diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2022-06-16 22:56:47 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2022-06-16 22:56:47 +0000 |
commit | c41176f207b28549941223650733a61d85fc25ba (patch) | |
tree | dbfbc9522d868478f0dbc2f2746e6a9dc8d3f6b4 /poi-integration/src/test | |
parent | 48ede6984237752797a239e72bab4950930cf231 (diff) | |
download | poi-c41176f207b28549941223650733a61d85fc25ba.tar.gz poi-c41176f207b28549941223650733a61d85fc25ba.zip |
#66115 - Some Password protected XLS files are not read
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901996 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-integration/src/test')
-rw-r--r-- | poi-integration/src/test/java/org/apache/poi/stress/ExcInfo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/ExcInfo.java b/poi-integration/src/test/java/org/apache/poi/stress/ExcInfo.java index c9241cb0f7..8d62ec300c 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/ExcInfo.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/ExcInfo.java @@ -90,7 +90,7 @@ public class ExcInfo { public boolean isValid(String testName, String handler) { return !IGNORED_TESTS.equals(tests) && - (tests == null || tests.contains(testName)) && - (this.handler == null || this.handler.contains(handler)); + (tests == null || (tests.contains(testName) && !tests.contains("!"+testName))) && + (this.handler == null || (this.handler.contains(handler) && !this.handler.contains("!"+handler))); } } |