mirror of https://github.com/apache/poi.git
add test for broken file (5.0.1-RC1 issues)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53d76b369e
commit
ac83ff11f4
|
@ -877,4 +877,12 @@ public final class TestBugs {
|
|||
assertEquals(ShapeType.NOT_PRIMITIVE, shList.get(2).getShapeType());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void test501RC1Failure() throws Exception {
|
||||
try (HSLFSlideShow ppt = open("23884_defense_FINAL_OOimport_edit.ppt")) {
|
||||
List<HSLFShape> shList = ppt.getSlides().get(0).getShapes();
|
||||
assertEquals(ShapeType.NOT_PRIMITIVE, shList.get(2).getShapeType());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue