poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1738651 - /poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
Date Mon, 11 Apr 2016 21:35:22 GMT
Author: onealj
Date: Mon Apr 11 21:35:22 2016
New Revision: 1738651

URL: http://svn.apache.org/viewvc?rev=1738651&view=rev
Log:
bug 52949: add unit test for reading VBA Macros from a Visio OOXML (VSDM, 2013+) file

Modified:
    poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java

Modified: poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java?rev=1738651&r1=1738650&r2=1738651&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/poifs/macros/TestVBAMacroReader.java Mon Apr 11
21:35:22 2016
@@ -80,7 +80,7 @@ public class TestVBAMacroReader {
     public void XSSFfromStream() throws Exception {
         fromStream(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
     }
-    @Ignore("Found 0 macros")
+    @Ignore("bug 59302: Found 0 macros")
     @Test
     public void HSLFfromStream() throws Exception {
         fromStream(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
@@ -102,6 +102,10 @@ public class TestVBAMacroReader {
     public void HDGFfromStream() throws Exception {
         fromStream(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
     }
+    @Test
+    public void XDGFfromStream() throws Exception {
+        fromStream(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsdm");
+    }
 
     //////////////////////////////// From File /////////////////////////////
     @Test
@@ -112,7 +116,7 @@ public class TestVBAMacroReader {
     public void XSSFfromFile() throws Exception {
         fromFile(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
     }
-    @Ignore("Found 0 macros")
+    @Ignore("bug 59302: Found 0 macros")
     @Test
     public void HSLFfromFile() throws Exception {
         fromFile(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
@@ -134,13 +138,17 @@ public class TestVBAMacroReader {
     public void HDGFfromFile() throws Exception {
         fromFile(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
     }
+    @Test
+    public void XDGFfromFile() throws Exception {
+        fromFile(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsdm");
+    }
 
     //////////////////////////////// From NPOIFS /////////////////////////////
     @Test
     public void HSSFfromNPOIFS() throws Exception {
         fromNPOIFS(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xls");
     }
-    @Ignore("Found 0 macros")
+    @Ignore("bug 59302: Found 0 macros")
     @Test
     public void HSLFfromNPOIFS() throws Exception {
         fromNPOIFS(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message