bug 52949: add unit test for reading VBA Macros from a Visio OOXML (VSDM, 2013+) file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738651 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e179a6e745
commit
5e51b9e89b
@ -80,7 +80,7 @@ public class TestVBAMacroReader {
|
|||||||
public void XSSFfromStream() throws Exception {
|
public void XSSFfromStream() throws Exception {
|
||||||
fromStream(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
|
fromStream(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
|
||||||
}
|
}
|
||||||
@Ignore("Found 0 macros")
|
@Ignore("bug 59302: Found 0 macros")
|
||||||
@Test
|
@Test
|
||||||
public void HSLFfromStream() throws Exception {
|
public void HSLFfromStream() throws Exception {
|
||||||
fromStream(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
fromStream(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
||||||
@ -102,6 +102,10 @@ public class TestVBAMacroReader {
|
|||||||
public void HDGFfromStream() throws Exception {
|
public void HDGFfromStream() throws Exception {
|
||||||
fromStream(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
|
fromStream(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
|
||||||
}
|
}
|
||||||
|
@Test
|
||||||
|
public void XDGFfromStream() throws Exception {
|
||||||
|
fromStream(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsdm");
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////// From File /////////////////////////////
|
//////////////////////////////// From File /////////////////////////////
|
||||||
@Test
|
@Test
|
||||||
@ -112,7 +116,7 @@ public class TestVBAMacroReader {
|
|||||||
public void XSSFfromFile() throws Exception {
|
public void XSSFfromFile() throws Exception {
|
||||||
fromFile(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
|
fromFile(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xlsm");
|
||||||
}
|
}
|
||||||
@Ignore("Found 0 macros")
|
@Ignore("bug 59302: Found 0 macros")
|
||||||
@Test
|
@Test
|
||||||
public void HSLFfromFile() throws Exception {
|
public void HSLFfromFile() throws Exception {
|
||||||
fromFile(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
fromFile(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
||||||
@ -134,13 +138,17 @@ public class TestVBAMacroReader {
|
|||||||
public void HDGFfromFile() throws Exception {
|
public void HDGFfromFile() throws Exception {
|
||||||
fromFile(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
|
fromFile(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsd");
|
||||||
}
|
}
|
||||||
|
@Test
|
||||||
|
public void XDGFfromFile() throws Exception {
|
||||||
|
fromFile(POIDataSamples.getDiagramInstance(), "SimpleMacro.vsdm");
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////// From NPOIFS /////////////////////////////
|
//////////////////////////////// From NPOIFS /////////////////////////////
|
||||||
@Test
|
@Test
|
||||||
public void HSSFfromNPOIFS() throws Exception {
|
public void HSSFfromNPOIFS() throws Exception {
|
||||||
fromNPOIFS(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xls");
|
fromNPOIFS(POIDataSamples.getSpreadSheetInstance(), "SimpleMacro.xls");
|
||||||
}
|
}
|
||||||
@Ignore("Found 0 macros")
|
@Ignore("bug 59302: Found 0 macros")
|
||||||
@Test
|
@Test
|
||||||
public void HSLFfromNPOIFS() throws Exception {
|
public void HSLFfromNPOIFS() throws Exception {
|
||||||
fromNPOIFS(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
fromNPOIFS(POIDataSamples.getSlideShowInstance(), "SimpleMacro.ppt");
|
||||||
|
Loading…
Reference in New Issue
Block a user