assertCloseDoesNotModifyFile method was adapted from method with the same name in TestWorkbookFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736744 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b6b6a668e
commit
4f4531c67e
@ -835,6 +835,7 @@ public abstract class BaseTestWorkbook {
|
||||
wb.close();
|
||||
}
|
||||
|
||||
/* FIXME copied from {@link org.apache.poi.ss.TestWorkbookFactory} */
|
||||
protected static void assertCloseDoesNotModifyFile(String filename, Workbook wb) throws IOException {
|
||||
final byte[] before = HSSFTestDataSamples.getTestDataFileContent(filename);
|
||||
wb.close();
|
||||
|
Loading…
Reference in New Issue
Block a user