]> source.dussan.org Git - poi.git/commitdiff
Add a disabled test for bug #46662, which seems to be a SharedStringsTable / xmlbeans...
authorNick Burch <nick@apache.org>
Sun, 10 Apr 2011 12:49:48 +0000 (12:49 +0000)
committerNick Burch <nick@apache.org>
Sun, 10 Apr 2011 12:49:48 +0000 (12:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1090792 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java

index 835b38627ce22bee00880a8b78801988fa8c7ebc..84ec2a7ce0f8e823a3f8991f1872f6c3eb7d5c2f 100644 (file)
@@ -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
+    }
 }