aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest
Commit message (Collapse)AuthorAgeFilesLines
* Make "normalizing" the file-path actually workDominik Stadler2021-03-242-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888021 13f79535-47bb-0310-9956-ffa450edef68
* add more xsbs to the ooxml-lite jar by recursing through XWPF and XSSF documentsAndreas Beeker2021-03-233-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887978 13f79535-47bb-0310-9956-ffa450edef68
* revert accidental changePJ Fanning2021-03-191-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887829 13f79535-47bb-0310-9956-ffa450edef68
* try to re-enable new getBlockAt codePJ Fanning2021-03-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887828 13f79535-47bb-0310-9956-ffa450edef68
* try to fix windows path issues in exception messagesAndreas Beeker2021-03-081-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887346 13f79535-47bb-0310-9956-ffa450edef68
* Enable running more integration tests from Gradle.Marius Volkhart2021-02-261-2/+14
| | | | | | This is particularly relevant for developers who import the Gradle project into their IDE and run tests using the Gradle test runner. Those developers were previously unable to debug integration tests. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886962 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63046] Use Log4j 2 for loggingMarius Volkhart2021-02-213-61/+6
| | | | | | | | | | This removes the POILogger and POILogFactory mechanism for logging. This mechanism was created at a time when the Java landscape looked very different than it does today. Log4j 2 is an Apache Foundation project that is well maintained and is widely regarded as having good performance and capabilities. We use only the Log4j API artifact. This lets application developers choose how they want to capture logging events if at all. Integrations with Log4j 2 Core and Logback are available from the Log4j project. Closes #224 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886770 13f79535-47bb-0310-9956-ffa450edef68
* Do not require NullPointerException to have a null-message on JDK < 16Dominik Stadler2021-02-151-7/+1
| | | | | | It seems depending on the exact JDK some Exceptions have failure messages populated git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886527 13f79535-47bb-0310-9956-ffa450edef68
* Adjust integration-test slightly for running mass-regression-testsDominik Stadler2021-01-301-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886062 13f79535-47bb-0310-9956-ffa450edef68
* Apply IDE suggestions, add toString(), adjust JavaDoc and simplify code slightlyDominik Stadler2021-01-301-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886061 13f79535-47bb-0310-9956-ffa450edef68
* try to fix windows integration testsAndreas Beeker2021-01-242-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885888 13f79535-47bb-0310-9956-ffa450edef68
* Integration tests - try to fix Oracle/OpenJDK vs IBM-JDK error message ↵Andreas Beeker2021-01-171-2/+2
| | | | | | differences on XXE files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885625 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-171-1/+0
| | | | | | | constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$' reorder "final static" -> "static final" git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885613 13f79535-47bb-0310-9956-ffa450edef68
* Integration test - fix filenames with windows path separatorAndreas Beeker2021-01-171-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885595 13f79535-47bb-0310-9956-ffa450edef68
* integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ↵Andreas Beeker2021-01-164-193/+339
| | | | | | | | ...) 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
* integration tests: Fix JDK version handlingAndreas Beeker2021-01-161-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885553 13f79535-47bb-0310-9956-ffa450edef68
* integration tests: NullPointerExceptions contain now a description in Java 16+Andreas Beeker2021-01-161-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885549 13f79535-47bb-0310-9956-ffa450edef68
* #65046 - Simplify integration testsAndreas Beeker2021-01-159-710/+371
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885538 13f79535-47bb-0310-9956-ffa450edef68
* revert Sonar fixes on BaseIntegrationTestAndreas Beeker2021-01-101-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885341 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-1019-46/+53
| | | | | | 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
* Run all integration-test steps in manual test-methodDominik Stadler2021-01-061-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885190 13f79535-47bb-0310-9956-ffa450edef68
* Adjust one expected error message in integration-testsDominik Stadler2021-01-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885188 13f79535-47bb-0310-9956-ffa450edef68
* Adjust assumption for one specific font-related exception on WindowsDominik Stadler2021-01-061-3/+5
| | | | | | 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
* Avoid test failing on Windows with JDK 8 because of an ↵Dominik Stadler2021-01-031-2/+15
| | | | | | ArrayIndexOutOfBoundsException when handling fonts git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885058 13f79535-47bb-0310-9956-ffa450edef68
* ooxml-schema: trigger loading stress-documents as part of the normal unit-testsDominik Stadler2021-01-031-0/+1
| | | | | | | | The integration-tests are not executed for determining the parts of the schema to include in the "lite" package and so we need to have a normal unit-test as well. Add more documents which drag in some more parts from the ooxml-schema git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885057 13f79535-47bb-0310-9956-ffa450edef68
* Add unfixed test for bug 64759 and make the ones fail which depend on manual ↵Dominik Stadler2020-12-301-0/+1
| | | | | | opening of files in Microsoft Excel for verification git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884957 13f79535-47bb-0310-9956-ffa450edef68
* Adjust error-message on old files and simplify code slightlyDominik Stadler2020-12-301-14/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884950 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2020-12-283-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884874 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-2424-178/+157
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* avoid string concatsPJ Fanning2020-12-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884573 13f79535-47bb-0310-9956-ffa450edef68
* #64979 - Change artifact names of poi-/ooxml-schemasAndreas Beeker2020-12-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884381 13f79535-47bb-0310-9956-ffa450edef68
* ignore hwmf examples on distsourcebuildAndreas Beeker2020-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883899 13f79535-47bb-0310-9956-ffa450edef68
* remove stray importPJ Fanning2020-11-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883394 13f79535-47bb-0310-9956-ffa450edef68
* [github-197] Modify test class HeapDump to allow it work in different JDKs. ↵PJ Fanning2020-11-131-5/+39
| | | | | | Thanks to Marius Volkhart. This closes #197 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883393 13f79535-47bb-0310-9956-ffa450edef68
* Avoid dependency on ooxml-test in integration-testDominik Stadler2020-09-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882040 13f79535-47bb-0310-9956-ffa450edef68
* Try to fix the Gradle buildDominik Stadler2020-09-261-1/+2
| | | | | | | | Third party lib updates Also use the temporary XMLBeans 4.0.0 jar Add missing dependencies git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882036 13f79535-47bb-0310-9956-ffa450edef68
* Fix IDE warnings, add more assertion-outputDominik Stadler2020-09-253-11/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882025 13f79535-47bb-0310-9956-ffa450edef68
* Activate Forbidden-Apis-Check also for other testsAndreas Beeker2020-08-174-82/+6
| | | | | | | Max supported Java version is currently Java 14 Fix the check failures git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880944 13f79535-47bb-0310-9956-ffa450edef68
* try to fix no-scratchpad testAndreas Beeker2020-08-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880893 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-132-7/+8
| | | | | | - rework extractors - see bugzilla entry for more information git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880839 13f79535-47bb-0310-9956-ffa450edef68
* examples had been moved due to jigsaw modules migrationAndreas Beeker2020-07-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880264 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-227-64/+42
| | | | | | | | | | | | | | | - use classpath-build for Java 8, otherwise use modulepath - save module-info classes to source, when using Java 9+ environment - rename example packages - otherwise package clashes occured in the tests - move agile encryption from ooxml to main. remove EncryptionInfo XmlBeans and schema and use custom xml marshalling - move ooxml test classes which reside in the same package as their tested main class - rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml - build.xml - fixed the Rhino javascript errors of the dependency-macros - DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level - use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
* Handle more detected FileMagic types gracefully when running regression testingDominik Stadler2020-06-151-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878871 13f79535-47bb-0310-9956-ffa450edef68
* next version will be 5.0.0PJ Fanning2020-05-171-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877875 13f79535-47bb-0310-9956-ffa450edef68
* Fix test-failureDominik Stadler2020-05-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877847 13f79535-47bb-0310-9956-ffa450edef68
* fix errors due to new lib structureAndreas Beeker2020-05-071-21/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877466 13f79535-47bb-0310-9956-ffa450edef68
* Re-establish class which is used in mass-regression-testingDominik Stadler2020-04-241-0/+175
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876946 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes and remove obsolete classesAndreas Beeker2020-04-011-171/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876019 13f79535-47bb-0310-9956-ffa450edef68
* Support building with Gradle in POIFileScanner testsDominik Stadler2020-03-291-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875849 13f79535-47bb-0310-9956-ffa450edef68
* Don't create separate instances for NullFileHandler, but rather use a common ↵Dominik Stadler2020-03-162-58/+60
| | | | | | | | static instance This can save some memory during regression testing. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875268 13f79535-47bb-0310-9956-ffa450edef68