Browse Source

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
tags/REL_3_16_BETA2
Tim Allison 7 years ago
parent
commit
56425de1c1

+ 13
- 0
src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java 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);
}
}

BIN
test-data/diagram/60489.vsdx View File


Loading…
Cancel
Save