]> source.dussan.org Git - poi.git/commit
Add a test-suite which performs integration/stress tests which load and handle all...
authorDominik Stadler <centic@apache.org>
Thu, 25 Dec 2014 09:16:44 +0000 (09:16 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 25 Dec 2014 09:16:44 +0000 (09:16 +0000)
commit8daac21f87301870b0090a40fb0f617c25c8e500
treeb4e2029caed54ed3682f55e8d07b1f1d00bfaea3
parent4204f8211ec892dba4c605b30c26757b9e0be686
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
24 files changed:
.classpath
build.xml
src/integrationtest/org/apache/poi/TestAllFiles.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/hssf/usermodel/RecordsStresser.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/FileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HDGFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HMEFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HSLFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/HWPFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/POIFSFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/POIXMLDocumentHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/XSLFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java [new file with mode: 0644]
src/integrationtest/org/apache/poi/stress/XWPFFileHandler.java [new file with mode: 0644]
src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java
src/testcases/org/apache/poi/hssf/dev/TestEFBiffViewer.java
src/testcases/org/apache/poi/hssf/dev/TestReSave.java
src/testcases/org/apache/poi/hssf/usermodel/TestUnfixedBugs.java
test-data/spreadsheet/44958_1.xls [new file with mode: 0644]