mirror of
https://github.com/apache/poi.git
synced 2025-03-06 08:59:07 +00:00
[bug-65673] add test case (that passes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fec7e1cc89
commit
336bce7c82
@ -1104,4 +1104,13 @@ class TestXSLFBugs {
|
||||
assertEquals("Can't create extractor - unsupported file type: XML", ie.getMessage());
|
||||
}
|
||||
|
||||
@Test
|
||||
void bug65673() throws IOException {
|
||||
try (XMLSlideShow slideShowModel = openSampleDocument("bug65673.pptx")) {
|
||||
final XSLFSlide modelSlide = slideShowModel.getSlides().get(0);
|
||||
try (XMLSlideShow newSlideShow = new XMLSlideShow()) {
|
||||
newSlideShow.createSlide().importContent(modelSlide);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
test-data/slideshow/bug65673.pptx
Normal file
BIN
test-data/slideshow/bug65673.pptx
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user