*/
@Override
@Test
- protected void cloneSheet() throws IOException {
- RuntimeException e = assertThrows(RuntimeException.class, () -> super.cloneSheet());
+ public void cloneSheet() throws IOException {
+ RuntimeException e = assertThrows(RuntimeException.class, super::cloneSheet);
assertEquals("Not Implemented", e.getMessage());
}
*/
@Override
@Test
- protected void sheetClone() throws IOException {
- RuntimeException e = assertThrows(RuntimeException.class, () -> super.sheetClone());
+ public void sheetClone() {
+ RuntimeException e = assertThrows(RuntimeException.class, super::sheetClone);
assertEquals("Not Implemented", e.getMessage());
}
*/
@Override
@Test
- protected void cloneSheet() throws IOException {
+ public void cloneSheet() throws IOException {
RuntimeException e = assertThrows(RuntimeException.class, super::cloneSheet);
assertEquals("Not Implemented", e.getMessage());
}
*/
@Override
@Test
- protected void sheetClone() {
+ public void sheetClone() {
RuntimeException e = assertThrows(RuntimeException.class, super::sheetClone);
assertEquals("Not Implemented", e.getMessage());
}
@Disabled("Crashes the JVM because of documented JVM behavior with concurrent writing/reading of zip-files, "
+ "see http://www.oracle.com/technetwork/java/javase/documentation/overview-156328.html")
+ @Test
void bug53515a() throws Exception {
File out = new File("Test.xlsx");
assertTrue(!out.exists() || out.delete());
}
@Disabled("not implemented")
+ @Test
void changeSheetNameWithSharedFormulas() {
}
}
}
@Test
- protected void cloneSheet() throws IOException {
+ public void cloneSheet() throws IOException {
try (Workbook book = _testDataProvider.createWorkbook()) {
Sheet sheet = book.createSheet("TEST");
sheet.createRow(0).createCell(0).setCellValue("Test");
}
@Test
- protected void sheetClone() throws IOException {
+ public void sheetClone() throws IOException {
// First up, try a simple file
try (Workbook b = _testDataProvider.createWorkbook();
Workbook bBack = HSSFTestDataSamples.openSampleWorkbook("SheetWithDrawing.xls")) {