aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/test
Commit message (Collapse)AuthorAgeFilesLines
* [bug-69628] make IOUtils more tolerant of len < 0PJ Fanning2025-03-251-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924601 13f79535-47bb-0310-9956-ffa450edef68
* add testPJ Fanning2025-03-231-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924539 13f79535-47bb-0310-9956-ffa450edef68
* fix test issuePJ Fanning2025-03-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924535 13f79535-47bb-0310-9956-ffa450edef68
* add datetime testPJ Fanning2025-02-171-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923882 13f79535-47bb-0310-9956-ffa450edef68
* add datetime testPJ Fanning2025-02-171-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923881 13f79535-47bb-0310-9956-ffa450edef68
* fix problem test (SXXSF)PJ Fanning2025-02-141-10/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923819 13f79535-47bb-0310-9956-ffa450edef68
* temp disable problem test (SXXSF)PJ Fanning2025-02-131-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923797 13f79535-47bb-0310-9956-ffa450edef68
* fix some of the broken testsPJ Fanning2025-02-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923796 13f79535-47bb-0310-9956-ffa450edef68
* fix some of the broken testsPJ Fanning2025-02-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923795 13f79535-47bb-0310-9956-ffa450edef68
* fix some of the broken testsPJ Fanning2025-02-135-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923794 13f79535-47bb-0310-9956-ffa450edef68
* refactor cell toString to use DataFormatterPJ Fanning2025-02-131-3/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923790 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69583] DateUtil needs to handle time only dates (issue with 1900 format ↵PJ Fanning2025-02-131-66/+83
| | | | | | dates) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923785 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69583] when copying cells with dates - prefer using the numeric data ↵PJ Fanning2025-02-131-0/+27
| | | | | | directly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923780 13f79535-47bb-0310-9956-ffa450edef68
* remove unused importAxel Howind2025-01-111-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923082 13f79535-47bb-0310-9956-ffa450edef68
* Support long month names, dot after day, single digit day of monthAxel Howind2025-01-111-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923081 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that test which changes static value does not run at the same time as ↵Dominik Stadler2025-01-111-0/+3
| | | | | | | | other tests Otherwise we get strange test-failures in other places. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923066 13f79535-47bb-0310-9956-ffa450edef68
* Bug 65190: Handle decimal format '0#' the same way as ExcelDominik Stadler2025-01-111-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923056 13f79535-47bb-0310-9956-ffa450edef68
* Apply IDE suggestions, code-formating, tests, ...Dominik Stadler2025-01-112-6/+175
| | | | | | | Add test for DefaultTempFileCreationStrategy Adjust comments, add test, improve error message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923054 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58571: Add test which shows a workaroundDominik Stadler2025-01-111-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923053 13f79535-47bb-0310-9956-ffa450edef68
* Bug 69265: Add test which verifies that Hyperlink Type "Email" is not ↵Dominik Stadler2025-01-111-0/+117
| | | | | | | | | supported for HSSF Also update JavaDoc slightly to describe the special handling of HyperlinkType.EMAIL git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1923050 13f79535-47bb-0310-9956-ffa450edef68
* Apply some spelling fixes from GitHub PR #480Dominik Stadler2024-12-251-1/+1
| | | | | | | Some suggested changes are too invasive so we can only pick some changes semi-automatically git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922678 13f79535-47bb-0310-9956-ffa450edef68
* Adjust for removed locale provider in JDK 23 and newerDominik Stadler2024-12-141-4/+20
| | | | | | | | | | | | | | | | JDK 23 removes the COMPAT/JRE locale provider which causes some changes to string formatting Some currency formatting relied on COMPAT to format US-Dollar, we should override this to keep the formatting the same way as Excel and LibreOffice. Also some tests for Chinese tried to work around when COMPAT was used, this needs to take JDK 23 into account when checking git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922500 13f79535-47bb-0310-9956-ffa450edef68
* Print out current locale.provider for some test-failuresDominik Stadler2024-12-141-1/+4
| | | | | | | JDK 24 will break things here and thus we should get more information about which provider is used when running some tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922487 13f79535-47bb-0310-9956-ffa450edef68
* add back 731 changes but increase gradle heapPJ Fanning2024-11-271-0/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922162 13f79535-47bb-0310-9956-ffa450edef68
* revert 731 because of suspicious mem issues in ci-buildsPJ Fanning2024-11-261-65/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922112 13f79535-47bb-0310-9956-ffa450edef68
* add mirr testPJ Fanning2024-11-251-0/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922096 13f79535-47bb-0310-9956-ffa450edef68
* [github-733] Fix rate order in Mirr function. Thanks to Aleksandrs Jansons. ↵PJ Fanning2024-11-251-19/+20
| | | | | | This closes #733 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922095 13f79535-47bb-0310-9956-ffa450edef68
* [github-731] Fix the mini-stream size in the root property. This closes #731PJ Fanning2024-11-251-0/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922094 13f79535-47bb-0310-9956-ffa450edef68
* PoiLogManagerPJ Fanning2024-11-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922063 13f79535-47bb-0310-9956-ffa450edef68
* PoiLogManagerPJ Fanning2024-11-244-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1922055 13f79535-47bb-0310-9956-ffa450edef68
* More tests for reproducible outputsDominik Stadler2024-11-202-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921981 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestions, JavaDoc and GitHub PRDominik Stadler2024-11-202-5/+32
| | | | | | | | | | | Update assertion-message Adjust JavaDoc Add tests Reformat class DirectoryNode, adjust/move some comments Closes #730 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921980 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66590] Number of blocks used by the property table missing from the ↵PJ Fanning2024-11-191-3/+35
| | | | | | file header. Thanks to Emmanuel Bourg. This closes #728 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921956 13f79535-47bb-0310-9956-ffa450edef68
* [bug-66590] Number of blocks used by the property table missing from the ↵PJ Fanning2024-11-182-1/+5
| | | | | | file header. Thanks to Emmanuel Bourg. This closes #462 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921936 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69418] Issue when evaluating WORKDAY function that has a cell ref as ↵PJ Fanning2024-10-291-1/+1
| | | | | | 2nd param git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921651 13f79535-47bb-0310-9956-ffa450edef68
* add workday testPJ Fanning2024-10-292-0/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921649 13f79535-47bb-0310-9956-ffa450edef68
* [github-704] Add UserNameAwareTempFileCreationStrategy. Thanks to ↵PJ Fanning2024-10-061-0/+43
| | | | | | TigerZCoder. This closes #704 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921154 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69351] fix issues with removing items from IntListPJ Fanning2024-09-291-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921017 13f79535-47bb-0310-9956-ffa450edef68
* [github-692] D* functions are incompatible with the diamond operator. Thanks ↵PJ Fanning2024-09-206-0/+33
| | | | | | to Luk Spiewak. This closes #692 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920817 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69209] default ignoreMissingFontSystem to truePJ Fanning2024-09-121-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920601 13f79535-47bb-0310-9956-ffa450edef68
* [github-682] Add CellPropertyType and CellPropertyCategory enums. Thanks to ↵PJ Fanning2024-08-272-39/+954
| | | | | | Danila Avdeyenko. This closes #682 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920230 13f79535-47bb-0310-9956-ffa450edef68
* add chinese hssf testPJ Fanning2024-07-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919373 13f79535-47bb-0310-9956-ffa450edef68
* remove 22742.xlsPJ Fanning2024-07-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919372 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-181-0/+12
| | | | | | | | | | | | | | Processing formats uses regular expressions. Very complex formats can recurse very deeply and thus can cause StackOVerflows depending on the used stack-size. In order to handle this a bit more gracefully, we now catch this and report a better exception with details about the parsed format and potential mitigation. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66137 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919342 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-162-7/+58
| | | | | | | | | | | Avoid a possible OutOfMemoryException with many child-records This avoids having too many children in EscherRecords, the limit of 100_000 is arbitrarily chosen and can be adjusted if needed Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=62924 and maybe others git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919272 13f79535-47bb-0310-9956-ffa450edef68
* Apply some IDE suggestionsDominik Stadler2024-07-151-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919257 13f79535-47bb-0310-9956-ffa450edef68
* Add initial support for SOURCE_DATE_EPOCHDominik Stadler2024-07-151-65/+18
| | | | | | | | | | | | | | | | This allows to create reproducible binary files without creation/modification-timestamp being set when environment variable SOURCE_DATE_EPOCH is set. See https://reproducible-builds.org/docs/source-date-epoch/ for the related specification. For now, we ensure that Zip-file entries set the modification time to 1970-01-01, which seems to be enough to make simple OOXML files reproducible. There are likely some other places where resulting files are not reproducible, some more testing will be necessary to identify other areas that should take this into account as well. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919236 13f79535-47bb-0310-9956-ffa450edef68
* Bug 66425: Avoid exceptions found via poi-fuzzDominik Stadler2024-07-141-0/+1
| | | | | | | | Prevent a ClassCastException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66089 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919214 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69154] add speculative row shifter fixPJ Fanning2024-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918841 13f79535-47bb-0310-9956-ffa450edef68
* add dataformatter testPJ Fanning2024-07-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1918819 13f79535-47bb-0310-9956-ffa450edef68