aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java13
-rw-r--r--test-data/diagram/60489.vsdxbin0 -> 44426 bytes
2 files changed, 13 insertions, 0 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java b/src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java
index 43a6036ba2..7603ab7efd 100644
--- a/src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java
+++ b/src/ooxml/testcases/org/apache/poi/xdgf/extractor/TestXDGFVisioExtractor.java
@@ -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);
+ }
}
diff --git a/test-data/diagram/60489.vsdx b/test-data/diagram/60489.vsdx
new file mode 100644
index 0000000000..659ecdd585
--- /dev/null
+++ b/test-data/diagram/60489.vsdx
Binary files differ