summaryrefslogtreecommitdiffstats
path: root/src/testcases
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* fix copy-paste typo in unit test found by Andrzej WiteckiJaven O'Neal2017-01-202-8/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779565 13f79535-47bb-0310-9956-ffa450edef68
* bug 60031: DataFormatter parses months incorrectly when put at the end of ↵Javen O'Neal2017-01-201-0/+12
| | | | | | date segment. Thanks to Andrzej Witecki git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779564 13f79535-47bb-0310-9956-ffa450edef68
* remove unused importsJaven O'Neal2017-01-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779563 13f79535-47bb-0310-9956-ffa450edef68
* bug 60605: replace Workbook.SHEET_STATE_VERY_HIDDEN with ↵Javen O'Neal2017-01-201-2/+3
| | | | | | SheetVisibility.VERY_HIDDEN git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779562 13f79535-47bb-0310-9956-ffa450edef68
* bug 60605: remove code for enforcing rule that active sheet cannot be hiddenJaven O'Neal2017-01-201-26/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779561 13f79535-47bb-0310-9956-ffa450edef68
* bug 60605: convert Workbook.SHEET_STATE_* to SheetVisibility enumJaven O'Neal2017-01-201-1/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779558 13f79535-47bb-0310-9956-ffa450edef68
* bug 60601: unlink hyperlinks from a sheet if all hyperlinks have been ↵Javen O'Neal2017-01-191-0/+23
| | | | | | removed. Patch from Joachim Piketz git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779426 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warnings / close resources in testsAndreas Beeker2017-01-162-86/+104
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1778958 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse warnings - close resources / type genericsAndreas Beeker2017-01-1513-132/+147
| | | | | | cleanup sources - add parenthesis to statements git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1778955 13f79535-47bb-0310-9956-ffa450edef68
* bug 60260: parse unicode sheet namesJaven O'Neal2017-01-121-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1778418 13f79535-47bb-0310-9956-ffa450edef68
* add unit tests for MAPIMessage.get*Body()Javen O'Neal2017-01-052-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1777463 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60219: FormulaParser can't parse external references when sheet name is ↵Dominik Stadler2016-12-313-17/+23
| | | | | | quoted git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776796 13f79535-47bb-0310-9956-ffa450edef68
* Ensure streams are closed always, reformat code somewhatDominik Stadler2016-12-301-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776647 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60369: Adjust pattern to better handle non-ASCII characters in ↵Dominik Stadler2016-12-301-0/+160
| | | | | | Month-names which can appear since Java 8 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776646 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60452: WorkdayCalculator calculateWorkdays does return wrong value for ↵Dominik Stadler2016-12-301-1/+52
| | | | | | | | same day input deprecate unused method isNonWorkday git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776588 13f79535-47bb-0310-9956-ffa450edef68
* eclipse warnings - raw list accessAndreas Beeker2016-12-135-292/+280
| | | | | | close resources git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773906 13f79535-47bb-0310-9956-ffa450edef68
* eclipse warnings - raw list accessAndreas Beeker2016-12-132-25/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773905 13f79535-47bb-0310-9956-ffa450edef68
* remove unused classAndreas Beeker2016-12-131-127/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773904 13f79535-47bb-0310-9956-ffa450edef68
* Adjust toString() of ExternalNameRecordDominik Stadler2016-12-121-1/+0
| | | | | | | Fix some IntelliJ warnings Reformat TextPieceTable git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773776 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Local test to run one of the multi-file tests on only one file"Dominik Stadler2016-12-111-31/+0
| | | | | | This reverts commit 6582ca62b000143b96823509ad7bb8d444cabee3. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773689 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Adjust local test class run with Gradle-Build as well"Dominik Stadler2016-12-111-2/+3
| | | | | | This reverts commit 76be95541fa6ac22bf0746d864404a84868ab1c6. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773663 13f79535-47bb-0310-9956-ffa450edef68
* Adjust local test class run with Gradle-Build as wellDominik Stadler2016-12-111-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773661 13f79535-47bb-0310-9956-ffa450edef68
* Local test to run one of the multi-file tests on only one fileDominik Stadler2016-12-111-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773635 13f79535-47bb-0310-9956-ffa450edef68
* Exclude new BIFF5 file in some unit testsDominik Stadler2016-12-116-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773605 13f79535-47bb-0310-9956-ffa450edef68
* Recursive delete unit test based on users@ query - working fine alreadyNick Burch2016-12-061-0/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772894 13f79535-47bb-0310-9956-ffa450edef68
* SonarCube fix - make members privateAndreas Beeker2016-12-042-32/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772585 13f79535-47bb-0310-9956-ffa450edef68