aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
* [bug-69681] allow 1 optional space in date formats before the AM/PM partPJ Fanning2025-06-171-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926508 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69714] add TempFile.withStrategy. Thanks to Attila Kelemen. This closes ↵PJ Fanning2025-06-161-0/+68
| | | | | | #825 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926471 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69714] refactor testPJ Fanning2025-06-161-42/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926467 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69714] add thread local support for overriding TempFile strategyPJ Fanning2025-06-161-0/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926466 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69715] update testsPJ Fanning2025-06-151-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926446 13f79535-47bb-0310-9956-ffa450edef68
* add new linePJ Fanning2025-06-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926445 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69715] in DefaultTempFileCreationStrategy, allow initDir to not yet existPJ Fanning2025-06-151-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926444 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69715] add tests removing an old invalid onePJ Fanning2025-06-141-13/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926424 13f79535-47bb-0310-9956-ffa450edef68
* add missing types to CellUtil.namePropertyMapPJ Fanning2025-05-291-0/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925936 13f79535-47bb-0310-9956-ffa450edef68
* code refactorPJ Fanning2025-05-174-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925650 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69688] add test case based on one provided by Dan SPJ Fanning2025-05-131-0/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925538 13f79535-47bb-0310-9956-ffa450edef68
* [github-806] HSSFColor: Reduce use of java.awt.Color. Thanks to Jaroslav ↵PJ Fanning2025-05-111-0/+12
| | | | | | Tulach. This closes #806 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925491 13f79535-47bb-0310-9956-ffa450edef68
* [github-803] Add support for SHEET function. Thanks to Richard V. This ↵PJ Fanning2025-05-101-0/+89
| | | | | | closes #803 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925484 13f79535-47bb-0310-9956-ffa450edef68
* allow ATP function overridePJ Fanning2025-05-061-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925445 13f79535-47bb-0310-9956-ffa450edef68
* allow ATP function overridePJ Fanning2025-05-061-0/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925444 13f79535-47bb-0310-9956-ffa450edef68
* Bug 69667: Test more variants of valid and invalid usernamesDominik Stadler2025-05-061-3/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925429 13f79535-47bb-0310-9956-ffa450edef68
* add testPJ Fanning2025-05-051-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925420 13f79535-47bb-0310-9956-ffa450edef68
* Bug 69667: Handle slightly broken WriteAccessRecord gracefullyDominik Stadler2025-05-051-0/+43
| | | | | | | | | | | | | | | It seems some software creates records with invalid length. If it uses UTF-16LE encoding, we can end up with 109 bytes, which is invalid as UTF-16LE always requires an even number of bytes. Therefor we now sanitize the number of bytes we read from the record to avoid this issue. Also improve error message and add tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925419 13f79535-47bb-0310-9956-ffa450edef68
* [bug-69658] use EnumMap elsewherePJ Fanning2025-04-241-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925250 13f79535-47bb-0310-9956-ffa450edef68
* ForbiddenApis: Adjust for deprecations in JDK 21+Dominik Stadler2025-04-217-22/+26
| | | | | | | | | Fix failures reported when raising the language level to 23 new URL() is deprecated new Locale() is deprecated still allow ThreadDeath and Thread.getId() for now to keep support for JDK 8 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925199 13f79535-47bb-0310-9956-ffa450edef68
* Add more output to test to try to see why it fails now with JDK 23Dominik Stadler2025-04-211-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925189 13f79535-47bb-0310-9956-ffa450edef68
* Add test which populates cells with null stringDominik Stadler2025-04-211-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925187 13f79535-47bb-0310-9956-ffa450edef68
* build issues due to commons-io 2.19.0PJ Fanning2025-04-123-20/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925059 13f79535-47bb-0310-9956-ffa450edef68
* [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