diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-28 21:58:05 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-10-28 22:48:07 +0100 |
commit | 6993eb83bdd4e934a6470dc189de4f7d43b98a80 (patch) | |
tree | 0b91492852b96e52519741fbe43e88ae9bd2ada5 /sc | |
parent | ad36b0b9553f3903bddff0355dd878459bea8fae (diff) |
add test for LEFT and MID where string is shorter than requested
Change-Id: I0946e92af47aec6277938f6f91beb7a405005496
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/data/contentCSV/text-functions.csv | 2 | ||||
-rw-r--r-- | sc/qa/unit/data/ods/functions.ods | bin | 13214 -> 12789 bytes | |||
-rw-r--r-- | sc/qa/unit/subsequent_filters-test.cxx | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/unit/data/contentCSV/text-functions.csv b/sc/qa/unit/data/contentCSV/text-functions.csv new file mode 100644 index 000000000000..800221205883 --- /dev/null +++ b/sc/qa/unit/data/contentCSV/text-functions.csv @@ -0,0 +1,2 @@ +te,est,est +t,tes,testing diff --git a/sc/qa/unit/data/ods/functions.ods b/sc/qa/unit/data/ods/functions.ods Binary files differindex 6dd969c90362..c3e2a34069e0 100644 --- a/sc/qa/unit/data/ods/functions.ods +++ b/sc/qa/unit/data/ods/functions.ods diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 5743b206e304..bd789b4276db 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -359,6 +359,9 @@ void ScFiltersTest::testFunctionsODS() //test information functions createCSVPath(OUString("information-functions."), aCSVFileName); testFile(aCSVFileName, pDoc, 3); + // text functions + createCSVPath(OUString("text-functions."), aCSVFileName); + testFile(aCSVFileName, pDoc, 4); xDocSh->DoClose(); } @@ -384,6 +387,9 @@ void ScFiltersTest::testCachedFormulaResultsODS() //test cached formula results of information functions createCSVPath(OUString("information-functions."), aCSVFileName); testFile(aCSVFileName, pDoc, 3); + // text functions + createCSVPath(OUString("text-functions."), aCSVFileName); + testFile(aCSVFileName, pDoc, 4); xDocSh->DoClose(); } |