aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf
Commit message (Collapse)AuthorAgeFilesLines
...
* Sonar FixesAndreas Beeker2020-03-291-8/+8
| | | | | | | | | - use String.replace instead of String.replaceAll for literal values - use constants from base class - deprecated various references to constants of org.apache.poi.ss.usermodel.FontFormatting - to be replaced by o.a.p.s.u.Font in POI 5.0.0 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875859 13f79535-47bb-0310-9956-ffa450edef68
* #64213 - Picture.resize(double scale) scales width wrong for small pictures ↵Andreas Beeker2020-03-161-207/+202
| | | | | | and when dx1 is set git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875266 13f79535-47bb-0310-9956-ffa450edef68
* Work on bug 64038 and other bugs and add test for 62865Dominik Stadler2020-03-081-3/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874983 13f79535-47bb-0310-9956-ffa450edef68
* Try to use https for poi.apache.org everywhereDominik Stadler2020-03-083-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874981 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect handling of format which should not produce any digit for zeroDominik Stadler2020-03-071-2/+23
| | | | | | | | Also include the internally computed format-string when the resulting format causes an exception One other case with question marks is still not handled correctly, though git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874950 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64130 -- handle empty worksheet names in OldSheetRecord more robustly.Tim Allison2020-02-107-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873863 13f79535-47bb-0310-9956-ffa450edef68
* #64036 - Replace reflection calls in factories for Java 9+ - Escher factoriesAndreas Beeker2020-01-261-42/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873187 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixesAndreas Beeker2020-01-231-566/+489
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873078 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2020-01-214-10/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1873015 13f79535-47bb-0310-9956-ffa450edef68
* try to fix some jdk 14 build issues due to java.lang.Record causing existing ↵PJ Fanning2020-01-1028-99/+99
| | | | | | POI Record classes to be ambiguous git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872610 13f79535-47bb-0310-9956-ffa450edef68
* reformat codePJ Fanning2020-01-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872568 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63998] Support commas, exclamation marks correctly in AreaReference. ↵PJ Fanning2020-01-091-13/+34
| | | | | | Thanks to hzwhuang git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872567 13f79535-47bb-0310-9956-ffa450edef68
* ignore path conversion for URLsAndreas Beeker2020-01-071-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872402 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes - use assert in junit testsAndreas Beeker2020-01-061-1688/+1479
| | | | | | | | use try-with-resources remove obsolete and renamed OPOIFS references add logic to unit tests which just opened a file, by rewriting it and some formula evaluation logic git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872397 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - Tests should include assertionsAndreas Beeker2020-01-0360-648/+699
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872302 13f79535-47bb-0310-9956-ffa450edef68
* Fix some additional file-handle-leaks reported by unit-tests via an enhanced ↵Dominik Stadler2020-01-031-33/+30
| | | | | | | | version of the file-leak-detector Also add a test for Bug 64045 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872287 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63940: Avoid endless loop/out of memory on string-replace with empty ↵Dominik Stadler2019-12-311-15/+20
| | | | | | search string git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872145 13f79535-47bb-0310-9956-ffa450edef68
* Migrate all junit tests to Junit 4Andreas Beeker2019-12-27130-8013/+4419
| | | | | | | | get rid of references to junit.framework don't throw AssertionFailedErrors, but use Assert.fail instead add try-with-resources where it was missing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872041 13f79535-47bb-0310-9956-ffa450edef68
* try to find issue in testPJ Fanning2019-12-261-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872001 13f79535-47bb-0310-9956-ffa450edef68
* Replace internal GUID class with ClassIDAndreas Beeker2019-12-241-34/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871944 13f79535-47bb-0310-9956-ffa450edef68
* #64004 - Replace clone() with copy constructor - mainly HSSF classesAndreas Beeker2019-12-2211-173/+187
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871911 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ simplify some assertionsDominik Stadler2019-12-1546-265/+258
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871591 13f79535-47bb-0310-9956-ffa450edef68
* Replace manual close with try-with-resourcesDominik Stadler2019-12-152-25/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871590 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63749; Make getLastRowNum() and getFirstRow() return -1 instead of 0 on ↵Dominik Stadler2019-12-151-3/+3
| | | | | | empty Sheets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871589 13f79535-47bb-0310-9956-ffa450edef68
* fix typoAndreas Beeker2019-12-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871121 13f79535-47bb-0310-9956-ffa450edef68
* Ignore "IIO Can't create cache file" errorsAndreas Beeker2019-12-091-39/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1871109 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixes - use try-with-resourcesAndreas Beeker2019-11-301-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870653 13f79535-47bb-0310-9956-ffa450edef68
* Replace StringBuffer with StringBuilderAndreas Beeker2019-11-291-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870600 13f79535-47bb-0310-9956-ffa450edef68
* replace more StringBuffersPJ Fanning2019-11-211-10/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870121 13f79535-47bb-0310-9956-ffa450edef68
* replace some uses of StringBuffer with StringBuilderPJ Fanning2019-11-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870046 13f79535-47bb-0310-9956-ffa450edef68
* use zero size arg to toArray(), use Collection.addAll() (#63805, second patch)Axel Howind2019-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869919 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Make GenericRecordJsonWriter Json-conformantAndreas Beeker2019-10-251-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868952 13f79535-47bb-0310-9956-ffa450edef68
* #63745 - Add traversing and debugging interfaceAndreas Beeker2019-10-122-58/+60
| | | | | | Replace EscherProperty.getAttributeMap by GenericRecord interface git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868352 13f79535-47bb-0310-9956-ffa450edef68
* 63779 Add support for the new Java date/time API added in Java 8Dominik Stadler2019-10-094-489/+20
| | | | | | | Deprecate HSSFDateUtil Closes #160 on Github git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868198 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63073: Adjust returned index of merged regions and verify all calls in testsDominik Stadler2019-04-232-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1858021 13f79535-47bb-0310-9956-ffa450edef68
* fix a condition not seen until a recent expansion of the stress test. ↵Greg Woolsey2019-03-311-0/+14
| | | | | | Gracefully ignore missing/invalid external sheet references in one more path (there were several already with comments like "this seems to be what Excel does in this case") git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856655 13f79535-47bb-0310-9956-ffa450edef68
* use xmlbeans-3.0.3 rc versionPJ Fanning2019-03-201-616/+616
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855952 13f79535-47bb-0310-9956-ffa450edef68
* Remove more remnants of NPOIFSFileSystem, mostly in comments and variable namesDominik Stadler2019-03-193-26/+16
| | | | | | | This avoids confusion if people look at this code in the future without knowledge about the historical transition from java.io to java.nio git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855873 13f79535-47bb-0310-9956-ffa450edef68
* Use JPG source, otherwise we have problems with Alpha conversion in OpenJDK.Andreas Beeker2019-03-161-1/+1
| | | | | | https://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855668 13f79535-47bb-0310-9956-ffa450edef68
* Fix URL for testDominik Stadler2019-03-101-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855155 13f79535-47bb-0310-9956-ffa450edef68
* Add some more testing for bug 63151: NullPointerException in ↵Dominik Stadler2019-02-231-13/+14
| | | | | | HSSFOptimiser.optimiseFonts(), also execute it as part of large regression tests in the future git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854190 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60980: Fix parsing formulas with intersections in functions argsYegor Kozlov2019-02-211-1/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854037 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63151] handle NPE in UnicodeStringPJ Fanning2019-02-191-10/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853859 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63187] fix typosPJ Fanning2019-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1853787 13f79535-47bb-0310-9956-ffa450edef68
* Adjust handling of some exceptions in regression testsDominik Stadler2019-01-271-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852278 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60405: Add initial support for cetab functions so some macros can beDominik Stadler2019-01-271-42/+54
| | | | | | | | parsed Add some function-definitions for Excel 4 Macros and missing functions found in regression tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852277 13f79535-47bb-0310-9956-ffa450edef68
* purged usages of Cell.setCellType (left only in tests, where conversions are ↵Vladislav Galas2019-01-262-11/+3
| | | | | | tested) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852247 13f79535-47bb-0310-9956-ffa450edef68
* made call Cell.setCellType(CellType.FORMULA) illegall. Deprecated ↵Vladislav Galas2019-01-261-1/+0
| | | | | | Cell.setCellType(). Purged all redundant calls from project. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852246 13f79535-47bb-0310-9956-ffa450edef68
* purged calls to cell.setCellType(CellType.BLANK) from the project, replaced ↵Vladislav Galas2019-01-262-2/+2
| | | | | | with setBlank() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852245 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62810: AreaReference ctor looses sheet name if rows or columns swappedDominik Stadler2019-01-131-9/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851209 13f79535-47bb-0310-9956-ffa450edef68