aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/ss/format
Commit message (Collapse)AuthorAgeFilesLines
* 65206 - Migrate ant / maven to gradle buildAndreas Beeker2021-03-273-1131/+0
| | | | | | | | update gradle files and project structure along https://github.com/centic9/poi/tree/gradle_build remove eclipse IDE project files remove obsolete record generator files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888111 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-301-2/+2
| | | | | | add asserts to tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886070 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-103-3/+3
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885325 13f79535-47bb-0310-9956-ffa450edef68
* Sonar fixesAndreas Beeker2021-01-083-44/+44
| | | | | | JUnit5 test classes and methods should have default package visibility git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885281 13f79535-47bb-0310-9956-ffa450edef68
* #65026 - Migrate tests to Junit 5Andreas Beeker2020-12-243-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884783 13f79535-47bb-0310-9956-ffa450edef68
* #64411 - Provide JigSaw modulesAndreas Beeker2020-07-221-1/+14
| | | | | | | | | | | | | | | - use classpath-build for Java 8, otherwise use modulepath - save module-info classes to source, when using Java 9+ environment - rename example packages - otherwise package clashes occured in the tests - move agile encryption from ooxml to main. remove EncryptionInfo XmlBeans and schema and use custom xml marshalling - move ooxml test classes which reside in the same package as their tested main class - rename base test classes to "BaseTest..." - temporarily I've used a light version of the main test classes to test scratchpad / ooxml - build.xml - fixed the Rhino javascript errors of the dependency-macros - DrawTextParagraph - fixed StringIndexOutOfBounds when logging set to debug level - use JigSaw provider interface (= Java ServiceLoader), i.e. it wasn't possible (without openening everything), to access ooxml factory classes from main factory stub git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880164 13f79535-47bb-0310-9956-ffa450edef68
* Sonar Fixes and remove obsolete classesAndreas Beeker2020-04-011-309/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1876019 13f79535-47bb-0310-9956-ffa450edef68
* Work on bug 64038 and other bugs and add test for 62865Dominik Stadler2020-03-081-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874983 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect handling of format which should not produce any digit for zeroDominik Stadler2020-03-071-21/+20
| | | | | | | | Also include the internally computed format-string when the resulting format causes an exception One other case with question marks is still not handled correctly, though git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874950 13f79535-47bb-0310-9956-ffa450edef68
* Bug 64179: Adjust to ensure a fixed timezone for date parsing in testDominik Stadler2020-03-071-230/+232
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874949 13f79535-47bb-0310-9956-ffa450edef68
* Migrate all junit tests to Junit 4Andreas Beeker2019-12-272-15/+17
| | | | | | | | get rid of references to junit.framework don't throw AssertionFailedErrors, but use Assert.fail instead add try-with-resources where it was missing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872041 13f79535-47bb-0310-9956-ffa450edef68
* Fix some IDE warnings and enable commented testDominik Stadler2019-03-311-9/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1856691 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
* Adjust test for JDK 9, 10 and 11Dominik Stadler2018-08-261-6/+2
| | | | | | fix some IDE/Javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1839195 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 61116: Formula evaluation fails when using matrix addition within ↵Yegor Kozlov2017-12-301-1/+1
| | | | | | index function call git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819596 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary type arguments (Java 8)Dominik Stadler2017-09-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
* javadoc: replace invalid self enclosing elementsPJ Fanning2017-07-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68
* Some warnings/improvements suggested by IntelliJDominik Stadler2016-07-181-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753188 13f79535-47bb-0310-9956-ffa450edef68
* bug 59791: replace deprecated Cell.CELL_TYPE_* usage with CellType.*Javen O'Neal2016-07-041-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751240 13f79535-47bb-0310-9956-ffa450edef68
* deprecated constants pointing to MissingCellPolicy - use enum insteadAndreas Beeker2016-06-241-1/+2
| | | | | | javadocs fixes (jdk8) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750172 13f79535-47bb-0310-9956-ffa450edef68
* Regression in version 3.14-beta1: three or four-part formats with locale id ↵Dominik Stadler2016-01-131-1/+37
| | | | | | cause exceptions when formatting instead of falling back to other formatting git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1724488 13f79535-47bb-0310-9956-ffa450edef68
* 58536 DataFormatter and CellFormat non-localised support for localised ↵Nick Burch2015-10-251-13/+28
| | | | | | 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
* Bug 58326 - Forbidden APIs patches - first set of changes for locale and ↵Andreas Beeker2015-09-072-49/+129
| | | | | | | | | | | | | | | | | | | | | | | | | timezone settings also includes fixes for - name shadowing - unused deprecated method "getClipRect" in classes extending Graphics2d - HexDump - replaced intermediate String.format calls with custom padding - convert testcases to junit4 - closing resources also tested with an arbitary timezone (PST) and locale (ru) supresses forbidden apis check for - LocaleUtil (the only place where Locale.getDefault() and TimeZone.getDefault() should be called) - Classes using FontMetrics - without the actual text it's difficult to return something sane Some usage of UTC and Locale.ROOT might be still wrong, e.g. in MapiMessage we don't access the extended mapi properties, which might contain the timezone DataFormatter has now a Observable property which need to be observed when custom formats are used and the Locale changes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1701688 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Javen ONeal from bug #58254 - CellFormatResult.text should check ↵Nick Burch2015-08-191-0/+37
| | | | | | for nulls as per the javadoc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696638 13f79535-47bb-0310-9956-ffa450edef68
* Some Eclipse warningsDominik Stadler2014-12-221-10/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647269 13f79535-47bb-0310-9956-ffa450edef68
* 55419 and refactor SimpleFractionTim Allison2013-08-151-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1514123 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 52708 - misc improvements in CellFormatYegor Kozlov2012-02-271-1/+797
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1294072 13f79535-47bb-0310-9956-ffa450edef68
* ensure english locale for POI buildYegor Kozlov2010-05-301-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@949511 13f79535-47bb-0310-9956-ffa450edef68
* Solution for bug #48779 - Allow you to get straight from a CellStyle to a ↵Nick Burch2010-05-261-8/+25
| | | | | | Color, irrespective of if the Color is indexed or inline-defined git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948511 13f79535-47bb-0310-9956-ffa450edef68
* Changed JRE 6 dependent code to its JRE 5 equivalentJosh Micich2010-05-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@947842 13f79535-47bb-0310-9956-ffa450edef68
* Enhanced SViewer to support most border types, cell formats, and conditional ↵Yegor Kozlov2010-05-103-0/+389
formatting. Added ToHtml example that converts a spreadsheet into HTML, See Bugzilla #49066 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@942809 13f79535-47bb-0310-9956-ffa450edef68