mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
Add test which verifies that bug 61605 is already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0e8d437a30
commit
3c99c70acf
@ -85,4 +85,14 @@ public class TestXSSFCloneSheet extends BaseTestCloneSheet {
|
||||
|
||||
wb.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test61605() throws IOException {
|
||||
try (Workbook template_wb = XSSFTestDataSamples.openSampleWorkbook("61605.xlsx")) {
|
||||
Sheet template_sh = template_wb.getSheetAt(0);
|
||||
assertNotNull(template_sh);
|
||||
Sheet source_sh = template_wb.cloneSheet(0);
|
||||
assertNotNull(source_sh);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
test-data/spreadsheet/61605.xlsx
Normal file
BIN
test-data/spreadsheet/61605.xlsx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user