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:
Javen O'Neal 2016-03-27 13:09:50 +00:00
parent 615616a506
commit 2c9d714867
1 changed files with 1 additions and 0 deletions

View File

@ -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();