aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi
Commit message (Collapse)AuthorAgeFilesLines
* whitespaceJaven O'Neal2015-11-241-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716051 13f79535-47bb-0310-9956-ffa450edef68
* bug 58642: deprecate Sheet.setZoom(numerator, denominator) and replace with ↵Javen O'Neal2015-11-241-0/+1
| | | | | | Sheet.setZoom(scale) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716048 13f79535-47bb-0310-9956-ffa450edef68
* bug 58642: remove deprecated functions in Spreadsheet Sheet interface and ↵Javen O'Neal2015-11-241-7/+6
| | | | | | implementing classes; add @Override annotations git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716046 13f79535-47bb-0310-9956-ffa450edef68
* fixed bad test case in BaseTestSheet.getCellCommentsJaven O'Neal2015-11-231-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715854 13f79535-47bb-0310-9956-ffa450edef68
* bug 58365: patch from Hannes Erven: add method to efficiently get all cell ↵Javen O'Neal2015-11-231-2/+46
| | | | | | comments on a Sheet and return a dictionary with the location of each comment as the key and the comment itself as the value. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715839 13f79535-47bb-0310-9956-ffa450edef68
* convert junit3 to junit4Javen O'Neal2015-11-234-16/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715752 13f79535-47bb-0310-9956-ffa450edef68
* bug 58637: contribution from Hannes Erven: add CellAddress class, distinct ↵Javen O'Neal2015-11-231-0/+110
| | | | | | from CellReference git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715743 13f79535-47bb-0310-9956-ffa450edef68
* fix unnecessary cast warningsAndreas Beeker2015-11-2210-18/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715626 13f79535-47bb-0310-9956-ffa450edef68
* In preparation for table rendering, added table row heights and column ↵Andreas Beeker2015-11-211-2/+2
| | | | | | | | widths to common sl. To have better results in rendering switch anchor from java.awt.Rectangle to Rectangle2D. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715540 13f79535-47bb-0310-9956-ffa450edef68
* Add security checkUwe Schindler2015-11-111-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713917 13f79535-47bb-0310-9956-ffa450edef68
* Fix remaining security manager problems. Forbiddenapis now passes.Uwe Schindler2015-11-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713915 13f79535-47bb-0310-9956-ffa450edef68
* #58597: Fix tests to not do setAccessible(), add some doPrivileged, too.Uwe Schindler2015-11-119-176/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713891 13f79535-47bb-0310-9956-ffa450edef68
* #58597: Remove setAccessible (more coming soon)Uwe Schindler2015-11-114-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713770 13f79535-47bb-0310-9956-ffa450edef68
* 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