]> source.dussan.org Git - poi.git/commitdiff
include rich text in the unit test
authorYegor Kozlov <yegor@apache.org>
Wed, 17 Sep 2008 17:39:33 +0000 (17:39 +0000)
committerYegor Kozlov <yegor@apache.org>
Wed, 17 Sep 2008 17:39:33 +0000 (17:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696377 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFExcelExtractor.java

index b00d5228a4e25a6f2bd4056ed389bd41a2739aaf..e553084c36c7334d496dbab4e9c729aea47c3a51 100644 (file)
@@ -107,7 +107,12 @@ public class TestXSSFExcelExtractor extends TestCase {
                                "adipiscing\t777\n" +
                                "elit\t888\n" +
                                "Nunc\t999\n" +
-                               "at\t4995\n", text);
+                               "at\t4995\n" +
+                "The quick brown fox jumps over the lazy dog\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n", text);
                
                // Now get formulas not their values
                extractor.setFormulasNotResults(true);
@@ -122,7 +127,12 @@ public class TestXSSFExcelExtractor extends TestCase {
                                "adipiscing\t777\n" +
                                "elit\t888\n" +
                                "Nunc\t999\n" +
-                               "at\tSUM(B1:B9)\n", text);
+                               "at\tSUM(B1:B9)\n" +
+                "The quick brown fox jumps over the lazy dog\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n", text);
                
                // With sheet names too
                extractor.setIncludeSheetNames(true);
@@ -139,7 +149,12 @@ public class TestXSSFExcelExtractor extends TestCase {
                                "elit\t888\n" +
                                "Nunc\t999\n" +
                                "at\tSUM(B1:B9)\n" +
-                               "Sheet2\n" +
+                               "rich test\n" +
+                "The quick brown fox jumps over the lazy dog\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
+                "hello, xssf\thello, xssf\n" +
                                "Sheet3\n"
                                , text);
        }