Commit Graph

256 Commits

Author SHA1 Message Date
Avik Sengupta 3d73fac22e new tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353646 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:04:42 +00:00
Avik Sengupta 53343d3f99 test file for bug 32822
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353642 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:14:28 +00:00
Avik Sengupta f931d7cf7e bug 33160, original patch and testcase supplied by Amol Deshmukh.. thanks. This version slightly more generic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353641 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:01:29 +00:00
Avik Sengupta 9788ef65f0 fix for not being able to name a sheet as Sheet1, with some tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353639 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 07:43:22 +00:00
Rainer Klute 43271e0c5e - Support for variant type VT_R8 added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353637 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 16:33:22 +00:00
Glen Stampoultzis 96fe7f273b Fixed bugzilla references
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353620 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 07:06:45 +00:00
Rainer Klute f3d6cfc947 - Forgot the copyright. Here it is.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353613 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:42:13 +00:00
Rainer Klute a03b710c80 - Test case for empty documents added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353611 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:13:25 +00:00
Jason Height dd6a35b1bd Implemented row bounds. Will raise an IndexOutOfBoundsException if the excel limits are not observerd.
Interestingly column bounds were previouly implemented, but row bounds were not.

Anyhow this fixes bug 15102


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353608 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 03:38:20 +00:00
Jason Height 6ab6d0a295 PR: 19974
Obtained from:
Submitted by:
Reviewed by:

This patch fixes writeing VERY long > 8228 character strings. Existing SST serialisation had problem with calculation and writing to multiple continue records.

Also fixed some test case errors introduced by my last patch for DBCell and IndexRecords


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353607 13f79535-47bb-0310-9956-ffa450edef68
2004-10-13 03:37:56 +00:00
Glen Stampoultzis dbacc2b8f3 Centralized creation of temp files and made the default operation to delete on exit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 05:49:01 +00:00
Jason Height 49e1a3d294 Changes for my own selfish benefit of being able to run tests through jbuilder. Still works as expected elsewhere, dont know why it previously didnt work in JB
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353604 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 03:50:44 +00:00
Rainer Klute 6bfe3dc2b9 With this patch some testcases are skipped if the default character set is not 8-bit-capable. Typically this is US-ASCII. The testcase issues a message telling what you can do to run the test.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353601 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 16:44:44 +00:00
Glen Stampoultzis 1823459ab0 Bugzilla Bug 27929 - finally :-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353599 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:26:30 +00:00
Glen Stampoultzis c6f3b914e5 Bugzilla Bug 30951
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353598 13f79535-47bb-0310-9956-ffa450edef68
2004-09-19 02:06:54 +00:00
Glen Stampoultzis eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Rainer Klute f94bad29e3 Some code and documentation cleanup.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353584 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 15:20:08 +00:00
Rainer Klute 4f658c9b76 Restored the functionality to use ALL files beginning with "Test" in src/testcases/org/apache/poi/hpsf/data as test data. Each of these files is read and rewritten. The result is compared with the original and must be equal to it.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353582 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 13:40:22 +00:00
Rainer Klute b46136d63b Fixed a bug where a mutable section's format ID was written in the wrong byte order. Thanks to Bernd Freigang for pointing this out!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353581 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 22:38:52 +00:00
Glen Stampoultzis 7bfd22842b Empty byte array case for HexDump
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353579 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 02:59:52 +00:00
Rainer Klute 13dd384a09 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353563 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 16:16:33 +00:00
Rainer Klute a905ac6f51 - New test case for writing 8-bit characters to Unicode property.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353562 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 16:14:56 +00:00
Rainer Klute 8d18b0cd4b - Maintainability increased by using symbolic names for constants.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353556 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 17:50:06 +00:00
Rainer Klute b36bf84550 - Test files added.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353555 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 20:32:09 +00:00
Glen Stampoultzis e16b4b948d Some tests were checkin to the wrong source tree
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353550 13f79535-47bb-0310-9956-ffa450edef68
2004-04-19 10:55:45 +00:00
Glen Stampoultzis 8ed7b3777f Some fixes to the branch. Lots left to do. Boolean records aren't supported at all. Empty spreadsheets have issues but this is a start on getting things healthy again.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353549 13f79535-47bb-0310-9956-ffa450edef68
2004-04-18 13:02:48 +00:00
Glen Stampoultzis aa76cdd314 This is a much more comprehensive test suite for ValueRecordsAggregate. All these tests need to be passed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353548 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 13:46:40 +00:00
Glen Stampoultzis a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Glen Stampoultzis b1aed8ff13 Moved some tests that were added to the wrong source branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353544 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 12:22:22 +00:00
Glen Stampoultzis d335e740b6 Ported the drawing stuff from the rel_2_branch. Given the effort this took I'm really really wanting to move to subversion.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353542 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 11:45:38 +00:00
Avik Sengupta 60ceb1d650 I know POI developers are supposed to like working with binary data,
but going thru source code with a hex editor to figure out characters
isnt my idea of fun :))
Anyways, hpsf.basic.TestWrite now runs, on both UTF-8 and US-ASCII
environments.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353488 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 16:05:02 +00:00
Rainer Klute 38d3097672 Buf fix plus testcasde: Reading property values failed with a StringIndexOutOfBoundsException on empty strings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353485 13f79535-47bb-0310-9956-ffa450edef68
2004-01-08 14:25:35 +00:00
Avik Sengupta df53351856 On HEAD, checking in testcase for 25695. But it doesnt work for reason's unknown. And its not this particular issue thats the culprit. getStringValue returns blank..:(
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353481 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:12:46 +00:00
Avik Sengupta 425f468924 on head, missed the testcase for the formula parser changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353480 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 19:11:03 +00:00
Rainer Klute c93c80a275 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353463 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 21:06:57 +00:00
Rainer Klute 457091b4f9 Oops - small bug fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353462 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 20:31:57 +00:00
Rainer Klute a914cfc17c HPSF: new testcase to check the new codepage support - plus a fix to correct a bug detected by the testcase. Hey, that's what testcases are good for!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353461 13f79535-47bb-0310-9956-ffa450edef68
2003-12-03 20:00:14 +00:00
Rainer Klute 131bb9d0bd HPSF: codepage support added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353460 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 17:46:01 +00:00
Rainer Klute ffdfb39106 Reformatted
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353458 13f79535-47bb-0310-9956-ffa450edef68
2003-11-24 22:31:01 +00:00
Danny Muid 9d2c36fad3 Really clone the merged regions...Thanks to Jason for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353454 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:34:06 +00:00
Danny Muid b552f42f82 The cloned reference for merged cells did not create a new collection,
so deletes cascaded to the original.
Reported by: huri@users.sourceforge.net
PR:  22720


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353452 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 21:17:41 +00:00
Shawn Laubach be886bc9da Fix supplied for bug 24397 where some compilation got ambiguous classes. Explicitly imports the classes. Patch supplied by Jean-Pierre Paris.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353437 13f79535-47bb-0310-9956-ffa450edef68
2003-11-04 19:29:55 +00:00
Avik Sengupta f52aea647a bug 22195 ClassID support, by Michael Zalewski, sync from branch, pls verify
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353429 13f79535-47bb-0310-9956-ffa450edef68
2003-10-31 16:39:05 +00:00
Avik Sengupta e16e9b24e1 fix for bug 16560. But the testcase in HEAD was already failing, so continues to fail even now.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353427 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 18:14:55 +00:00
Avik Sengupta 58623a5194 testcase for bug 18800
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353425 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 17:20:39 +00:00
Avik Sengupta c66f42d340 Testcase for 24215. sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353423 13f79535-47bb-0310-9956-ffa450edef68
2003-10-30 16:46:43 +00:00
Avik Sengupta 003c0e8b30 Testcases for bug 19599 - sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353421 13f79535-47bb-0310-9956-ffa450edef68
2003-10-28 10:34:46 +00:00
Avik Sengupta 1e07dbc576 More double byte chars testcases. Sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353419 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:57:30 +00:00
Avik Sengupta 6fdf527896 Testcases.. Testcases! for bug 13224 and all double byte read errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353417 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 03:43:16 +00:00
Avik Sengupta 3c78911f82 fix for 13921, sync from branch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353412 13f79535-47bb-0310-9956-ffa450edef68
2003-10-27 02:01:21 +00:00