Commit Graph

57 Commits

Author SHA1 Message Date
Dominik Stadler 77614b8c49 Test for another type of xml-bomb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790473 13f79535-47bb-0310-9956-ffa450edef68
2017-04-06 21:50:03 +00:00
Tim Allison af51ea4c10 bug 50955 -- word 6.0 charset fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790061 13f79535-47bb-0310-9956-ffa450edef68
2017-04-04 02:06:46 +00:00
Dominik Stadler 531226ac84 Add docm-file which is actually a binary doc to check handling of wrong-format-exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787555 13f79535-47bb-0310-9956-ffa450edef68
2017-03-18 13:56:04 +00:00
Dominik Stadler 12a26bd6ca Fix ROOT_DIR
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787330 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 12:03:07 +00:00
Tim Allison 60b4624cf7 60826 -- update stress tests to handle xlsb
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787264 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 22:32:24 +00:00
Dominik Stadler c07c41659f HSSF: Try to handle cases where the length does not match the actual data while cloning, we see this in some documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1786431 13f79535-47bb-0310-9956-ffa450edef68
2017-03-10 20:13:52 +00:00
Javen O'Neal 0443c27ede OLD_FILES, EXPECTED_FAILURES, and IGNORED do not need to be modified when executing TestAllFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783174 13f79535-47bb-0310-9956-ffa450edef68
2017-02-16 06:15:13 +00:00
Javen O'Neal c1b350201c test-integration: replace redundant static { EXPECTED_FAILURES.add(...) } with (dynamic) Arrays.asList() to improve code legibility.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783171 13f79535-47bb-0310-9956-ffa450edef68
2017-02-16 06:08:44 +00:00
Greg Woolsey ba7809d69a a new test file needed to be added to the list of sheet clone expected errors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783129 13f79535-47bb-0310-9956-ffa450edef68
2017-02-15 17:48:46 +00:00
Andreas Beeker ead2cdd696 Bug 59273 - Unable to create pptx file by potx file using Apache POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769220 13f79535-47bb-0310-9956-ffa450edef68
2016-11-10 22:54:07 +00:00
Andreas Beeker 457100c358 Bug 60320 - issue opening password protected xlsx
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767399 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 01:30:48 +00:00
Dominik Stadler 04184527b4 Correctly handle all types of old files, not just word
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1766064 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 16:31:43 +00:00
Andreas Beeker f648c23daa fix integration-tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765900 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 22:31:50 +00:00
Dominik Stadler d0d5334386 Exclude new BIFF5 file in some unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1765876 13f79535-47bb-0310-9956-ffa450edef68
2016-10-20 20:31:57 +00:00
Nick Burch b79defb983 Exclude broken hand-crafted test file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1764887 13f79535-47bb-0310-9956-ffa450edef68
2016-10-14 13:03:53 +00:00
Javen O'Neal 12ca2205b0 bug 57843: add failing unit test: Word 6.0 (1993) fails with ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761873 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 09:24:48 +00:00
Javen O'Neal 3959260c6a bug 60128: exclude openxml4j/invalid.xlsx from additional integration (stress) tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760743 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 18:41:21 +00:00
Javen O'Neal 9ac461596f bug 60128: add test-data/openxml4j/invalid.xlsx to expected failures for integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1760735 13f79535-47bb-0310-9956-ffa450edef68
2016-09-14 17:48:00 +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