poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fannin...@apache.org
Subject svn commit: r1846492 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java
Date Tue, 13 Nov 2018 08:37:11 GMT
Author: fanningpj
Date: Tue Nov 13 08:37:11 2018
New Revision: 1846492

URL: http://svn.apache.org/viewvc?rev=1846492&view=rev
Log:
add testcase for https://bz.apache.org/bugzilla/show_bug.cgi?id=62906

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

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java?rev=1846492&r1=1846491&r2=1846492&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java Tue Nov
13 08:37:11 2018
@@ -358,6 +358,7 @@ public final class TestXSSFTable {
                     new CellReference(0, 0), new CellReference(2, 2));
 
             XSSFTable table1 = sheet.createTable(reference1);
+            assertEquals("A1:C3", table1.getCTTable().getRef());
 
             assertEquals(1, table1.getCTTable().getTableColumns().getTableColumnArray(0).getId());
             assertEquals(2, table1.getCTTable().getTableColumns().getTableColumnArray(1).getId());
@@ -369,6 +370,7 @@ public final class TestXSSFTable {
                     new CellReference(10, 10), new CellReference(12, 12));
 
             XSSFTable table2 = sheet.createTable(reference2);
+            assertEquals("K11:M13", table2.getCTTable().getRef());
 
             // these IDs dupplicate those from table1 and may be cause of https://bz.apache.org/bugzilla/show_bug.cgi?id=62906
             assertEquals(1, table2.getCTTable().getTableColumns().getTableColumnArray(0).getId());



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


Mime
View raw message