From: Nick Burch Date: Sun, 10 Apr 2011 12:49:48 +0000 (+0000) Subject: Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans... X-Git-Tag: REL_3_8_BETA3~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1762d08f89d906c9d7ff62881c20cd8ae70d5ae9;p=poi.git Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans issue git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090792 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java index 835b38627c..84ec2a7ce0 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java @@ -1024,4 +1024,25 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues { assertEquals(0, paneInfo.getHorizontalSplitTopRow()); } } + + /** + * Repeatedly writing a file. + * Something with the SharedStringsTable currently breaks... + */ + public void DISABLEDtest46662() throws Exception { + // New file + XSSFWorkbook wb = new XSSFWorkbook(); + XSSFTestDataSamples.writeOutAndReadBack(wb); + XSSFTestDataSamples.writeOutAndReadBack(wb); + XSSFTestDataSamples.writeOutAndReadBack(wb); + + // Simple file + wb = XSSFTestDataSamples.openSampleWorkbook("sample.xlsx"); + XSSFTestDataSamples.writeOutAndReadBack(wb); + XSSFTestDataSamples.writeOutAndReadBack(wb); + XSSFTestDataSamples.writeOutAndReadBack(wb); + + // Complex file + // TODO + } }