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
Andreas Beeker
611f5273fd
sonar fixes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894360 13f79535-47bb-0310-9956-ffa450edef68
2021-10-18 17:40:47 +00:00
PJ Fanning
5dbd081179
setDisallowDocTypeDeclaration
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894222 13f79535-47bb-0310-9956-ffa450edef68
2021-10-14 09:04:53 +00:00
PJ Fanning
4b97b12712
xmlbeans 5.0.2 (temporarily from a pre-release location)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894211 13f79535-47bb-0310-9956-ffa450edef68
2021-10-13 21:27:32 +00:00
PJ Fanning
01697724ec
build issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894047 13f79535-47bb-0310-9956-ffa450edef68
2021-10-08 22:02:11 +00:00
PJ Fanning
fd548a7a33
deprecation
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893935 13f79535-47bb-0310-9956-ffa450edef68
2021-10-06 14:16:51 +00:00
PJ Fanning
f44c15575d
build issue
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893729 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 17:35:05 +00:00
PJ Fanning
bd1ea63abe
[github-254] Implement XSSFWorkbook linkExternalWorkbook. Thanks to @aspojo. This closes #254
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893728 13f79535-47bb-0310-9956-ffa450edef68
2021-09-29 16:16:32 +00:00
PJ Fanning
c202e5d38b
upgrade guava
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893709 13f79535-47bb-0310-9956-ffa450edef68
2021-09-28 14:41:05 +00:00
PJ Fanning
8334fb6cbd
use https
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893673 13f79535-47bb-0310-9956-ffa450edef68
2021-09-27 11:34:18 +00:00
PJ Fanning
16d6fbe144
logging in tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893605 13f79535-47bb-0310-9956-ffa450edef68
2021-09-24 16:44:37 +00:00
PJ Fanning
4fbadb0cfd
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893576 13f79535-47bb-0310-9956-ffa450edef68
2021-09-23 19:03:06 +00:00
PJ Fanning
44e9f4ec24
try to get all ooxml-lite classes loaded for xslf
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893361 13f79535-47bb-0310-9956-ffa450edef68
2021-09-15 14:21:53 +00:00
Andreas Beeker
596db31170
XmlSec/BouncyCastle and Batik are now optional
...
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
2021-09-12 20:31:43 +00:00