mirror of https://github.com/apache/poi.git
bug 60489 -- add a file that triggered a ClassNotFoundException on TIKA-2208/elasticsearch-22077
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bed1141308
commit
56425de1c1
|
@ -53,4 +53,17 @@ public class TestXDGFVisioExtractor extends TestCase {
|
|||
|
||||
extractor.close();
|
||||
}
|
||||
|
||||
|
||||
//the point of this is to trigger the addition of
|
||||
//some common visio classes -- ConnectsType
|
||||
public void testVisioConnects() throws Exception {
|
||||
|
||||
XmlVisioDocument document =
|
||||
new XmlVisioDocument(diagrams.
|
||||
openResourceAsStream("60489.vsdx"));
|
||||
XDGFVisioExtractor extractor = new XDGFVisioExtractor(document);
|
||||
String text = extractor.getText();
|
||||
assertTrue(text.indexOf("Arrears") > -1);
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue