This is an automated email from the ASF dual-hosted git repository. centic9 pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/poi.git
commit 9f2a35c48679fa20ce0d4ec00da50e2ec566183f Author: Dominik Stadler <[email protected]> AuthorDate: Sun Nov 1 18:35:14 2026 +0100 Move test-file to different folder to not break some tests We don't have a section for "arbitrary files" yet. --- .../test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java | 2 +- poi/src/test/java/org/apache/poi/POIDataSamples.java | 5 ----- ...usterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840 | 0 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java index 6e9b177810..b2767905c9 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java +++ b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java @@ -236,7 +236,7 @@ class TestFormulaParser { @Test void testNestingIsLimited() throws IOException { - File file = POIDataSamples.getIntegrationInstance() + File file = POIDataSamples.getSpreadSheetInstance() .getFile("clusterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840"); String formula = FileUtils.readFileToString(file, StandardCharsets.UTF_8); diff --git a/poi/src/test/java/org/apache/poi/POIDataSamples.java b/poi/src/test/java/org/apache/poi/POIDataSamples.java index d52378a5d3..6106e449f4 100644 --- a/poi/src/test/java/org/apache/poi/POIDataSamples.java +++ b/poi/src/test/java/org/apache/poi/POIDataSamples.java @@ -125,11 +125,6 @@ public final class POIDataSamples { return _instXmlDSign; } - public static POIDataSamples getIntegrationInstance() { - if(_instXmlDSign == null) _instXmlDSign = new POIDataSamples("integration"); - return _instXmlDSign; - } - /** * Opens a sample file from the test data directory * diff --git a/test-data/integration/clusterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840 b/test-data/spreadsheet/clusterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840 similarity index 100% rename from test-data/integration/clusterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840 rename to test-data/spreadsheet/clusterfuzz-testcase-minimized-FormulaParserFuzzer-5191407997091840 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
