aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hpsf
Commit message (Collapse)AuthorAgeFilesLines
* Bugzilla 52385,52337,52338: avoid trancated array and vector data when ↵Yegor Kozlov2012-02-151-0/+88
| | | | | | reading OLE properties git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1244388 13f79535-47bb-0310-9956-ffa450edef68
* replace exception with warningSergey Vladimirov2011-10-291-10/+3
| | | | | | update test case git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195053 13f79535-47bb-0310-9956-ffa450edef68
* Improve HPSF test failure messageNick Burch2011-10-151-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183626 13f79535-47bb-0310-9956-ffa450edef68
* update testSectionMethods() test (due to padding)Sergey Vladimirov2011-10-021-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68
* code cleanup as suggested in Bugzilla 50446Yegor Kozlov2010-12-101-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1044405 13f79535-47bb-0310-9956-ffa450edef68
* Add test which shows that bug #48832 is invalidNick Burch2010-05-262-0/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@948473 13f79535-47bb-0310-9956-ffa450edef68
* avoid creating unnecessary temp files, tighten up usage of temp files in ↵Yegor Kozlov2010-01-141-2/+3
| | | | | | unit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@899364 13f79535-47bb-0310-9956-ffa450edef68
* Remove some generics warnings from the HPSF custom properties and sections partsNick Burch2010-01-131-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898804 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused imports under src/java and src/testcases. Other minor fixes.Josh Micich2009-12-092-21/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@888653 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of ↵Josh Micich2009-10-084-812/+703
| | | | | | box instances. Applied patch with mods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
* removed unnecessary svn:executable flag from files in SVN trunk, see ↵Yegor Kozlov2009-09-131-0/+0
| | | | | | bugzilla 47734 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@814335 13f79535-47bb-0310-9956-ffa450edef68
* moved all test data to a top-level directory, refactored all junit usages of ↵Yegor Kozlov2009-08-2322-47/+48
| | | | | | .testdata.path to one place git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806959 13f79535-47bb-0310-9956-ffa450edef68
* fixing compiler warnings - unused imports, declared exceptions not thrownJosh Micich2009-08-221-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806789 13f79535-47bb-0310-9956-ffa450edef68
* fixes and misc refactorings suggested by IntellijYegor Kozlov2009-08-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806426 13f79535-47bb-0310-9956-ffa450edef68
* Avoid exception when reading ClipboardData packet in OLE property sets, see ↵Yegor Kozlov2009-08-201-0/+10
| | | | | | bugzilla 45583 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@806172 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compiler warnings - unnecessary throws declarationJosh Micich2009-08-181-34/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@805552 13f79535-47bb-0310-9956-ffa450edef68
* Removed static void main(String[]) methods from junit classes. Other minor ↵Josh Micich2009-06-123-129/+26
| | | | | | clean-up. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@784284 13f79535-47bb-0310-9956-ffa450edef68
* removed '@version $Id:$' tags (all were in javadoc comments)Josh Micich2009-06-0110-176/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@780832 13f79535-47bb-0310-9956-ffa450edef68
* 1. fixed XSSFSheet.groupRow and ungroupRow to operate on 0-based arguments, ↵Yegor Kozlov2008-11-142-20/+19
| | | | | | was 1-based2. repackaged common xssh-hssf examples, created a page in the site for them 3. converted broken non-ascii characters to unicode in TestMetaDataIPI and TestWriteWellKnown git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713981 13f79535-47bb-0310-9956-ffa450edef68
* converted non-ascii characters to unicode to keep compilers on UTF-8 systems ↵Yegor Kozlov2008-11-092-20/+20
| | | | | | quiet git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@712543 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo in the file name, and add a generic method to POITextExtractor to ↵Nick Burch2008-08-121-7/+7
| | | | | | get the appropriate metadata text extractor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685267 13f79535-47bb-0310-9956-ffa450edef68
* New HPSF based TextExtractor for document metadata, ↵Nick Burch2008-08-121-0/+115
| | | | | | org.apache.poi.hpsf.extractor.HPFSPropertiesExtractor git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@685260 13f79535-47bb-0310-9956-ffa450edef68
* 44694 - HPSF: Support for property sets without sectionsRainer Klute2008-04-021-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643670 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Josh from bug #44437 - improved unit test for poifsNick Burch2008-02-211-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@629832 13f79535-47bb-0310-9956-ffa450edef68
* - Fixed bug 44375 - HPSF now copes with a broken dictionary in Document ↵Rainer Klute2008-02-084-79/+110
| | | | | | Summary Information stream. RuntimeExceptions that occured when trying to read bogus data are now caught. Dictionary entries up to but not including the bogus one are preserved, the rest is ignored. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619848 13f79535-47bb-0310-9956-ffa450edef68
* Add (disabled) failing testcase for bug #44375Nick Burch2008-02-072-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@619509 13f79535-47bb-0310-9956-ffa450edef68
* Applied copy2license script to the files that were converted by dos2unix. ↵Henri Yandell2006-12-221-5/+6
| | | | | | ant jar continues to pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489762 13f79535-47bb-0310-9956-ffa450edef68
* Applying dos2unix on some of the Java files. The copy2license script isn't ↵Henri Yandell2006-12-221-826/+826
| | | | | | picking up the dos line endings. Hopefully not a problem for anyone git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489760 13f79535-47bb-0310-9956-ffa450edef68
* Applying the copy2license.pl script (with tiny modification to allow for ↵Henri Yandell2006-12-229-45/+54
| | | | | | more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
* * Writing support added to the SummaryInformation and ↵Rainer Klute2006-03-0312-169/+1855
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are: ** Documentation section about writing standard properties added to the HPSF HOW-TO. ** Example application added showing how to modify the document summary information. ** Testcases added for testing modifying summary information and document summary information. ** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances. * Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document. * Improved codepage handling. * Bug fixed: Integral values were read and written as unsigned instead of signed. * Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming. * Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change! * Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section. * Support for low-level reading and writing of Variant.VT_I8 type properties added. * Unnecessary casts removed. * Poibrowser's display format changed slightly. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68
* - Support for variant type VT_R8 added.Rainer Klute2005-04-131-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353637 13f79535-47bb-0310-9956-ffa450edef68
* Centralized creation of temp files and made the default operation to delete ↵Glen Stampoultzis2004-10-121-3/+4
| | | | | | on exit git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353606 13f79535-47bb-0310-9956-ffa450edef68
* With this patch some testcases are skipped if the default character set is ↵Rainer Klute2004-09-191-9/+67
| | | | | | 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
* Some code and documentation cleanup.Rainer Klute2004-08-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353584 13f79535-47bb-0310-9956-ffa450edef68
* Restored the functionality to use ALL files beginning with "Test" in ↵Rainer Klute2004-08-151-29/+34
| | | | | | 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
* Fixed a bug where a mutable section's format ID was written in the wrong ↵Rainer Klute2004-08-131-5/+13
| | | | | | 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
* *** empty log message ***Rainer Klute2004-06-223-6/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353563 13f79535-47bb-0310-9956-ffa450edef68
* - New test case for writing 8-bit characters to Unicode property.Rainer Klute2004-06-221-46/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353562 13f79535-47bb-0310-9956-ffa450edef68
* - Maintainability increased by using symbolic names for constants.Rainer Klute2004-06-091-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353556 13f79535-47bb-0310-9956-ffa450edef68
* - Test files added.Rainer Klute2004-06-022-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353555 13f79535-47bb-0310-9956-ffa450edef68
* New licence changes.Glen Stampoultzis2004-04-097-312/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
* I know POI developers are supposed to like working with binary data,Avik Sengupta2004-01-251-30/+43
| | | | | | | | | | 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
* Buf fix plus testcasde: Reading property values failed with a ↵Rainer Klute2004-01-081-0/+0
| | | | | | StringIndexOutOfBoundsException on empty strings. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353485 13f79535-47bb-0310-9956-ffa450edef68
* *** empty log message ***Rainer Klute2003-12-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353463 13f79535-47bb-0310-9956-ffa450edef68
* Oops - small bug fixed.Rainer Klute2003-12-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353462 13f79535-47bb-0310-9956-ffa450edef68
* HPSF: new testcase to check the new codepage support - plus a fix to correct ↵Rainer Klute2003-12-031-14/+71
| | | | | | 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
* HPSF: codepage support addedRainer Klute2003-12-022-35/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353460 13f79535-47bb-0310-9956-ffa450edef68
* ReformattedRainer Klute2003-11-241-30/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353458 13f79535-47bb-0310-9956-ffa450edef68
* bug 22195 ClassID support, by Michael Zalewski, sync from branch, pls verifyAvik Sengupta2003-10-311-0/+171
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353429 13f79535-47bb-0310-9956-ffa450edef68
* - Comparing sections refined: For the dictionary (property 0) only the value ↵Rainer Klute2003-09-203-0/+0
| | | | | | | | | (Map) is relevant. The dictionary's codepage (property 1) is disregarded. - New sample application CopyCompare. I'll turn that into a testcase later. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353362 13f79535-47bb-0310-9956-ffa450edef68