summaryrefslogtreecommitdiffstats
path: root/src/testcases/org
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #55050 - If the start+end row and cell are the same on an AreaPtg, ↵Nick Burch2014-07-311-0/+29
| | | | | | avoid inverting the relative flag git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614928 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #53984 - Support the ColInfoRecord coming after the cells, rather ↵Nick Burch2014-07-311-0/+11
| | | | | | than before as is normal, and also handle things so that if an unsupported BofRecord is found for a sheet, warn and skip rather than breaking git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614884 13f79535-47bb-0310-9956-ffa450edef68
* Correct logic for the start-of-sheet missing rows, for event user model, and ↵Nick Burch2014-07-301-1/+12
| | | | | | add tests for this git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614789 13f79535-47bb-0310-9956-ffa450edef68
* Start on details tests for bug #53433Nick Burch2014-07-301-1/+405
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614786 13f79535-47bb-0310-9956-ffa450edef68
* Unit test to show that bug #53494 has already been fixedNick Burch2014-07-301-0/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614741 13f79535-47bb-0310-9956-ffa450edef68
* #56132 Allow XSSF formula evaluation to also skip missing external workbook ↵Nick Burch2014-07-301-7/+23
| | | | | | references, if requested git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614729 13f79535-47bb-0310-9956-ffa450edef68
* Convert the test to using interfacesNick Burch2014-07-301-23/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614715 13f79535-47bb-0310-9956-ffa450edef68
* Add simple unit test to verify that Bug 42016 was fixed already by some ↵Dominik Stadler2014-07-281-0/+9
| | | | | | other fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614135 13f79535-47bb-0310-9956-ffa450edef68
* Unit test to show that bug #52111 (intersect formulas) was already solvedNick Burch2014-07-261-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613737 13f79535-47bb-0310-9956-ffa450edef68
* HSSF and XSSF Multi-Sheet formula reference tests from Radoslav from bug #55906Nick Burch2014-07-261-0/+331
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613654 13f79535-47bb-0310-9956-ffa450edef68
* Complete evaluation support for multi-sheet references for bug #55906Nick Burch2014-07-254-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613467 13f79535-47bb-0310-9956-ffa450edef68
* Update the RefEval method signature to cope with multi-sheet references, and ↵Nick Burch2014-07-253-18/+26
| | | | | | have appropriate functions take advantage of this. For bug #55906 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613453 13f79535-47bb-0310-9956-ffa450edef68
* Areas can have multi-sheet references too, so add FormulaParser support to ↵Nick Burch2014-07-251-0/+21
| | | | | | these as well git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613437 13f79535-47bb-0310-9956-ffa450edef68
* More progress towards #55906 - Have the ExternSheet references set up for ↵Nick Burch2014-07-251-2/+1
| | | | | | multi-sheet references git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613373 13f79535-47bb-0310-9956-ffa450edef68
* More progress towards #55906 - FormulaParser is able to identify and parse ↵Nick Burch2014-07-241-0/+28
| | | | | | multi-sheet references, but not yet fully round-trip them. (No evaluation support yet either) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613317 13f79535-47bb-0310-9956-ffa450edef68
* Rename some of the internal HSSF sheet lookup methods which deal with ↵Nick Burch2014-07-241-3/+3
| | | | | | external sheet indicies, to make it clear when they return the first sheet name/index, and add support for getting the last one too (will be the same as the first if not a range) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613305 13f79535-47bb-0310-9956-ffa450edef68
* Patch from thaichat04 from bug #56194 - HPSF thumbnail format tags are int ↵Nick Burch2014-07-241-0/+11
| | | | | | not unit git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613256 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Raúl Wegmann from bug #56735 / GitHub Pull #10 - Rationalise POI ↵Nick Burch2014-07-243-13/+8
| | | | | | temp file creation to the TempFile util class, and allow a system wide setting of where Temp files (eg for SXSSF) go, via TempFile / TempFileCreationStrategy git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613246 13f79535-47bb-0310-9956-ffa450edef68
* Correct HSSFOptimiser logic for the case where the to-keep style wasn't ↵Nick Burch2014-07-241-0/+23
| | | | | | previously in use. Fixes #54443 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613175 13f79535-47bb-0310-9956-ffa450edef68
* Bug 56688: Fix border cases in EDATE function: handle RefEval and BlankEval ↵Dominik Stadler2014-07-222-9/+106
| | | | | | and also return #VALUE, not #REF if case of error git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612557 13f79535-47bb-0310-9956-ffa450edef68
* Fix formatting of trailing comma in HexDumps, cover class fully with testsDominik Stadler2014-07-221-0/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612496 13f79535-47bb-0310-9956-ffa450edef68
* Update the formula evaluator to support XSSF style external named ranges tooNick Burch2014-07-202-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612133 13f79535-47bb-0310-9956-ffa450edef68
* Fix inconsistent indentsNick Burch2014-07-191-122/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611947 13f79535-47bb-0310-9956-ffa450edef68
* The Event User Model fake-workbook for formula evaluations needs to know ↵Nick Burch2014-07-191-2/+5
| | | | | | about the sheet names git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611946 13f79535-47bb-0310-9956-ffa450edef68
* Bit more towards XSSF name support for #56737, will need some deeper changes ↵Nick Burch2014-07-181-5/+0
| | | | | | though to fully implement git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611830 13f79535-47bb-0310-9956-ffa450edef68
* Leave part disabled for nowNick Burch2014-07-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611755 13f79535-47bb-0310-9956-ffa450edef68
* 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