Commit Graph

10642 Commits

Author SHA1 Message Date
Andreas Beeker 44efecf42e integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ...)
Refactor TestAllFiles to provide an API for mass testing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885576 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 15:51:00 +00:00
Andreas Beeker 2a19c0161d integration tests: Fix JDK version handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885553 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 11:36:45 +00:00
Andreas Beeker 5e110d7216 integration tests: NullPointerExceptions contain now a description in Java 16+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885549 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 09:55:42 +00:00
Andreas Beeker 8a388f61e8 include externals on release build checkout
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885539 13f79535-47bb-0310-9956-ffa450edef68
2021-01-16 00:19:04 +00:00
Andreas Beeker 309e657b0d #65046 - Simplify integration tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 23:50:42 +00:00
Andreas Beeker ca71e9dacf Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885537 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 22:34:35 +00:00
Andreas Beeker ac19545a66 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885503 13f79535-47bb-0310-9956-ffa450edef68
2021-01-15 00:03:43 +00:00
Andreas Beeker 4fec14dbc6 prepare for 5.0.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885419 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:40:59 +00:00
Andreas Beeker ff2ae68ffc add lz4-java for svn/release operations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885417 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:39:07 +00:00
Andreas Beeker 750f17ad5a release prepare for 5.0.0 - updating build.xml and changes.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885416 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:33:18 +00:00
Andreas Beeker 70a3c38a43 remove EPL license
see https://lists.apache.org/thread.html/r605598dd36a371a8439652c8b362f4099d57662aeaf837fe5c22ad25%40%3Cdev.poi.apache.org%3E

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885412 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 22:12:28 +00:00
Andreas Beeker e7fc9e3a3a Update license / NOTICE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885402 13f79535-47bb-0310-9956-ffa450edef68
2021-01-12 18:05:36 +00:00
Andreas Beeker bf3e4e5b58 Update maven dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885371 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 23:53:29 +00:00
Andreas Beeker 0aa7e7dfb6 Update maven dependencies
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885369 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 22:58:02 +00:00
Andreas Beeker 22e67b0dc7 Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885343 13f79535-47bb-0310-9956-ffa450edef68
2021-01-11 00:34:21 +00:00
Andreas Beeker 9daa77751a revert Sonar fixes on BaseIntegrationTest
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885341 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 21:36:32 +00:00
Andreas Beeker 1041a876cb Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885340 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 21:16:04 +00:00
Andreas Beeker cc7cd1caf3 ignore inner classes in junitlauncher run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885334 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 13:34:04 +00:00
Andreas Beeker 5b807e29dd IBM JDK is slower than the other JDKs with "test58896WithFile" testcase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885333 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 13:28:48 +00:00
Andreas Beeker 834a7628d2 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885326 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:42:30 +00:00
Andreas Beeker 9c358836b4 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885325 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:34:16 +00:00
Andreas Beeker a42b47c27c Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885324 13f79535-47bb-0310-9956-ffa450edef68
2021-01-10 01:15:55 +00:00
Andreas Beeker d6477fc14c Sonar fixes
add asserts to tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885321 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 23:20:13 +00:00
Andreas Beeker 2457ece51e Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885319 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 20:25:15 +00:00
Andreas Beeker b0870699e3 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885318 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 20:19:07 +00:00
Andreas Beeker b4133f5e23 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885315 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 19:20:09 +00:00
Andreas Beeker a4ed4359cc Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885308 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 18:24:51 +00:00
Andreas Beeker 1d676a098d Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885302 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 15:49:35 +00:00
Andreas Beeker 8631e6c9c9 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885300 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 15:35:07 +00:00
Andreas Beeker a7d741fd17 Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885283 13f79535-47bb-0310-9956-ffa450edef68
2021-01-09 00:46:52 +00:00
Andreas Beeker 606a313c4c Sonar fixes
JUnit5 test classes and methods should have default package visibility

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885281 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 23:50:02 +00:00
Andreas Beeker fb2a96a048 Sonar fixes
Fixed offset of compare picture in resize_compare.xlsx

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885280 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 22:56:05 +00:00
Andreas Beeker 09464f1fea Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885253 13f79535-47bb-0310-9956-ffa450edef68
2021-01-08 00:26:16 +00:00
Dominik Stadler 4bc450ef5f Properly close file handles in extractors and when handling password-protected files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885229 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:57 +00:00
Dominik Stadler 1882dc74c9 Add one more file-leak-detector exclude
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885228 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:51 +00:00
Dominik Stadler ce701485d8 Improve EmptyFileException when the file actually does not exist at all
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885227 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 06:52:46 +00:00
Andreas Beeker dde88b1102 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885219 13f79535-47bb-0310-9956-ffa450edef68
2021-01-07 00:27:13 +00:00
Andreas Beeker 2125c37d31 #65063 - WMF parsing failed on closed empty polygon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885215 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 23:14:45 +00:00
Andreas Beeker 4c0d0b1381 #65061 - Handle VmlDrawings containing spreadsheet-ml default namespace
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885197 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 12:39:02 +00:00
Dominik Stadler eba33ddb6f Include file-name in EmptyFileException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885192 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:41 +00:00
Dominik Stadler 7aa6b06085 Try to avoid error "Start point cannot equalendpoint"
Happened when trying to apply a gradient to an empty text,
let's use at least 1 gradient step always to avoid this.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885191 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:35 +00:00
Dominik Stadler a2fa70b15d Run all integration-test steps in manual test-method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885190 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:31 +00:00
Dominik Stadler c1397afbf3 Slightly adjust error message if requested allocations are too big
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885189 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:28 +00:00
Dominik Stadler da7725e3d6 Adjust one expected error message in integration-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885188 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:25 +00:00
Dominik Stadler 47c5e9b08d Adjust assumption for one specific font-related exception on Windows
Otherwise it triggers too much and hides actual regression bugs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885187 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:21 +00:00
Dominik Stadler 42ca20ad59 Avoid unneeded Unicode characters which break compiling if encoding is not UTF-8
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885186 13f79535-47bb-0310-9956-ffa450edef68
2021-01-06 09:10:17 +00:00
Andreas Beeker 9573f059b6 Sonar fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885179 13f79535-47bb-0310-9956-ffa450edef68
2021-01-05 23:40:36 +00:00
Dominik Stadler b7e9cb48d0 Bug 64132: Fix regression introduced by changing factories
We need to return EscherBlipRecord for all types in the defined range of recordId,
not UnknownEscherRecord.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
2021-01-04 05:51:24 +00:00
Dominik Stadler 43e1d6eba6 Try to make Gradle build work
Add a dependency that is reported as missing locally with JDK 11
Combine common test-dependencies
Avoid running base-class BaseTestMissingWorkbook, only the derived class is actually a unit-test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885074 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 18:19:55 +00:00
Dominik Stadler a0b0e3a4a7 Enable XML result files for Gradle build to make them available for Jenkins CI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885071 13f79535-47bb-0310-9956-ffa450edef68
2021-01-03 17:02:24 +00:00