aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Eclipse warnings, typos, ...Dominik Stadler2015-11-081-13/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713216 13f79535-47bb-0310-9956-ffa450edef68
* bug 58591: add formula evaluation unit tests inspired by Jason Tomforde's ↵Javen O'Neal2015-11-071-0/+276
| | | | | | question on user@ git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713080 13f79535-47bb-0310-9956-ffa450edef68
* WhitespaceNick Burch2015-11-061-131/+131
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712985 13f79535-47bb-0310-9956-ffa450edef68
* Convert to JUnit4Nick Burch2015-11-061-12/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712984 13f79535-47bb-0310-9956-ffa450edef68
* remove TestWorkbookEvaluator from junit3 test suite since it was upgraded to ↵Javen O'Neal2015-11-061-1/+1
| | | | | | junit4 in r1712908 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712921 13f79535-47bb-0310-9956-ffa450edef68
* remove deprecated ErrorConstants usage in TestWorkbookEvaluatorJaven O'Neal2015-11-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712910 13f79535-47bb-0310-9956-ffa450edef68
* whitespaceJaven O'Neal2015-11-061-242/+241
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712909 13f79535-47bb-0310-9956-ffa450edef68
* convert TestWorkbookEvaluator from junit3 to junit4Javen O'Neal2015-11-061-10/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712908 13f79535-47bb-0310-9956-ffa450edef68
* extended forbidden-apis-check to ooxml-testsAndreas Beeker2015-11-053-60/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712693 13f79535-47bb-0310-9956-ffa450edef68
* Bug #55265 - DataFormatter correct support for alternate number grouping ↵Nick Burch2015-11-041-0/+36
| | | | | | characters, eg 1234 + #'##0 = 1'234 not 1,234 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712605 13f79535-47bb-0310-9956-ffa450edef68
* fix for bug 51622: autosize columns with leading whitespaceJaven O'Neal2015-11-041-2/+69
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712477 13f79535-47bb-0310-9956-ffa450edef68
* bug 58576: rename canComputeColumnWidht to canComputeColumnWidthJaven O'Neal2015-11-032-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712219 13f79535-47bb-0310-9956-ffa450edef68
* fix typosJaven O'Neal2015-11-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712213 13f79535-47bb-0310-9956-ffa450edef68
* fixes sonar/findbugs issuesAndreas Beeker2015-11-021-0/+2
| | | | | | add Date.toString() to forbidden-apis and fix occurrences git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1712181 13f79535-47bb-0310-9956-ffa450edef68
* bug 58572: change hyperlink reference to be consistent with ↵Javen O'Neal2015-11-021-2/+2
| | | | | | TestXSSFHyperlink#testCopyXSSFHyperlink git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711952 13f79535-47bb-0310-9956-ffa450edef68
* bug 58572: replace Cloneable with copy constructors for spreadsheet ↵Javen O'Neal2015-11-022-4/+36
| | | | | | Hyperlink class git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711951 13f79535-47bb-0310-9956-ffa450edef68
* bug 58572: move getHyperlinkList() and getHyperlink(row, col) from XSSFSheet ↵Javen O'Neal2015-11-021-0/+46
| | | | | | to Sheet git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711923 13f79535-47bb-0310-9956-ffa450edef68
* don't leave behind files when running unit tests. In the future this should ↵Javen O'Neal2015-11-021-0/+4
| | | | | | be revisited to verify POI isn't writing workbooks that are unopenable/corrupt by applications that read POI's formats (MS Office, OpenOffice, LibreOffice, etc) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711920 13f79535-47bb-0310-9956-ffa450edef68
* upgrade spreadsheet Hyperlink unit tests from junit3 to junit4Javen O'Neal2015-11-021-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711910 13f79535-47bb-0310-9956-ffa450edef68
* upgrade spreadsheet Hyperlink unit tests from junit3 to junit4Javen O'Neal2015-11-022-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711909 13f79535-47bb-0310-9956-ffa450edef68
* replace deprecated usage of FormulaShifter.createForRowShiftJaven O'Neal2015-11-021-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711879 13f79535-47bb-0310-9956-ffa450edef68
* bug 58384: add FormulaShifter.createForRowCopyJaven O'Neal2015-11-021-2/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711866 13f79535-47bb-0310-9956-ffa450edef68
* findbugs fixesAndreas Beeker2015-11-015-218/+326
| | | | | | close resources in tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711712 13f79535-47bb-0310-9956-ffa450edef68
* bug58452: set cell formulas containing unregistered function namesJaven O'Neal2015-10-313-19/+123
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711605 13f79535-47bb-0310-9956-ffa450edef68
* improve error message if CellRangeAddress intersection assertion failsJaven O'Neal2015-10-311-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711597 13f79535-47bb-0310-9956-ffa450edef68
* bug 58442: in-place reorganize an AreaPtg as upper-left and lower-rightJaven O'Neal2015-10-311-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711592 13f79535-47bb-0310-9956-ffa450edef68
* bug 58443: prevent corrupted workbooks by checking for overlapping merged ↵Javen O'Neal2015-10-314-9/+79
| | | | | | regions before adding a merged region to a sheet; fix unit tests that produced corrupt workbooks; remove deprecated HSSFSheet#addMergedRegion(Region) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711586 13f79535-47bb-0310-9956-ffa450edef68
* replace deprecated usage of o.a.p.ss.util.Region with ↵Javen O'Neal2015-10-311-4/+15
| | | | | | o.a.p.ss.util.CellRangeAddress; add documentation to tests that exist strictly to test deprecated methods, and move SuppressWarnings-deprecation down to just those functions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711581 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that no password was set by other tests, this breaks sometimes when ↵Dominik Stadler2015-10-291-0/+4
| | | | | | the Sonar/Maven build runs all tests in one VM git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711199 13f79535-47bb-0310-9956-ffa450edef68
* #58558 SXSSFCell.setCellValue((RichTextString)null) fixed to work like XSSF ↵Nick Burch2015-10-281-1/+33
| | | | | | and HSSF, with common unit tests to verify this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711082 13f79535-47bb-0310-9956-ffa450edef68
* Fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58549David North2015-10-261-0/+59
| | | | | | Thanks to Damian Cugley for the patch. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710552 13f79535-47bb-0310-9956-ffa450edef68
* 58536 DataFormatter and CellFormat non-localised support for localised ↵Nick Burch2015-10-252-13/+62
| | | | | | currency formats like [$£-809] git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710484 13f79535-47bb-0310-9956-ffa450edef68
* Mention about Locale definitions in Excel cell data format stringsNick Burch2015-10-251-0/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710459 13f79535-47bb-0310-9956-ffa450edef68
* #58532 Enable more of the padding cell format tests, but a few remain to be ↵Nick Burch2015-10-241-7/+20
| | | | | | fixed git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710407 13f79535-47bb-0310-9956-ffa450edef68
* #58532 For Excel cell formats with 3+ parts to them (eg +ve,-ve,0), whichNick Burch2015-10-244-16/+73
| | | | | | | | | | | DataFormatter didn't properly support, call out to the alternate CellFormat instead for the formatting. This also allows us to enable some disabled parts of DataFormatter unit tests We still need to rationalise DataFormatter and CellFormatter though, so we only have one set of cell formatting logic... git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710399 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent whitespaceNick Burch2015-10-241-391/+390
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710395 13f79535-47bb-0310-9956-ffa450edef68
* Test to check that #58532 formats are seen as validNick Burch2015-10-241-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710394 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58085: removing sheet breaks other existing sheet referencesDominik Stadler2015-10-231-35/+118
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710193 13f79535-47bb-0310-9956-ffa450edef68
* bug 58441: define equals method for CellRangeAddressBaseJaven O'Neal2015-10-231-1/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710172 13f79535-47bb-0310-9956-ffa450edef68
* bug 33174: Use common unit test for testNoMergedRegionsIsEmptyListJaven O'Neal2015-10-232-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710140 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58499: Don't report Zip-Bomb for small files which should not cause ↵Dominik Stadler2015-10-172-15/+47
| | | | | | | | | memory issues anyway Also make error message a bit more specific and list classname in Zip-Bomb-Error to make it easier for users what the problem is and how to find out where the static methods are git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709180 13f79535-47bb-0310-9956-ffa450edef68
* Update test to not depend on an existing build-directoryDominik Stadler2015-10-141-22/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708682 13f79535-47bb-0310-9956-ffa450edef68
* Reenable test on Windows which was disabled previously but should now work ↵Dominik Stadler2015-10-141-186/+173
| | | | | | after a workaround was put in place via bug 58480. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708613 13f79535-47bb-0310-9956-ffa450edef68
* Bug 58480: Work around problem where on Windows systems a Mapped Buffer can ↵Dominik Stadler2015-10-142-39/+193
| | | | | | still lock a file even if the Channel was closed properly. Use reflection as DirectBuffer is in package sun.com and thus likely to go away with Java 9. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708609 13f79535-47bb-0310-9956-ffa450edef68
* - removed deprecated and confusing methods in XSSFColorAndreas Beeker2015-10-123-54/+96
| | | | | | - sonar fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1708236 13f79535-47bb-0310-9956-ffa450edef68
* Format numbers more like Excel doesDavid North2015-10-062-6/+62
| | | | | | | | Thanks to Chris Boyle for the patch https://bz.apache.org/bugzilla/show_bug.cgi?id=58471 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706971 13f79535-47bb-0310-9956-ffa450edef68
* sonar fixes and closing resources after useAndreas Beeker2015-10-062-43/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706937 13f79535-47bb-0310-9956-ffa450edef68
* As discussed at ApacheCon: Try to automatically find test-data in unit ↵Dominik Stadler2015-10-051-2/+6
| | | | | | tests, this makes it easier to get going in Eclipse or other IDEs. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706752 13f79535-47bb-0310-9956-ffa450edef68
* Eclipse warningsDominik Stadler2015-10-051-7/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706750 13f79535-47bb-0310-9956-ffa450edef68
* fixed sonar issues and eclipse warningsAndreas Beeker2015-10-057-332/+564
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706742 13f79535-47bb-0310-9956-ffa450edef68