Reverted accidental early commit (should not be part of r741002)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@741004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Josh Micich 2009-02-05 05:14:03 +00:00
parent e6472ffac4
commit 3fe60b8acf

View File

@ -62,10 +62,10 @@ public final class TestExcelExtractor extends TestCase {
assertEquals( assertEquals(
"Sheet1\n" + "Sheet1\n" +
"1000.0\t1.0\t5.0\n" + "1000.0\t1.0\t5.0\n" +
"2000.0\t2.0\n" + "2000.0\t2.0\t\n" +
"3000.0\t3.0\n" + "3000.0\t3.0\t\n" +
"4000.0\t4.0\n" + "4000.0\t4.0\t\n" +
"5000.0\t5.0\n" + "5000.0\t5.0\t\n" +
"Sheet2\nSheet3\n", "Sheet2\nSheet3\n",
extractor.getText() extractor.getText()
); );
@ -75,10 +75,10 @@ public final class TestExcelExtractor extends TestCase {
assertEquals( assertEquals(
"Sheet1\n" + "Sheet1\n" +
"1000.0\t1.0\tSUMIF(A1:A5,\">4000\",B1:B5)\n" + "1000.0\t1.0\tSUMIF(A1:A5,\">4000\",B1:B5)\n" +
"2000.0\t2.0\n" + "2000.0\t2.0\t\n" +
"3000.0\t3.0\n" + "3000.0\t3.0\t\n" +
"4000.0\t4.0\n" + "4000.0\t4.0\t\n" +
"5000.0\t5.0\n" + "5000.0\t5.0\t\n" +
"Sheet2\nSheet3\n", "Sheet2\nSheet3\n",
extractor.getText() extractor.getText()
); );
@ -196,15 +196,15 @@ public final class TestExcelExtractor extends TestCase {
assertTrue(def.startsWith( assertTrue(def.startsWith(
"Sheet1\n" + "Sheet1\n" +
"&[TAB]\t\n" + "&[TAB]\t\n" +
"Hello\n" + "Hello\t\n" +
"11.0\t23.0\n" "11.0\t23.0\t\n"
)); ));
assertTrue(padded.startsWith( assertTrue(padded.startsWith(
"Sheet1\n" + "Sheet1\n" +
"&[TAB]\t\n" + "&[TAB]\t\n" +
"Hello\n" + "Hello\t\t\t\t\t\t\t\t\t\t\t\n" +
"11.0\t\t\t23.0\n" "11.0\t\t\t23.0\t\t\t\t\t\t\t\t\n"
)); ));
} }