Commit Graph

41 Commits

Author SHA1 Message Date
Andreas Beeker 0a7cd3b68b merge trunk to branch
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hssf_cryptoapi@1762709 13f79535-47bb-0310-9956-ffa450edef68
2016-09-28 21:01:40 +00:00
Andreas Beeker cda4f20482 merge trunk to branch
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hssf_cryptoapi@1761376 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 00:20:44 +00:00
Andreas Beeker c0fd2ae00b Ignore Tiff files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749797 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 22:51:14 +00:00
Dominik Stadler 7cb15d81db Change logger.log to System.out to print out one line for each file that is handled in the test, otherwise it is sometimes impossible to see where the test stopped (e.g. on timeout), enabling POILogger leads to 400MB logs, which is usually too much to handle...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746275 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 13:52:16 +00:00
Dominik Stadler df72dbfbed Revert expected failure as it seems to be fixed now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744305 13f79535-47bb-0310-9956-ffa450edef68
2016-05-17 19:08:27 +00:00
Dominik Stadler ff055532c1 Exclude newly added corrupt file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1744211 13f79535-47bb-0310-9956-ffa450edef68
2016-05-17 08:44:16 +00:00
Dominik Stadler 4010992ac2 Exclude file that was modified and now fails with the known limitation of sheet-cloning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738704 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 06:56:06 +00:00
Javen O'Neal f2e250d7e4 ignore VBA source files in integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738460 13f79535-47bb-0310-9956-ffa450edef68
2016-04-10 20:21:55 +00:00
Dominik Stadler 88e9ff08db Enhance integration tests to call some of the common examples/devtools to also trigger these with all sample files, currently XLSX2CSV, BiffViewer, FromHowTo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737308 13f79535-47bb-0310-9956-ffa450edef68
2016-04-01 06:25:49 +00:00
Nick Burch 560ce3ee0b Ignore ODS
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1735079 13f79535-47bb-0310-9956-ffa450edef68
2016-03-15 14:17:47 +00:00
Dominik Stadler 2fa065d96c Also mark the file for bug 59074 as expected-failure for integration testing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732620 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 10:23:53 +00:00
Dominik Stadler da1879c1b2 Bug 57914: Provide a better error message for OOXML strict format which we do not support yet.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1732619 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 10:23:46 +00:00
Dominik Stadler fb07d95b55 Remove file from expected failures after changes for bug 56880
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1728612 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 07:51:35 +00:00
Andreas Beeker f56b918b16 #54916 - POI does not always read all the slides in pptx files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1723966 13f79535-47bb-0310-9956-ffa450edef68
2016-01-10 20:44:17 +00:00
Dominik Stadler 7f105042ba Fix bug 58760: non-standard namespace-key breaks parsing XLSX files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722433 13f79535-47bb-0310-9956-ffa450edef68
2015-12-31 09:56:33 +00:00
Dominik Stadler e4b168d27f Add null-handler in integration-tests for two Visio files which are not handled (yet) and adjust memory handling somewhat
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722408 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:30 +00:00
Dominik Stadler 8ae2972f3d Bug 58616: Try to initialize with empty password if not done before
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722407 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:23 +00:00
Dominik Stadler b06eaa0d3e Exclude file from integration-tests until bug 58760 is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722405 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 20:31:04 +00:00
asf-sync-process c39e9df3c8 Add some more tests for the checks for files that can cause large memory usage.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1713217 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 10:00:38 +00:00
Dustin Spicuzza e0a5e102b8 Add Visio OOXML text extractor + tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709361 13f79535-47bb-0310-9956-ffa450edef68
2015-10-19 06:26:57 +00:00
Dominik Stadler 6dda58db90 Apply patch from bug 57890 to add support for different datatypes in XSSFImportFromXML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1703665 13f79535-47bb-0310-9956-ffa450edef68
2015-09-17 18:30:13 +00:00
Dominik Stadler a4901ca30d Enhance integration testing to apply OPCPackage tests to more file-types and also run XSSFReader in XSSFFileHandler
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1702801 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 19:05:40 +00:00
Dominik Stadler 5a867f39e9 Adjust excludes after adjusting multiple HeaderFooterRecord instances
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697602 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 08:32:41 +00:00
Andreas Beeker 14df4b2824 Common stress test for X/HSLF and a few bug fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695628 13f79535-47bb-0310-9956-ffa450edef68
2015-08-13 00:10:11 +00:00
Dominik Stadler ccc4ebcf70 Bug 56479: don't hardcode dcterms as namespace alias in the attribute, but expect the actual alias that is used in the corresponding element.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695212 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 05:37:15 +00:00
Dominik Stadler 8c1b7df4bc Bug 57484: Allow processing of non-OOXML core namespace packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1691821 13f79535-47bb-0310-9956-ffa450edef68
2015-07-19 12:11:19 +00:00
Nick Burch 2f87b078e9 Add ignore - file has no content streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681809 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 18:38:34 +00:00
Dominik Stadler dcfe4f77b7 Adjust test to handle a file correctly which works for normal handling but fails expectedly in text-extraction testing.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676902 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 05:50:49 +00:00
Nick Burch 157c994ee8 Skip the new password protected file, and re-org a little bit some other failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1676874 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 22:07:43 +00:00
Nick Burch b68dcd9df5 Add another file exclude, and hae the test print out which fails failed to make it quicker to spot in the jenkins failure email
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1675719 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 21:09:42 +00:00
Dominik Stadler ca9f22c289 Integration tests: Expect exception for old word documents and still run the text extraction for them. Also add executing HPSFPropertiesExtractor where possible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1668483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 21:47:44 +00:00
Nick Burch a181f03b9a Exclude the OOXML strict files for now, not yet supported, see bug #57699
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666433 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:03:53 +00:00
Nick Burch 2879bc1b16 No support as yet for the OOXML visio files, so have these ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665971 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:08:59 +00:00
Nick Burch d78a14b232 Fix inconsistent indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1665970 13f79535-47bb-0310-9956-ffa450edef68
2015-03-11 19:07:13 +00:00
Dominik Stadler e86ed72c2b * Add text-extraction verification to integration-tests via a new abstract base FileHandler
* Fix NullPointerException found in some documents when running against the test-data
* Add support for extracting text from Dir-Entries WORKBOOK and BOOK to support some old/strangely formatted XLS files.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1662652 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 09:59:14 +00:00
Nick Burch ce3cc5b519 Another exclude
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1651512 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 21:48:43 +00:00
Dominik Stadler e8c5bd48ad Extract ROOT_DIR into constant, ignore .csv files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649124 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 21:07:14 +00:00
Andreas Beeker 4bed984c0f Charset.forName() for known encodings makes catching UnknownEncodingException obsolete
Unify UTF-16LE conversion to StringUtil
BugFix for RecordInputStream.readFully in combination with continuing records
BugFix for integration tests - fix pathname for handler/exclude lookup on windows

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648032 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 01:33:28 +00:00
Dominik Stadler ae8391b926 One more change in file-pattern to actually exclude .svn files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647941 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:51:46 +00:00
Dominik Stadler 65ca8293d5 Exclude .svn sub-dirs as it seems Apache Jenkins still runs with Subversion <=1.6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647939 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:34 +00:00
Dominik Stadler 0c580c8f45 Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00