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
This commit is contained in:
Nick Burch 2011-04-10 12:49:48 +00:00
parent d290f515a4
commit 1762d08f89
1 changed files with 21 additions and 0 deletions

View 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
}
}