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
e065cabe9d
commit
8b5f8483f4
@ -53,4 +53,17 @@ public class TestXDGFVisioExtractor extends TestCase {
|
|||||||
|
|
||||||
extractor.close();
|
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
Normal file
BIN
test-data/diagram/60489.vsdx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user