diff options
author | Javen O'Neal <onealj@apache.org> | 2015-11-02 09:23:12 +0000 |
---|---|---|
committer | Javen O'Neal <onealj@apache.org> | 2015-11-02 09:23:12 +0000 |
commit | d593be901fdee63fa88758228fba915daf6f2496 (patch) | |
tree | 617afd8951b7f41ee13807ad23cdd02ee7ae1221 /src/testcases/org/apache/poi/hssf/model | |
parent | 0ca906a93e402792171a519d5c8f2df38deb77a1 (diff) | |
download | poi-d593be901fdee63fa88758228fba915daf6f2496.tar.gz poi-d593be901fdee63fa88758228fba915daf6f2496.zip |
don't leave behind files when running unit tests. In the future this should be revisited to verify POI isn't writing workbooks that are unopenable/corrupt by applications that read POI's formats (MS Office, OpenOffice, LibreOffice, etc)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711920 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/model')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java b/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java index 35576cac6d..9dd2af8189 100644 --- a/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java +++ b/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java @@ -161,11 +161,15 @@ public final class TestFormulaParser extends TestCase { assertEqualsIgnoreCase("yourFunc", wb2.getName("yourFunc").getNameName()); // Manually check to make sure file isn't corrupted + // TODO: develop a process for occasionally manually reviewing workbooks + // to verify workbooks are not corrupted + /* final File fileIn = HSSFTestDataSamples.getSampleFile(testFile); final File reSavedFile = new File(fileIn.getParentFile(), fileIn.getName().replace(".xls", "-saved.xls")); FileOutputStream fos = new FileOutputStream(reSavedFile); wb2.write(fos); fos.close(); + */ } finally { wb2.close(); } |