summaryrefslogtreecommitdiffstats
path: root/src/testcases
Commit message (Collapse)AuthorAgeFilesLines
* Fix some IDE warnings and enable commented testDominik Stadler2019-03-312-25/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856691 13f79535-47bb-0310-9956-ffa450edef68
* Add some more variants of HTML with preceding newline which we see frequentlyDominik Stadler2019-03-311-0/+4
| | | | | | in the large regression test corpus git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856689 13f79535-47bb-0310-9956-ffa450edef68
* Close more file-handles in tests, convert junit3 testsDominik Stadler2019-03-311-152/+163
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856688 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
* #63292 1904 date windowing flag not used for some format casesGreg Woolsey2019-03-301-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856648 13f79535-47bb-0310-9956-ffa450edef68
* #63291 CellFormat global cache isn't thread-safeGreg Woolsey2019-03-301-6/+14
| | | | | | move date format synchronization down to where the problem instance is held. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856647 13f79535-47bb-0310-9956-ffa450edef68
* #63302 Formula evaluation of names with offset or row function is incorrectGreg Woolsey2019-03-301-2/+16
| | | | | | thanks to John Lincoln White for the patch, including new unit tests. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856644 13f79535-47bb-0310-9956-ffa450edef68
* [bug-63291] support concurrent date formatting with same DataFormatterPJ Fanning2019-03-271-16/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856449 13f79535-47bb-0310-9956-ffa450edef68
* add test for concurrent use of DataFormatterPJ Fanning2019-03-271-5/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856439 13f79535-47bb-0310-9956-ffa450edef68
* possible npe in testPJ Fanning2019-03-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855969 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-1912-65/+55
| | | | | | | 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
* [bug-63268] fix issue where CellUtil.setFont is adding unnecessary stylesPJ Fanning2019-03-191-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855806 13f79535-47bb-0310-9956-ffa450edef68
* pre-release maintenance:Greg Woolsey2019-03-191-0/+0
| | | | | | | | * add my key to the KEYS file * update year in NOTICE (first release of 2019) * remove svn:executable flag from random test data files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855799 13f79535-47bb-0310-9956-ffa450edef68
* #60724 - Partial implementation for SUBTOTAL() 'ignore hidden rows' variationsGreg Woolsey2019-03-181-2/+10
| | | | | | | | | | The function still doesn't deal with auto-filtering, but it now handles variations that should skip hidden rows. Taught the evaluation framework to know about hidden rows similar to what was already there for skipping subtotals within subtotal ranges. Added unit test cases. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855789 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
* Bug 61472: Convert date/time strings to numbers when evaluating formulasYegor Kozlov2019-03-163-4/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855662 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
* Close more file-handles in testsDominik Stadler2019-03-031-31/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854718 13f79535-47bb-0310-9956-ffa450edef68
* Close file-handles for slideshows also when construction fails or when ↵Dominik Stadler2019-02-231-1/+3
| | | | | | | | dual-storage is used Also avoid file-leak reports in some tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854192 13f79535-47bb-0310-9956-ffa450edef68
* Remove some remnants of NFileSystemDominik Stadler2019-02-232-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1854191 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-212-1/+74
| | | | 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
* Fix some IDE warnings and better output in unit testDominik Stadler2019-01-272-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852280 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-272-42/+432
| | | | | | | | 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
* pulled *Cell.setCellValue(String), setCellValue(RichTextString) to the ↵Vladislav Galas2019-01-261-1/+1
| | | | | | common base git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852255 13f79535-47bb-0310-9956-ffa450edef68
* purged usages of Cell.setCellType (left only in tests, where conversions are ↵Vladislav Galas2019-01-265-25/+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-267-9/+33
| | | | | | 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-265-13/+13
| | | | | | with setBlank() git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852245 13f79535-47bb-0310-9956-ffa450edef68
* added Cell.setBlank() - as an alias, for nowVladislav Galas2019-01-261-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852244 13f79535-47bb-0310-9956-ffa450edef68
* setCellFormula: blank cell gets value 0, non-blank value is preservedVladislav Galas2019-01-261-0/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852212 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings and JVM deprecationsDominik Stadler2019-01-221-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851795 13f79535-47bb-0310-9956-ffa450edef68
* follow-up to Bug 62904. More tests and improved evaluation of IF in array modeYegor Kozlov2019-01-141-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851263 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail on row-nums larger than Integer.MAX_VALUE, we had one sampleDominik Stadler2019-01-131-2/+2
| | | | | | file which triggered this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851211 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Findbugs and IDE issues, refactor some duplicated code,Dominik Stadler2019-01-135-46/+53
| | | | | | improve some exception texts, add comment for missing Ptg for SxName git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851210 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62810: AreaReference ctor looses sheet name if rows or columns swappedDominik Stadler2019-01-132-13/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851209 13f79535-47bb-0310-9956-ffa450edef68
* IDE and JavaDoc fixes, move/remove some unfixed testsDominik Stadler2019-01-114-76/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851089 13f79535-47bb-0310-9956-ffa450edef68
* Add one more test for bug 62828 and fix some IDE warningsDominik Stadler2019-01-112-13/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851088 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63054: improved evaluation of array formulas with error in argumentsYegor Kozlov2019-01-081-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850742 13f79535-47bb-0310-9956-ffa450edef68
* unified setCellType(null/_NONE) logic, setCellFormula(null) logic. updated ↵Vladislav Galas2019-01-071-0/+106
| | | | | | javadoc and tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850676 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62904: Support array arguments in IF and logical IS*** functionsYegor Kozlov2019-01-072-0/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850646 13f79535-47bb-0310-9956-ffa450edef68
* throw IllegalArgumnetException if null directory specifiedPJ Fanning2019-01-041-141/+158
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850394 13f79535-47bb-0310-9956-ffa450edef68
* Fixed build (explicitly specified charset for new String(byte[]))Vladislav Galas2019-01-041-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850366 13f79535-47bb-0310-9956-ffa450edef68
* Bug 63057: made SXSSFCell.setCellValue(String|RichTextString) exception-safe.Vladislav Galas2019-01-041-0/+43
| | | | | | Also removed unused code. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850342 13f79535-47bb-0310-9956-ffa450edef68
* Improved test coverage for *Cell classesVladislav Galas2019-01-042-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850338 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62993: XSSFEvaluationSheet now retrieves valid last row index from ↵Vladislav Galas2019-01-032-0/+82
| | | | | | underlying XSSFSheet. Thanks to Axel Howind. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850212 13f79535-47bb-0310-9956-ffa450edef68
* Bug 62828: CellReference(Cell) now initializes sheet name.Vladislav Galas2019-01-022-4/+29
| | | | | | | Changed CellReference to CellAddress in XSSFHyperlink because it is what it should return. Updated all relevant tests, added a test for CellReference(Cell). git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850210 13f79535-47bb-0310-9956-ffa450edef68