poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1746058 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java
Date Sun, 29 May 2016 21:33:24 GMT
Author: centic
Date: Sun May 29 21:33:24 2016
New Revision: 1746058

URL: http://svn.apache.org/viewvc?rev=1746058&view=rev
Log:
Try to access set/getVisible as well in TestXSSFVMLDrawing

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java?rev=1746058&r1=1746057&r2=1746058&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFVMLDrawing.java Sun
May 29 21:33:24 2016
@@ -22,6 +22,7 @@ import java.io.InputStream;
 import java.math.BigInteger;
 import java.util.List;
 
+import com.microsoft.schemas.office.excel.STTrueFalseBlank;
 import org.apache.poi.POIDataSamples;
 import org.apache.xmlbeans.XmlObject;
 
@@ -84,6 +85,9 @@ public class TestXSSFVMLDrawing extends
         assertEquals("False", cldata.getAutoFillArray(0).toString());
         assertEquals(0, cldata.getRowArray(0).intValue());
         assertEquals(0, cldata.getColumnArray(0).intValue());
+        assertEquals("[]", cldata.getVisibleList().toString());
+        cldata.setVisibleArray(new STTrueFalseBlank.Enum[] { STTrueFalseBlank.Enum.forString("True")
});
+        assertEquals("[True]", cldata.getVisibleList().toString());
 
         //serialize and read again
         ByteArrayOutputStream out = new ByteArrayOutputStream();



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


Mime
View raw message