mirror of https://github.com/apache/poi.git
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
615616a506
commit
2c9d714867
|
@ -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