aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* remove more deprecated codePJ Fanning2020-12-095-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884259 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated codePJ Fanning2020-12-091-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884229 13f79535-47bb-0310-9956-ffa450edef68
* Add unit-test from bug 56454 to show that the problem is fixed nowDominik Stadler2020-11-011-0/+32
| | | | | | Probably fixed as part of 64460 via r1883037. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883055 13f79535-47bb-0310-9956-ffa450edef68
* Fix file-handle-leaks when re-writing documents or slideshowsDominik Stadler2020-11-011-4/+4
| | | | | | | When replacing a directory, we should close the previous one Close some resources in tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883038 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64460: Fix invalid moving of merged regionsDominik Stadler2020-11-011-0/+1
| | | | | | Also fix and enable two tests ignored previously git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883037 13f79535-47bb-0310-9956-ffa450edef68
* Improve error messages on missing Factory-implementations, fix Sonar issues ↵Dominik Stadler2020-11-013-19/+15
| | | | | | and IDE warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1883035 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch for bug 64791 to use proper position for the WriteAccessRecordDominik Stadler2020-10-251-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882829 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestionsDominik Stadler2020-10-251-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882828 13f79535-47bb-0310-9956-ffa450edef68
* Prevent some unit-tests from failing when non-English local is used in Maven runDominik Stadler2020-10-252-29/+43
| | | | | | Also improve the error message when parsing the date fails. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882825 13f79535-47bb-0310-9956-ffa450edef68
* try to fix sonar buildAndreas Beeker2020-10-232-16/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882792 13f79535-47bb-0310-9956-ffa450edef68
* reformatPJ Fanning2020-10-201-41/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882708 13f79535-47bb-0310-9956-ffa450edef68
* [github-193] Change TRUNC implementation to use MathX. Thanks to Jacob ↵PJ Fanning2020-10-201-0/+15
| | | | | | Harris. This closes #193 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1882706 13f79535-47bb-0310-9956-ffa450edef68
* [bug-64721] NullPointerException occurs when calling getDataSize() of an ↵PJ Fanning2020-09-091-0/+54
| | | | | | object created with ExtRst.copy(). Thanks to Kwon Ohyoung git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881582 13f79535-47bb-0310-9956-ffa450edef68
* #64693 - POI HwmfGraphics cannot read the embedded document titleAndreas Beeker2020-08-301-14/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881322 13f79535-47bb-0310-9956-ffa450edef68
* Update library versionsAndreas Beeker2020-08-1822-1336/+1261
| | | | | | | Replace deprecated junit @Rules with assertThrows Adapt to XMLSec refactoring in version 2.2.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880965 13f79535-47bb-0310-9956-ffa450edef68
* Activate Forbidden-Apis-Check also for other testsAndreas Beeker2020-08-179-634/+687
| | | | | | | 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
* #64036 - Replace reflection calls in factories for Java 9+Andreas Beeker2020-08-161-0/+5
| | | | | | removed some unnecessary reflection calls OperationEvaluatorFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880903 13f79535-47bb-0310-9956-ffa450edef68
* use the forbidden-apis policies corresponding to the JREAndreas Beeker2020-08-157-378/+328
| | | | | | fix the forbidden apis issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880866 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-142-5/+6
| | | | | | - use service locator for SlideShowFactory git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880860 13f79535-47bb-0310-9956-ffa450edef68
* [github-191] Fix RuntimeException on array formula referencing blank cell. ↵PJ Fanning2020-08-141-0/+39
| | | | | | Thanks to Miłosz Rembisz. This closes #191 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880844 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-08-132-44/+31
| | | | | | - 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
* [github-189] Move date parsing logic to DateParser. Thanks to Miłosz ↵PJ Fanning2020-08-111-0/+79
| | | | | | Rembisz. This closes #189 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880777 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-2233-127/+504
| | | | | | | | | | | | | | | - 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
* remove some more deprecated codePJ Fanning2020-06-281-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879298 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated classesPJ Fanning2020-06-272-148/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879276 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Font methods from WorkbookPJ Fanning2020-06-272-19/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879259 13f79535-47bb-0310-9956-ffa450edef68
* try to fix test compilePJ Fanning2020-06-272-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879256 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated Name methods from WorkbookPJ Fanning2020-06-272-28/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879255 13f79535-47bb-0310-9956-ffa450edef68
* Always close Reader in testDominik Stadler2020-06-151-31/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878869 13f79535-47bb-0310-9956-ffa450edef68
* Add some more tests from bug 63819Dominik Stadler2020-06-151-7/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878867 13f79535-47bb-0310-9956-ffa450edef68
* 64512 - Ole10Native aka embedded / object packager - handle UTF16 variantsAndreas Beeker2020-06-111-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878730 13f79535-47bb-0310-9956-ffa450edef68
* [github-182] Fix root property size calculation. Thanks to netmackan. This ↵PJ Fanning2020-06-101-186/+247
| | | | | | closes #182 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878721 13f79535-47bb-0310-9956-ffa450edef68
* test tidy upPJ Fanning2020-06-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878675 13f79535-47bb-0310-9956-ffa450edef68
* [github-181] make Value function work with arrays. Thanks to Miłosz ↵PJ Fanning2020-06-061-0/+15
| | | | | | Rembisz. This closes #181 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1878541 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64322: Optimize performance of reading ole2 filesDominik Stadler2020-05-161-11/+80
| | | | | | | | | Remember channel-size to no re-read it for every read-access, but reset it if we extend the size of the file profiling indicates Channel.size() sometimes has similar runtime overhead as position() or read()! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877816 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64393: Adjust relational operators to handle MissingArgEval correctlyDominik Stadler2020-05-161-0/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877815 13f79535-47bb-0310-9956-ffa450edef68
* [github-180] Add DateValue function. Thanks to Milosz Rembisz. This closes #180PJ Fanning2020-05-152-0/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877793 13f79535-47bb-0310-9956-ffa450edef68
* [github-179] add an option for RangeCopier.copyRange() to clone styles. ↵PJ Fanning2020-05-151-5/+49
| | | | | | Thanks to xjlin0. This closes #179 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877792 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-05-051-19/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877398 13f79535-47bb-0310-9956-ffa450edef68
* [github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.PJ Fanning2020-04-291-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877181 13f79535-47bb-0310-9956-ffa450edef68
* [github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.PJ Fanning2020-04-291-5/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877177 13f79535-47bb-0310-9956-ffa450edef68
* [github-176] Remove limit on number of rules in XSSFSheetConditionalFormatting.PJ Fanning2020-04-291-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877176 13f79535-47bb-0310-9956-ffa450edef68
* Github-177: Avoid NullPointerException if RangeCopier encounters ↵Dominik Stadler2020-04-262-15/+44
| | | | | | | | | | empty/missing rows Also expose one-parameter constructor and verify it in tests. Closes #177 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877010 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63294: Add some more methods to allow to use CellType everywhereDominik Stadler2020-04-241-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876948 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings, remove usage of deprecated methodsDominik Stadler2020-04-242-22/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876947 13f79535-47bb-0310-9956-ffa450edef68
* #55505 - CountryRecord not foundAndreas Beeker2020-04-211-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876805 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-04-192-52/+8
| | | | | | | | - Math operands should be cast before assignment - Suppress - Make sure that command line arguments are used safely here - Suppress - Replace this use of System.out or System.err by a logger. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876737 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interface to HSSFAndreas Beeker2020-04-191-2/+2
| | | | | | a few more HSSF / Old Excel classes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876732 13f79535-47bb-0310-9956-ffa450edef68
* Add unit tests for new Name.isHidden methodNick Burch2020-04-191-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876725 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - Ignore System.out-calls and args checks in examplesAndreas Beeker2020-04-182-82/+14
| | | | | | Remove superfluous internal methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876704 13f79535-47bb-0310-9956-ffa450edef68