include rich text in the unit test

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/ooxml@696377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2008-09-17 17:39:33 +00:00
parent 9a49637d5f
commit bb1235e2e5

View File

@ -107,7 +107,12 @@ public class TestXSSFExcelExtractor extends TestCase {
"adipiscing\t777\n" + "adipiscing\t777\n" +
"elit\t888\n" + "elit\t888\n" +
"Nunc\t999\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 // Now get formulas not their values
extractor.setFormulasNotResults(true); extractor.setFormulasNotResults(true);
@ -122,7 +127,12 @@ public class TestXSSFExcelExtractor extends TestCase {
"adipiscing\t777\n" + "adipiscing\t777\n" +
"elit\t888\n" + "elit\t888\n" +
"Nunc\t999\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 // With sheet names too
extractor.setIncludeSheetNames(true); extractor.setIncludeSheetNames(true);
@ -139,7 +149,12 @@ public class TestXSSFExcelExtractor extends TestCase {
"elit\t888\n" + "elit\t888\n" +
"Nunc\t999\n" + "Nunc\t999\n" +
"at\tSUM(B1:B9)\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" "Sheet3\n"
, text); , text);
} }