add comment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b96af85631
commit
8be029b0c6
@ -60,6 +60,7 @@ public final class TestWorkbookFactory {
|
|||||||
*/
|
*/
|
||||||
private static void assertCloseDoesNotModifyFile(String filename, Workbook wb) throws IOException {
|
private static void assertCloseDoesNotModifyFile(String filename, Workbook wb) throws IOException {
|
||||||
final byte[] before = HSSFTestDataSamples.getTestDataFileContent(filename);
|
final byte[] before = HSSFTestDataSamples.getTestDataFileContent(filename);
|
||||||
|
// FIXME: replace with wb.close() when bug 58779 is resolved
|
||||||
closeOrRevert(wb);
|
closeOrRevert(wb);
|
||||||
final byte[] after = HSSFTestDataSamples.getTestDataFileContent(filename);
|
final byte[] after = HSSFTestDataSamples.getTestDataFileContent(filename);
|
||||||
assertArrayEquals(filename + " sample file was modified as a result of closing the workbook",
|
assertArrayEquals(filename + " sample file was modified as a result of closing the workbook",
|
||||||
|
Loading…
Reference in New Issue
Block a user