This is an automated email from the ASF dual-hosted git repository. centic pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/poi.git
commit 7003357b7981243175b5f109ebe7a724aa079cdb Author: Dominik Stadler <[email protected]> AuthorDate: Sat Aug 2 13:38:38 2025 +0200 TestAllFiles: Add output if a file cannot be matched to a handler --- .../src/test/java/org/apache/poi/stress/TestAllFiles.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java index 8988c8a180..b73914f09e 100644 --- a/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java +++ b/poi-integration/src/test/java/org/apache/poi/stress/TestAllFiles.java @@ -172,6 +172,7 @@ public class TestAllFiles { continue; } + boolean found = false; for (FileHandlerKnown handler : sm.getHandler(file)) { ExcInfo info1 = sm.getExcInfo(file, testName, handler); if (info1 == null || info1.isValid(testName, handler.name())) { @@ -182,8 +183,13 @@ public class TestAllFiles { (info1 != null) ? info1.getExClazz() : null, (info1 != null) ? info1.getExMessage() : null )); + found = true; } } + + if (!found) { + System.out.println("Could not find a handler for " + file); + } } return result.stream(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
