Commit Graph

89 Commits

Author SHA1 Message Date
PJ Fanning 98705b80d4 slf4j 2.0.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904324 13f79535-47bb-0310-9956-ffa450edef68
2022-09-28 14:35:09 +00:00
Marius Volkhart 2056f2e6cf Disable poi-integration javadoc and sources JARs in Gradle. These prevented gradlew publish from succeeding.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904281 13f79535-47bb-0310-9956-ffa450edef68
2022-09-26 17:44:30 +00:00
PJ Fanning bc568387da slf4j 2.0.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904187 13f79535-47bb-0310-9956-ffa450edef68
2022-09-21 10:51:20 +00:00
PJ Fanning 47bcd74df9 slf4j 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904091 13f79535-47bb-0310-9956-ffa450edef68
2022-09-15 14:56:38 +00:00
PJ Fanning 1e50886b54 log4j 2.19.0 rc2 may not need hamcrest build hack
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904064 13f79535-47bb-0310-9956-ffa450edef68
2022-09-14 09:31:40 +00:00
PJ Fanning e694cf4d53 try to fix hamcrest module issue affecting poi-ooxml test compile
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904045 13f79535-47bb-0310-9956-ffa450edef68
2022-09-13 11:26:51 +00:00
PJ Fanning fee2c2a11e test with log4j 2.19.0 rc1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904044 13f79535-47bb-0310-9956-ffa450edef68
2022-09-13 10:48:55 +00:00
PJ Fanning 22315660ba [bug-66213] try to debug failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903397 13f79535-47bb-0310-9956-ffa450edef68
2022-08-13 17:06:14 +00:00
Dominik Stadler 92b8cf9984 Also look for test-data in parent-directory
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
2022-07-29 17:07:05 +00:00
PJ Fanning 32bf52b449 try to work around issue with getting embedded smart art diagram
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902946 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 14:03:14 +00:00
PJ Fanning c3f415d8e7 temporarily exclude new file from poi-integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902942 13f79535-47bb-0310-9956-ffa450edef68
2022-07-22 11:41:31 +00:00
PJ Fanning f212e7c14f try to fix rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902313 13f79535-47bb-0310-9956-ffa450edef68
2022-06-28 11:11:50 +00:00
Andreas Beeker c41176f207 #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
2022-06-16 22:56:47 +00:00
Dominik Stadler 86bc671633 Use a modified version of NullPrintStream in integration tests
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
2022-04-03 13:25:15 +00:00
Dominik Stadler 09e464bb5f poi-ooxml-lite: Check in list of classes and xsb-files to avoid the jar-to-test dependency
Avoid running all tests whenever building jars as tests take a long time now
and also cause large memory allocations.

It is nice if the target "jar" is as fast as possible and the list of included
items for ooxml-lite only changes rarely anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899160 13f79535-47bb-0310-9956-ffa450edef68
2022-03-24 04:42:27 +00:00
PJ Fanning d013349052 use spaces for indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899082 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 10:26:05 +00:00
Dominik Stadler 42985f64df Avoid flaky tests with parallel execution
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
2022-03-20 08:20:05 +00:00
Dominik Stadler 9949242022 Remove unused imports, remove unnecessary boxing of int-value and apply some other IDE suggestions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899076 13f79535-47bb-0310-9956-ffa450edef68
2022-03-20 08:20:00 +00:00
PJ Fanning 21aafe2dbb upgrade guava
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898512 13f79535-47bb-0310-9956-ffa450edef68
2022-03-01 21:43:08 +00:00
Dominik Stadler 25769795de Fix some SpotBugs reports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898383 13f79535-47bb-0310-9956-ffa450edef68
2022-02-24 18:12:25 +00:00
Andreas Beeker 4edfc5155b exclude files failing on windows nodes, because of limited JCE policies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898330 13f79535-47bb-0310-9956-ffa450edef68
2022-02-22 20:21:07 +00:00
Andreas Beeker b59dbbd076 Use gradle toolchain to specify the jdk version and vendor, e.g.
> gradle -no-build-cache -PjdkVersion=16 -PjdkVendor=oracle clean check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898288 13f79535-47bb-0310-9956-ffa450edef68
2022-02-21 22:57:03 +00:00
PJ Fanning 788dd3f03c refactor some stream code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898213 13f79535-47bb-0310-9956-ffa450edef68
2022-02-19 12:08:48 +00:00
PJ Fanning b6983af7a5 slf4j 1.7.36
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897875 13f79535-47bb-0310-9956-ffa450edef68
2022-02-08 14:48:30 +00:00
PJ Fanning 58ae50ea98 normdist (init work)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897475 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 22:32:18 +00:00
PJ Fanning 9fce5fb9fc slf4j 1.7.35
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897451 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 11:28:56 +00:00
PJ Fanning 1980124358 slf4j 1.7.34
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897444 13f79535-47bb-0310-9956-ffa450edef68
2022-01-25 10:24:57 +00:00
PJ Fanning e71e602762 revert test module changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897355 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 21:34:35 +00:00
PJ Fanning 1ee199b1ea try to fix build for Java 9+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897344 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 14:35:20 +00:00
PJ Fanning e0b84ef6ef slf4j 1.7.33
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897337 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 13:28:00 +00:00
Dominik Stadler 91fe8c5357 Remove one unnecessary exclude
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
2022-01-22 10:47:28 +00:00
Dominik Stadler 373d30cdf6 Exclude one more file when running tests without poi-scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897334 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 10:47:24 +00:00
Dominik Stadler cf15cba02d Add more output when integration-tests do not fail with the expected exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897333 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:50 +00:00
Dominik Stadler 9d97acc448 Adjust thread-names when running integration
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
2022-01-22 08:57:46 +00:00
Dominik Stadler bba249d522 Don't add main classes to *-test.jar files
Better to only provide them once to avoid very strange
errors if they differ for some reason

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897330 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 08:57:38 +00:00
Dominik Stadler 53599d84a7 Add test-dependency on slf4j-simple to include all logs in captured test-output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897317 13f79535-47bb-0310-9956-ffa450edef68
2022-01-22 06:58:34 +00:00
PJ Fanning 4823d0cbd4 refactor CopyCompare again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896543 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 21:09:08 +00:00
PJ Fanning e35347157d try to fix test issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896542 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:41:51 +00:00
PJ Fanning 9a5dec078b rewrite CopyCompare to remove its ThreadLocal which causes a sonar code smell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896536 13f79535-47bb-0310-9956-ffa450edef68
2021-12-30 20:02:03 +00:00
PJ Fanning 5022f30c4b tidy up gradle scripts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895321 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:31:50 +00:00
PJ Fanning a3f0121147 saxon test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895319 13f79535-47bb-0310-9956-ffa450edef68
2021-11-25 10:05:00 +00:00
Andreas Beeker 27b4bdc3f7 Move org.apache.poi.hssf.dev classes from poi:main to poi:test
Use CloseShieldOutputStream instead of CloseIgnoringInputStream

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895041 13f79535-47bb-0310-9956-ffa450edef68
2021-11-15 00:03:44 +00:00
Dominik Stadler 62b628f6f3 Add missing exclude for CI run "no-scratchpad"
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894816 13f79535-47bb-0310-9956-ffa450edef68
2021-11-07 15:26:56 +00:00
Dominik Stadler 53217e2b1e Use parallel build to speed up building and running tests
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
2021-11-07 14:59:48 +00:00
Andreas Beeker f2f4ea44b6 #65668 - upgrade to xmlsec 2.3.0 - make secure validation configurable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894701 13f79535-47bb-0310-9956-ffa450edef68
2021-11-03 00:00:21 +00:00
Dominik Stadler bf22ea449e Switch to Gradle build for recomplication-test in poi-integration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894677 13f79535-47bb-0310-9956-ffa450edef68
2021-11-02 13:18:07 +00:00
Dominik Stadler c7e4307ac4 Make file-handlers for integration-test public to be able to use them in poi-mass-testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894478 13f79535-47bb-0310-9956-ffa450edef68
2021-10-22 14:31:52 +00:00
Dominik Stadler 684f35d3cb Give better names to parameterized tests
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
2021-10-21 14:17:25 +00:00
PJ Fanning 9fe3944e8e get proper xmlbeans 5.0.2 release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894428 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 23:54:34 +00:00
PJ Fanning f09e50305e ant 1.10.12
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894425 13f79535-47bb-0310-9956-ffa450edef68
2021-10-20 22:48:54 +00:00