From: Josh Micich Date: Thu, 5 Feb 2009 07:45:12 +0000 (+0000) Subject: Should be part of c 741036 (Fix for bug 46654 - HSSFRow/RowRecord needs to properly... X-Git-Tag: REL_3_5_BETA5~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9866e626c7258a77a10df787790cc39d15ec2b44;p=poi.git Should be part of c 741036 (Fix for bug 46654 - HSSFRow/RowRecord needs to properly update cell boundary indexes) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741037 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java b/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java index d715650528..c820f2c9bc 100644 --- a/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java +++ b/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java @@ -62,10 +62,10 @@ public final class TestExcelExtractor extends TestCase { assertEquals( "Sheet1\n" + "1000.0\t1.0\t5.0\n" + - "2000.0\t2.0\t\n" + - "3000.0\t3.0\t\n" + - "4000.0\t4.0\t\n" + - "5000.0\t5.0\t\n" + + "2000.0\t2.0\n" + + "3000.0\t3.0\n" + + "4000.0\t4.0\n" + + "5000.0\t5.0\n" + "Sheet2\nSheet3\n", extractor.getText() ); @@ -75,10 +75,10 @@ public final class TestExcelExtractor extends TestCase { assertEquals( "Sheet1\n" + "1000.0\t1.0\tSUMIF(A1:A5,\">4000\",B1:B5)\n" + - "2000.0\t2.0\t\n" + - "3000.0\t3.0\t\n" + - "4000.0\t4.0\t\n" + - "5000.0\t5.0\t\n" + + "2000.0\t2.0\n" + + "3000.0\t3.0\n" + + "4000.0\t4.0\n" + + "5000.0\t5.0\n" + "Sheet2\nSheet3\n", extractor.getText() ); @@ -196,15 +196,15 @@ public final class TestExcelExtractor extends TestCase { assertTrue(def.startsWith( "Sheet1\n" + "&[TAB]\t\n" + - "Hello\t\n" + - "11.0\t23.0\t\n" + "Hello\n" + + "11.0\t23.0\n" )); assertTrue(padded.startsWith( "Sheet1\n" + "&[TAB]\t\n" + - "Hello\t\t\t\t\t\t\t\t\t\t\t\n" + - "11.0\t\t\t23.0\t\t\t\t\t\t\t\t\n" + "Hello\n" + + "11.0\t\t\t23.0\n" )); }