poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1145286 - /poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java
Date Mon, 11 Jul 2011 18:41:53 GMT
Author: sergey
Date: Mon Jul 11 18:41:53 2011
New Revision: 1145286

URL: http://svn.apache.org/viewvc?rev=1145286&view=rev
Log:
SEPX uses chars as boundaries coordinates, don't do double conversions

Modified:
    poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java

Modified: poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java?rev=1145286&r1=1145285&r2=1145286&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java (original)
+++ poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java Mon Jul
11 18:41:53 2011
@@ -19,12 +19,11 @@ package org.apache.poi.hwpf.usermodel;
 
 import java.util.ArrayList;
 
-import org.apache.poi.hwpf.model.SEPX;
+import junit.framework.TestCase;
 
 import org.apache.poi.POIDataSamples;
 import org.apache.poi.hwpf.HWPFDocument;
-
-import junit.framework.TestCase;
+import org.apache.poi.hwpf.model.SEPX;
 
 /**
  * Tests for Range which aren't around deletion, insertion, text replacement or
@@ -69,8 +68,6 @@ public final class TestRange extends Tes
 
         // whole document, including additional text from shape
         SEPX sepx = sections.get( 0 );
-        assertEquals( sepx.getStartBytes(), 1024 );
-        assertEquals( sepx.getEndBytes(), 3880 );
         assertEquals( sepx.getStart(), 0 );
         assertEquals( sepx.getEnd(), 1428 );
 



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


Mime
View raw message