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:
Tim Allison 2016-12-16 16:46:00 +00:00
parent bed1141308
commit 56425de1c1
2 changed files with 13 additions and 0 deletions

View File

@ -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.