aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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 to get rid of cached module-info classesPJ Fanning2022-12-271-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1906232 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66213] try to debug failurePJ Fanning2022-08-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903397 13f79535-47bb-0310-9956-ffa450edef68
* Also look for test-data in parent-directoryDominik Stadler2022-07-291-1/+10
| | | | | | | | | When using the IDE to run tests in one of the sub-modules uses the poi-* sub-directory, so looking for the test-data in ../test-data is useful to make executing tests work out-of-the-box git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903103 13f79535-47bb-0310-9956-ffa450edef68
* try to work around issue with getting embedded smart art diagramPJ Fanning2022-07-221-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902946 13f79535-47bb-0310-9956-ffa450edef68
* temporarily exclude new file from poi-integration testPJ Fanning2022-07-221-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902942 13f79535-47bb-0310-9956-ffa450edef68
* try to fix rat checkPJ Fanning2022-06-281-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902313 13f79535-47bb-0310-9956-ffa450edef68
* #66115 - Some Password protected XLS files are not readAndreas Beeker2022-06-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901996 13f79535-47bb-0310-9956-ffa450edef68
* Use a modified version of NullPrintStream in integration testsDominik Stadler2022-04-032-2/+61
| | | | | | | | | | | | The default version from Commons-IO does not avoid doing utf-8 conversion and other work, so it is not well suited for cases where lots of output happens. Using an optimized version can bring down runtime of integration-tests somewhat, especially for large files where XLS2CSV prints out lots of data git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899532 13f79535-47bb-0310-9956-ffa450edef68
* use spaces for indentsPJ Fanning2022-03-201-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
* Avoid flaky tests with parallel executionDominik Stadler2022-03-201-0/+1
| | | | | | | One test stores and deletes files named "-saved.xls", so we need to prevent other tests from reading those git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899077 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused imports, remove unnecessary boxing of int-value and apply some ↵Dominik Stadler2022-03-201-1/+2
| | | | | | other IDE suggestions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
* Fix some SpotBugs reportsDominik Stadler2022-02-242-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898383 13f79535-47bb-0310-9956-ffa450edef68
* exclude files failing on windows nodes, because of limited JCE policiesAndreas Beeker2022-02-221-1/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898330 13f79535-47bb-0310-9956-ffa450edef68
* refactor some stream codePJ Fanning2022-02-191-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898213 13f79535-47bb-0310-9956-ffa450edef68
* normdist (init work)PJ Fanning2022-01-251-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897475 13f79535-47bb-0310-9956-ffa450edef68
* Remove one unnecessary excludeDominik Stadler2022-01-222-1/+1
| | | | | | It seems the problem when cloning was fixed in the meantime git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897335 13f79535-47bb-0310-9956-ffa450edef68
* Exclude one more file when running tests without poi-scratchpadDominik Stadler2022-01-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897334 13f79535-47bb-0310-9956-ffa450edef68
* Add more output when integration-tests do not fail with the expected exceptionDominik Stadler2022-01-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897333 13f79535-47bb-0310-9956-ffa450edef68
* Adjust thread-names when running integrationDominik Stadler2022-01-221-17/+36
| | | | | | | This allows to identify in thread-dumps which file is taking a long time or is causing issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897332 13f79535-47bb-0310-9956-ffa450edef68
* refactor CopyCompare againPJ Fanning2021-12-301-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896543 13f79535-47bb-0310-9956-ffa450edef68
* try to fix test issuePJ Fanning2021-12-301-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896542 13f79535-47bb-0310-9956-ffa450edef68
* rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smellPJ Fanning2021-12-301-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896536 13f79535-47bb-0310-9956-ffa450edef68
* Move org.apache.poi.hssf.dev classes from poi:main to poi:testAndreas Beeker2021-11-151-5/+2
| | | | | | Use CloseShieldOutputStream instead of CloseIgnoringInputStream git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895041 13f79535-47bb-0310-9956-ffa450edef68
* Add missing exclude for CI run "no-scratchpad"Dominik Stadler2021-11-071-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894816 13f79535-47bb-0310-9956-ffa450edef68
* Use parallel build to speed up building and running testsDominik Stadler2021-11-071-1/+8
| | | | | | | | | | | | | | | | Enable parallel building and parallel test-execution Provide a configuration to still build/test serially on CI via CI_BUILD=TRUE gradle --no-parallel --max-workers=1 clean build Adjust Jenkins DSL to set CI_BUILD to avoid problems in CI Adjust TestAllFiles to not fail when parallel builds are enabled Reduce memory settings to reduce requirements on build-environments Add gradle plugin to list task-dependencies Thanks to Andreas Reichel for the PR Closes #275 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894812 13f79535-47bb-0310-9956-ffa450edef68
* Make file-handlers for integration-test public to be able to use them in ↵Dominik Stadler2021-10-2215-15/+15
| | | | | | poi-mass-testing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894478 13f79535-47bb-0310-9956-ffa450edef68
* Give better names to parameterized testsDominik Stadler2021-10-211-2/+2
| | | | | | Otherwise they cannot be distinguished in the JUnit HTML report git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894449 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2021-10-181-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
* setDisallowDocTypeDeclarationPJ Fanning2021-10-143-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
* deprecationPJ Fanning2021-10-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893935 13f79535-47bb-0310-9956-ffa450edef68
* use httpsPJ Fanning2021-09-271-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893673 13f79535-47bb-0310-9956-ffa450edef68
* try to get all ooxml-lite classes loaded for xslfPJ Fanning2021-09-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893361 13f79535-47bb-0310-9956-ffa450edef68
* XmlSec/BouncyCastle and Batik are now optionalAndreas Beeker2021-09-122-1/+8
| | | | | | | | | | disable SonarQube build based on ant remove sonar and maven directory, because POMs are now created via Gradle remove maven section from seed-build fix duplicated maven dependencies on POM export git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893289 13f79535-47bb-0310-9956-ffa450edef68
* Adjust imports and apply some IDE suggestionsDominik Stadler2021-09-101-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893211 13f79535-47bb-0310-9956-ffa450edef68
* try not to have poi-integration in pomPJ Fanning2021-09-051-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892931 13f79535-47bb-0310-9956-ffa450edef68
* update to release 5.1.0Andreas Beeker2021-09-031-0/+0
| | | | | | fix ooxml-lite build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892887 13f79535-47bb-0310-9956-ffa450edef68
* update module-info.classes for next releaseAndreas Beeker2021-09-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
* try to fix no-scratchpad buildAndreas Beeker2021-09-016-155/+115
| | | | | | remove or set-to-static scratchpad dependency from modules git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892795 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2021-08-282-4/+9
| | | | | | | close resources in tests fix gradle warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
* exclude file from integration testPJ Fanning2021-07-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891686 13f79535-47bb-0310-9956-ffa450edef68