summaryrefslogtreecommitdiffstats
path: root/src/testcases
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 60422] Fix forbidden-api build issuePJ Fanning2017-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799723 13f79535-47bb-0310-9956-ffa450edef68
* [Bug 60422] Tidy up test casePJ Fanning2017-06-241-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799722 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60422 add testtestcase with current LocaleUtil workaroundPJ Fanning2017-06-231-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799721 13f79535-47bb-0310-9956-ffa450edef68
* bug 61045 -- allow for (and log!) extra bytes in FormatRecord.Tim Allison2017-06-201-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799360 13f79535-47bb-0310-9956-ffa450edef68
* whitespaceJaven O'Neal2017-06-201-71/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799303 13f79535-47bb-0310-9956-ffa450edef68
* bug 52063: support 2-argument LOOKUP(lookup_value, array) function in ExcelJaven O'Neal2017-06-201-3/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799302 13f79535-47bb-0310-9956-ffa450edef68
* Improve error message if we encounter invalid/unexpected files in ↵Dominik Stadler2017-06-191-13/+15
| | | | | | | | integration tests Adjust some tests slightly git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799178 13f79535-47bb-0310-9956-ffa450edef68
* Move one testcase with incorrect source locationDominik Stadler2017-06-091-3/+3
| | | | | | | | remove some junit dependencies in example-code build: do not pass junit-jar to normal compile targets to avoid introducing it as dependency again Reformat code, fix warnings, ... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798202 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse resource leak warningsAndreas Beeker2017-05-313-234/+243
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797043 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a ↵Greg Woolsey2017-05-261-1/+1
| | | | | | | | | | workbook has a custom indexed color Missed this test. As part of the work I noticed the Enum was missing some values defined in the OOXML spec, so I added them. I've updated the test to reflect that those values are no longer invalid. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796360 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61063: Add a RefListEval to handle UnionPtg and implement it for Rank(), ↵Dominik Stadler2017-05-232-24/+9
| | | | | | may be missing for other functions where ArrayEval is currently handled git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795963 13f79535-47bb-0310-9956-ffa450edef68
* github-55: document that CellReference#isRowWithinRange(String rowNum, ↵Javen O'Neal2017-05-201-0/+18
| | | | | | SpreadsheetVersion ss) expects rowNum to be parseable as an integer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795681 13f79535-47bb-0310-9956-ffa450edef68
* replace "String.indexOf(String) >= 1" with "String.contains(String)"Javen O'Neal2017-05-163-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795296 13f79535-47bb-0310-9956-ffa450edef68
* github-43: add disabled unit test showing a problem with ROUNDUP(3987*0.2, ↵Javen O'Neal2017-05-162-20/+67
| | | | | | | | 2). Thanks to @FishMeat. https://github.com/apache/poi/pull/43 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795265 13f79535-47bb-0310-9956-ffa450edef68
* #52117 - Invalid "last printed" summary field value - added helper method to ↵Andreas Beeker2017-05-145-233/+147
| | | | | | | | | | identify undefined dates HPSF: fixed uid listing in Section.toString() HPSF: moved timestamp based "utility" methods to Filetime class HPSF: preserve original datastream for unchanged property sets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795123 13f79535-47bb-0310-9956-ffa450edef68
* HPSF: Change CustomProperties to delegateAndreas Beeker2017-05-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793699 13f79535-47bb-0310-9956-ffa450edef68
* HPSF: Enable new number types in VariantSupportAndreas Beeker2017-05-021-46/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793598 13f79535-47bb-0310-9956-ffa450edef68
* Fix hpsf javadocs and code issuesAndreas Beeker2017-05-026-854/+458
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793596 13f79535-47bb-0310-9956-ffa450edef68
* 60325: Add commented out test that reproduces the performance issueDominik Stadler2017-04-301-37/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793251 13f79535-47bb-0310-9956-ffa450edef68
* bug 61034: Call to XSSFReader.getSheetsData() returns duplicate sheets.Javen O'Neal2017-04-291-0/+9
| | | | | | | Thanks to Mauricio Eastmond for the Excel test file and unit test. Thanks to Sebastian Wikalinski for isolating the problem and providing a patch. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793223 13f79535-47bb-0310-9956-ffa450edef68
* bug 61049 fix ordering of builtin formulasTim Allison2017-04-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792918 13f79535-47bb-0310-9956-ffa450edef68
* Use assertContains instead of assertTrue(text.contains) for better error ↵Javen O'Neal2017-04-201-38/+34
| | | | | | messages on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792009 13f79535-47bb-0310-9956-ffa450edef68
* Use assertContains instead of assertTrue(text.contains) for better error ↵Javen O'Neal2017-04-192-25/+25
| | | | | | messages on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792007 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #61007Greg Woolsey2017-04-191-1/+1
| | | | | | | | Revert to previous "expected" test results even though they don't match excel for a specific case, to accommodate tighter logic about which format patterns to send to CellFormat vs. handle directly in DataFormatter. Send what was checked previously plus only multi-segment conditional range formats. Allows existing tests to pass plus the new test with the case for these conditional formats. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791964 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #61007Greg Woolsey2017-04-191-1/+11
| | | | | | use CellFormat for all format strings containing multiple parts (";" delimited) and update unit test to expect the same values as Excel. Also added tests for the failing formats. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791949 13f79535-47bb-0310-9956-ffa450edef68
* Let IntelliJ cleanup some code-warnings across the whole code-base: ↵Dominik Stadler2017-04-1717-31/+31
| | | | | | unnecessary toString or semicolon git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791720 13f79535-47bb-0310-9956-ffa450edef68
* roll back to hamcrest-coreJaven O'Neal2017-04-161-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791570 13f79535-47bb-0310-9956-ffa450edef68
* change from hamcrest-core-1.3 to hamcrest-all-1.3Javen O'Neal2017-04-151-8/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791444 13f79535-47bb-0310-9956-ffa450edef68
* use hamcrest matchers to reduce custom codeJaven O'Neal2017-04-151-40/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791443 13f79535-47bb-0310-9956-ffa450edef68
* use assertStartsWith and assertEndsWith for better unit test error messagesJaven O'Neal2017-04-152-3/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791440 13f79535-47bb-0310-9956-ffa450edef68
* bug 50955 and bug 60953 improve Big5 reader; ensure one characterTim Allison2017-04-051-0/+77
| | | | | | per byte pair git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790172 13f79535-47bb-0310-9956-ffa450edef68
* Add tests from bug 45353 to show that this now works fineDominik Stadler2017-03-101-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786432 13f79535-47bb-0310-9956-ffa450edef68
* add helper functions to make it easier to see which scenarios are being testedJaven O'Neal2017-02-241-33/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1784231 13f79535-47bb-0310-9956-ffa450edef68
* bug 59893: close open resources to prevent leaksJaven O'Neal2017-02-171-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783362 13f79535-47bb-0310-9956-ffa450edef68
* convert from junit3 to junit4Javen O'Neal2017-02-171-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783360 13f79535-47bb-0310-9956-ffa450edef68
* bug 59893: more unrelated changes from AndiJaven O'Neal2017-02-172-26/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783353 13f79535-47bb-0310-9956-ffa450edef68
* Bug #56822 fix COUNTIFS()Greg Woolsey2017-02-141-71/+0
| | | | | | includes unit test from the issue. Verified unit test results in Excel vs. incorrect previous POI results. Test passes new code, as do existing tests. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783037 13f79535-47bb-0310-9956-ffa450edef68
* escape unicode charsAndreas Beeker2017-02-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782568 13f79535-47bb-0310-9956-ffa450edef68
* Use long for the dummy stream, to permit >2gb streamsNick Burch2017-02-101-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782470 13f79535-47bb-0310-9956-ffa450edef68
* Update the big file test to use POIFSFileSystem.create(File), and tweak javadocsNick Burch2017-02-101-14/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782454 13f79535-47bb-0310-9956-ffa450edef68
* Start on a unit test for #60670, work required to get it passingNick Burch2017-02-091-0/+137
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782380 13f79535-47bb-0310-9956-ffa450edef68
* bug 59227: parse dates formatted in Japanese or Chinese. Change javac source ↵Javen O'Neal2017-02-081-0/+31
| | | | | | encoding from ASCII to UTF-8 (same as build.gradle). Patch from jzhao. This closes #48 on Github. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782119 13f79535-47bb-0310-9956-ffa450edef68
* Convert all *.java files to use native end of line character(s)Javen O'Neal2017-02-0839-6276/+6276
| | | | | | | | $ dos2unix `find -name *.java` $ svn propset svn:eol-style native `find -name *.java` git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1782114 13f79535-47bb-0310-9956-ffa450edef68
* Adjust expected font-size in tests, XSSF seems to use slightly larger fonts ↵Dominik Stadler2017-01-261-2/+2
| | | | | | on some machines git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780479 13f79535-47bb-0310-9956-ffa450edef68
* Move test to base-test-class to run it for (S)XSSF as wellDominik Stadler2017-01-262-73/+66
| | | | | | Also had to increase the numbers a bit as it fails locally for me otherwise git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780454 13f79535-47bb-0310-9956-ffa450edef68
* IntelliJ warnings, Javadoc, FormattingDominik Stadler2017-01-261-6/+3
| | | | | | Changes for the RecordFormatException deprecation git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780453 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60031: Enhance test some moreDominik Stadler2017-01-261-8/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780450 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warnings - close resourcesAndreas Beeker2017-01-235-427/+534
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779869 13f79535-47bb-0310-9956-ffa450edef68
* #59836 - Tracker: Replace primitives with enumsAndreas Beeker2017-01-225-88/+117
| | | | | | preparation for removing those many HSSFColor subclasses with an enum git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779866 13f79535-47bb-0310-9956-ffa450edef68
* fix assert message typoJaven O'Neal2017-01-201-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779567 13f79535-47bb-0310-9956-ffa450edef68