aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration
Commit message (Collapse)AuthorAgeFilesLines
* Allow all IndexOutOfBoundsException to have either empty message or some messageDominik Stadler2023-12-161-2/+3
| | | | | | | Newer JDKs add a more useful exception message, so we need to be a bit more lenient for these in integration tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914708 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2023-12-061-1/+28
| | | | | | | | | Avoid a ClassCastException and trigger some more code in integration-testing. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63358 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914404 13f79535-47bb-0310-9956-ffa450edef68
* Bug 68128: Exclude one broken file from the "No-Scratchpad" runDominik Stadler2023-11-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913797 13f79535-47bb-0310-9956-ffa450edef68
* Fix job "no-scratchpad" after adding some more broken test-dataDominik Stadler2023-10-131-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912934 13f79535-47bb-0310-9956-ffa450edef68
* integration-tests: Enable testing extracting for OPCFileHandler and fix ↵Dominik Stadler2023-10-131-7/+4
| | | | | | | | | single test Enable running "extract" also for OPCFileHandler Add additional expected failures in stress.xls git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912933 13f79535-47bb-0310-9956-ffa450edef68
* Adjust order of testing and use try-with-resourcesDominik Stadler2023-10-031-36/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912708 13f79535-47bb-0310-9956-ffa450edef68
* commons-io 2.14.0PJ Fanning2023-10-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912639 13f79535-47bb-0310-9956-ffa450edef68
* Bug47950 -- make stream/directory name lookup in OLE2 case insensitiveTim Allison2023-09-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912438 13f79535-47bb-0310-9956-ffa450edef68
* Test without scratchpad: Do not fail reading data for integrationtestsDominik Stadler2023-09-181-1/+1
| | | | | | | It seems the XLS now has missing cells which cause an NPE while checking for scratchpad-handlers git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912407 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-09-071-0/+9
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Also add SXSSFWorkbook.write() to integrationtests Fixes https://oss-fuzz.com/testcase-detail/5185049589579776 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912162 13f79535-47bb-0310-9956-ffa450edef68
* Exclude more broken files when running without poi-scratchpadDominik Stadler2023-09-061-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912123 13f79535-47bb-0310-9956-ffa450edef68
* Exclude more broken files when running without poi-scratchpadDominik Stadler2023-09-061-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912122 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.9PJ Fanning2023-09-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912088 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions, add tests, set unit-test to isolatedDominik Stadler2023-08-241-0/+2
| | | | | | | Without Isolation, one test did change static settings and thus could cause flaky tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911891 13f79535-47bb-0310-9956-ffa450edef68
* Try to adjust for strange null-message for ArrayIndexOutOfBoundsExceptionDominik Stadler2023-08-091-4/+9
| | | | | | | | | | Some CI runs seem to throw the exception with an empty message instead of the expected text. I could not reproduce this consistently and so we only can disable a check in this case. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911572 13f79535-47bb-0310-9956-ffa450edef68
* Do not disable all files for poi-integration in build.gradleDominik Stadler2023-08-092-3/+12
| | | | | | | | | | It seems doing it this way can kick in even when using JDK 11+ due to the Gradle toolchain. Let's rather do a more specific exclusion in code to only exclude files which actually cause JDK 8 to hang. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911562 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-1/+1
| | | | | | | | | We try to avoid throwing NullPointerException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61266 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911523 13f79535-47bb-0310-9956-ffa450edef68
* use of junit internal StringUtils is causing build issuesPJ Fanning2023-08-071-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911519 13f79535-47bb-0310-9956-ffa450edef68
* use of junit internal StringUtils is causing build issuesPJ Fanning2023-08-071-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911518 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-7/+16
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61259 Also fix handling of NullPointerException git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911517 13f79535-47bb-0310-9956-ffa450edef68
* Reduce log4j2 level for integration tests to ERRORDominik Stadler2023-08-071-1/+1
| | | | | | | | Otherwise there is lots of output that is likely rarely useful. This can be changed locally for testing easily whenever necessary. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911516 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-6/+7
| | | | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61242 Also enhance output of some test-failures and allow an empty exception message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911515 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid an AssertionError found via oss-fuzzDominik Stadler2023-08-071-0/+2
| | | | | | | | | We try to avoid throwing AssertionError to be triggered by input data, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911514 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-071-7/+3
| | | | | | | | | We try to avoid throwing ClassCastException, but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61243 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911507 13f79535-47bb-0310-9956-ffa450edef68
* Open configuration file for integration-tests read-only to not fail if the ↵Dominik Stadler2023-08-071-1/+1
| | | | | | file is opened by an Application locally git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911504 13f79535-47bb-0310-9956-ffa450edef68
* Fix expected exception text and print out which FileHandler failed in ↵Dominik Stadler2023-08-061-5/+6
| | | | | | integration-tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911495 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid a ClassCastException found via oss-fuzzDominik Stadler2023-08-051-8/+2
| | | | | | | | | We try to avoid throwing ClassCastException but it was possible to trigger one here with a specially crafted input-file Should fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61162 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911459 13f79535-47bb-0310-9956-ffa450edef68
* gradle hates ant 1.10.13PJ Fanning2023-08-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911398 13f79535-47bb-0310-9956-ffa450edef68
* Update Apache Ant to 1.10.13 and use newer Gradle syntaxDominik Stadler2023-08-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911383 13f79535-47bb-0310-9956-ffa450edef68
* update guavaPJ Fanning2023-07-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910755 13f79535-47bb-0310-9956-ffa450edef68
* update guavaPJ Fanning2023-06-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910365 13f79535-47bb-0310-9956-ffa450edef68
* Remove deprecation warnings reported with newer commons-ioDominik Stadler2023-06-085-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910300 13f79535-47bb-0310-9956-ffa450edef68
* update guavaPJ Fanning2023-06-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910275 13f79535-47bb-0310-9956-ffa450edef68
* don't run integration tests in Java 8 (they hang on ↵PJ Fanning2023-05-111-0/+6
| | | | | | https://ci-builds.apache.org/) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909749 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.7PJ Fanning2023-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908558 13f79535-47bb-0310-9956-ffa450edef68
* remove temporary hacksPJ Fanning2023-03-191-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908529 13f79535-47bb-0310-9956-ffa450edef68
* revert back to ant 1.10.12 - 1.10.13 breaks our buildPJ Fanning2023-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908518 13f79535-47bb-0310-9956-ffa450edef68
* ant 1.10.13PJ Fanning2023-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908516 13f79535-47bb-0310-9956-ffa450edef68
* temporary hack to build to see if the gradle toolchain logic is what is ↵PJ Fanning2023-03-191-0/+1
| | | | | | breaking all our https://ci-builds.apache.org/ builds for Java 8 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908515 13f79535-47bb-0310-9956-ffa450edef68
* use 'an'PJ Fanning2023-03-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1908483 13f79535-47bb-0310-9956-ffa450edef68
* try gradle 8.0.1 againPJ Fanning2023-02-221-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907811 13f79535-47bb-0310-9956-ffa450edef68
* try to fix gradle issuesPJ Fanning2023-02-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907809 13f79535-47bb-0310-9956-ffa450edef68
* try to fix gradle issuesPJ Fanning2023-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907808 13f79535-47bb-0310-9956-ffa450edef68
* revert ant upgrade due to issues with ant-launcher-1.10.13.jarPJ Fanning2023-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906580 13f79535-47bb-0310-9956-ffa450edef68
* upgrade antPJ Fanning2023-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906557 13f79535-47bb-0310-9956-ffa450edef68
* Saxon-HE is included in more place, combine these into the main gradle buildDominik Stadler2023-01-061-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906427 13f79535-47bb-0310-9956-ffa450edef68
* try to get rid of cached module-info classesPJ Fanning2022-12-272-17/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
* doesn't matter what jdk vendor is used to build module-info classesPJ Fanning2022-12-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906212 13f79535-47bb-0310-9956-ffa450edef68
* rebuild module-info.class files even if Java8 usedPJ Fanning2022-12-251-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906207 13f79535-47bb-0310-9956-ffa450edef68
* slf4j 2.0.6PJ Fanning2022-12-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905950 13f79535-47bb-0310-9956-ffa450edef68