poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1711952 - /poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java
Date Mon, 02 Nov 2015 13:02:45 GMT
Author: onealj
Date: Mon Nov  2 13:02:44 2015
New Revision: 1711952

URL: http://svn.apache.org/viewvc?rev=1711952&view=rev
Log:
bug 58572: change hyperlink reference to be consistent with TestXSSFHyperlink#testCopyXSSFHyperlink

Modified:
    poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java

Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java?rev=1711952&r1=1711951&r2=1711952&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFHyperlink.java Mon Nov 
2 13:02:44 2015
@@ -278,12 +278,12 @@ public final class TestHSSFHyperlink ext
         XSSFCreationHelper helper = wb.getCreationHelper();
         XSSFHyperlink xlink = helper.createHyperlink(Hyperlink.LINK_URL);
         xlink.setAddress("http://poi.apache.org/");
-        xlink.setCellReference("C3");
+        xlink.setCellReference("D3");
         xlink.setTooltip("tooltip");
         HSSFHyperlink hlink = new HSSFHyperlink(xlink);
         
         assertEquals("http://poi.apache.org/", hlink.getAddress());
-        assertEquals("C3", new CellReference(hlink.getFirstRow(), hlink.getFirstColumn()).formatAsString());
+        assertEquals("D3", new CellReference(hlink.getFirstRow(), hlink.getFirstColumn()).formatAsString());
         // Are HSSFHyperlink.label and XSSFHyperlink.tooltip the same? If so, perhaps one
of these needs renamed for a consistent Hyperlink interface
         // assertEquals("tooltip", hlink.getLabel());
         



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


Mime
View raw message