aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org
Commit message (Collapse)AuthorAgeFilesLines
* Start to support formula parsing of sheet-specified named ranges, required ↵Nick Burch2014-07-183-6/+51
| | | | | | for a full fix to bug #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611753 13f79535-47bb-0310-9956-ffa450edef68
* Update bug reference numbers, and bring over part of a test from unfixed ↵Nick Burch2014-07-184-16/+36
| | | | | | that is now working (rest remains broken) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611728 13f79535-47bb-0310-9956-ffa450edef68
* Have WorkbookEvaluator process NameXPtgs, rather than returning a NameXEval ↵Nick Burch2014-07-182-6/+11
| | | | | | which later places didn't handle. Largely allows us to process the .xls version of the test file for #56737 (but filenames aren't quite the same as in Excel) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611711 13f79535-47bb-0310-9956-ffa450edef68
* #56737 Sometimes Excel writes an internal reference to a local name in an ↵Nick Burch2014-07-182-4/+12
| | | | | | odd way, without an ExternalNameRecord, try to detect and work around those git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611681 13f79535-47bb-0310-9956-ffa450edef68
* Add disabled unit tests for bug #56737, which currently fails (differently) ↵Nick Burch2014-07-171-0/+39
| | | | | | for HSSF and XSSF git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611400 13f79535-47bb-0310-9956-ffa450edef68
* Add missing @Overrides, reformat some files, increase coverage slightly,Dominik Stadler2014-06-115-8/+69
| | | | | | | comments, fix Eclipse warnings and add close() calls in some tests and in HMEFMessage() to close files during tests correctly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1602008 13f79535-47bb-0310-9956-ffa450edef68
* HSSFCell should follow XSSF, and allow setting a null-style to return to the ↵Nick Burch2014-05-291-0/+36
| | | | | | default style, fixes bug #56572 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1598258 13f79535-47bb-0310-9956-ffa450edef68
* Increase the font-inaccuracy for one unit test as some machines have fonts ↵Dominik Stadler2014-05-271-1/+1
| | | | | | that lead to lower values, e.g. we get only 770 instead of 980 for Jenkins build on IBM JDK and on some local Windows machines git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597873 13f79535-47bb-0310-9956-ffa450edef68
* Fix for 56563 - Multithreading bug when reading 2 similar filesDominik Stadler2014-05-261-0/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597637 13f79535-47bb-0310-9956-ffa450edef68
* If a NoteRecord has no author tag, it seems it can sometimes be double ↵Nick Burch2014-05-231-2/+1
| | | | | | padded. Fixes #47251 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1597098 13f79535-47bb-0310-9956-ffa450edef68
* Bug 53691: Fix a copy/paste error in CFRuleRecord.clone()Dominik Stadler2014-05-202-3/+89
| | | | | | | also make CFRuleRecord.toString() print out more information which caused the bug to be much harder to find Add unit tests to verify/reproduce this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1596251 13f79535-47bb-0310-9956-ffa450edef68
* Apache POI - Use assertArrayEquals() instead of assertTrue(Arrays.equals()), ↵Dominik Stadler2014-05-1636-249/+223
| | | | | | this way we get better information on failure git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595190 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56325: fix Exception when removing sheets with named ranges in the workbookDominik Stadler2014-05-151-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1595048 13f79535-47bb-0310-9956-ffa450edef68
* fix some Eclipse warnings, unnecessary null-check and missing close() in testsDominik Stadler2014-05-131-52/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594201 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56486 - Add XOR obfuscation/decryption support to HSSFAndreas Beeker2014-05-057-159/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592636 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56269 - DateFormat - Rounding of fractionalsAndreas Beeker2014-05-041-21/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592419 13f79535-47bb-0310-9956-ffa450edef68
* The NPOIFS-classes result currently in left-over memory mapped buffers.Andreas Beeker2014-05-041-173/+186
| | | | | | | | | | | These are actually hard to workaround, so for Windows the test is ignored, if this error happens. http://stackoverflow.com/questions/3602783/file-access-synchronized-on-java-object Apart of that, the RandomFileAccess instance is saved in the FileBackedDataSource as it needs to be closed instead of the Channel. http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4796385 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592418 13f79535-47bb-0310-9956-ffa450edef68
* File leak detector: Close streams in some testsDominik Stadler2014-05-042-16/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1592315 13f79535-47bb-0310-9956-ffa450edef68
* Excel 2007 and later allows for more than 3 Conditional Formatting rules per ↵Nick Burch2014-05-021-0/+14
| | | | | | sheet, so change our hard limit to logging a compatibility warning. Test file from Pau Coma Ramirez from bug #56482 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1591959 13f79535-47bb-0310-9956-ffa450edef68
* Get NPOIFS in-place-write working!Nick Burch2014-04-282-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590556 13f79535-47bb-0310-9956-ffa450edef68
* junit4 fixAndreas Beeker2014-04-261-15/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590327 13f79535-47bb-0310-9956-ffa450edef68
* More on the HPFS in-place NPOIFS write tests, and a note about what is still ↵Nick Burch2014-04-262-4/+50
| | | | | | to do for them git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590319 13f79535-47bb-0310-9956-ffa450edef68
* Convert the HPSF test to JUnit 4, and add a bit more testing for NPOIFSNick Burch2014-04-261-37/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590309 13f79535-47bb-0310-9956-ffa450edef68
* Stream tests for NDocumentOutputStreamNick Burch2014-04-261-0/+194
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590303 13f79535-47bb-0310-9956-ffa450edef68
* NDocumentOutputStream write logicNick Burch2014-04-251-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590191 13f79535-47bb-0310-9956-ffa450edef68
* Begin to support and test in-place changes to documents within a NPOIFS streamNick Burch2014-04-252-2/+171
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590185 13f79535-47bb-0310-9956-ffa450edef68
* Complete NPOIFS write testsNick Burch2014-04-251-7/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590162 13f79535-47bb-0310-9956-ffa450edef68
* More progress with the write/read npoifs tests, but one bug still to go....Nick Burch2014-04-251-9/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590153 13f79535-47bb-0310-9956-ffa450edef68
* Refactor some of the NPOIFS write tests, and begin on the last missing write ↵Nick Burch2014-04-251-78/+89
| | | | | | test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590149 13f79535-47bb-0310-9956-ffa450edef68
* Finish off the next NPOIFS write textNick Burch2014-04-251-11/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590133 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS mini stream improvements, and more tests for it allNick Burch2014-04-251-5/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590098 13f79535-47bb-0310-9956-ffa450edef68
* Correct mini stream initialisation, and enable more npoifs write testsNick Burch2014-04-251-116/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590088 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS tests, and a partial mini-stream fixNick Burch2014-04-251-19/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1590083 13f79535-47bb-0310-9956-ffa450edef68
* More npoifs write tests, some disabled as failingNick Burch2014-04-251-3/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589987 13f79535-47bb-0310-9956-ffa450edef68
* Add common code for writing out and reading NPOIFS again, and add a disabled ↵Nick Burch2014-04-241-6/+57
| | | | | | roundtrip test (currently failing...) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589895 13f79535-47bb-0310-9956-ffa450edef68
* Correct NPOIFS mini stream first write bug, and add more NPOIFS stream write ↵Nick Burch2014-04-241-3/+133
| | | | | | tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589881 13f79535-47bb-0310-9956-ffa450edef68
* Add TODOs for the next set of NPOIFS write tests we needNick Burch2014-04-241-14/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589868 13f79535-47bb-0310-9956-ffa450edef68
* More NPOIFS write testing, and fix a problem with writing xbat details outNick Burch2014-04-241-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589806 13f79535-47bb-0310-9956-ffa450edef68
* Update a test to use the existing EntryUtils to copy with, rather than ↵Nick Burch2014-04-241-30/+6
| | | | | | duplciating the logic, and tweak naming/javadocs to clarify what the test does git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589802 13f79535-47bb-0310-9956-ffa450edef68
* More unit tests for NPOIFS writing, and correct a bug in how bats get ↵Nick Burch2014-04-241-28/+67
| | | | | | allocated in xbats. (Some issues still remain) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589800 13f79535-47bb-0310-9956-ffa450edef68
* More int/long sizing fixes for >2gb NPOIFS files, see bug #56447Nick Burch2014-04-241-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589783 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #56450 - Avoid a NPE if a comment has no associated NoteRecord (but ↵Nick Burch2014-04-241-0/+16
| | | | | | we still don't know where it belongs) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1589770 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56437 - [PATCH] Streaming write support in NPOIFSAndreas Beeker2014-04-211-15/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588887 13f79535-47bb-0310-9956-ffa450edef68
* Some encryption fixes:Andreas Beeker2014-04-211-7/+3
| | | | | | | | | - don't rely on SecretKey object having the right algorithm set - leave encryption-description parsing of string/stream to xmlbeans and refactor it to one location - use namespaces of schema instead of hard-coded strings - use CryptoFunctions.getMessageDigest() instead of code duplication git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588874 13f79535-47bb-0310-9956-ffa450edef68
* Tweak 'assertAlmostEquals' bast on Jenkins resultsNick Burch2014-04-182-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588595 13f79535-47bb-0310-9956-ffa450edef68
* Unit test for column autosizing of % valuesNick Burch2014-04-182-0/+71
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588562 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56315: Make rounding in MathX.round() behave equal to Excel, ↵Dominik Stadler2014-04-181-16/+97
| | | | | | adjust/enhance some more tests in MathX git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1588538 13f79535-47bb-0310-9956-ffa450edef68
* Fix some Eclipse warningsDominik Stadler2014-04-046-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1584544 13f79535-47bb-0310-9956-ffa450edef68
* exclude new broken test-file for this testDominik Stadler2014-04-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1584543 13f79535-47bb-0310-9956-ffa450edef68
* Add another test file for bug #47251, from Joe Yuan, and a disabled testNick Burch2014-04-011-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1583825 13f79535-47bb-0310-9956-ffa450edef68