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
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
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
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
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
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
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
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
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
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
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
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
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
Dominik Stadler
3e7672d856
Adjust imports and apply some IDE suggestions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893211 13f79535-47bb-0310-9956-ffa450edef68
2021-09-10 06:15:13 +00:00
PJ Fanning
76b270ca64
try not to have poi-integration in pom
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892931 13f79535-47bb-0310-9956-ffa450edef68
2021-09-05 11:39:41 +00:00
Andreas Beeker
f63f3ff09d
update to release 5.1.0
...
fix ooxml-lite build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892887 13f79535-47bb-0310-9956-ffa450edef68
2021-09-03 21:13:36 +00:00
Andreas Beeker
1eace7a0c4
update module-info.classes for next release
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892829 13f79535-47bb-0310-9956-ffa450edef68
2021-09-02 20:47:20 +00:00
Andreas Beeker
5c6493a5fc
try to fix no-scratchpad build
...
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
2021-09-01 22:32:48 +00:00
Andreas Beeker
f71cebcce5
sonar fixes
...
close resources in tests
fix gradle warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892683 13f79535-47bb-0310-9956-ffa450edef68
2021-08-28 23:48:48 +00:00
PJ Fanning
c0c39ed779
exclude file from integration test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891686 13f79535-47bb-0310-9956-ffa450edef68
2021-07-20 13:19:30 +00:00
PJ Fanning
3c4643af9e
try to fix integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891579 13f79535-47bb-0310-9956-ffa450edef68
2021-07-16 08:28:44 +00:00
PJ Fanning
18e10a1cdd
try to fix failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891565 13f79535-47bb-0310-9956-ffa450edef68
2021-07-15 08:06:45 +00:00
PJ Fanning
1ba4966c6e
try to fix failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891556 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 23:20:45 +00:00
PJ Fanning
480d13b118
try to fix failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891555 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 22:46:39 +00:00
PJ Fanning
c104890f33
add extra debug logging to failing tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1891554 13f79535-47bb-0310-9956-ffa450edef68
2021-07-14 21:53:22 +00:00
PJ Fanning
0eb475ee3a
convert tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890125 13f79535-47bb-0310-9956-ffa450edef68
2021-05-22 22:08:50 +00:00
Andreas Beeker
0614835c55
#65304 - Add commons-io as a dependency
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889871 13f79535-47bb-0310-9956-ffa450edef68
2021-05-14 00:37:50 +00:00
Dominik Stadler
f71833e1d9
Do not return null for POITextExtractor.getMetadataTextExtractor() for old Excel files
...
To adhere to the JavaDoc of the POITextExtractor interface which does not document a
possible null return.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889205 13f79535-47bb-0310-9956-ffa450edef68
2021-04-26 15:12:32 +00:00
Andreas Beeker
48d3c68270
TIKA-3164 - add more .xsb and classes needed for TIKAs extractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888985 13f79535-47bb-0310-9956-ffa450edef68
2021-04-19 22:48:09 +00:00
Andreas Beeker
b6aee1ef6d
65206 - Migrate ant / maven to gradle build
...
compile / jar / test of mrJars
don't include ants build.xml anymore
rename directories to match project and maven artifact names
refactor artifacts - so each project has one artifact
replace static references in hssf/dev tests with junit5 constructs, which had problems in parallel tests
increase gradle heap to 4gb because of OOM - maybe less would also work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888488 13f79535-47bb-0310-9956-ffa450edef68
2021-04-07 21:40:33 +00:00