summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKen Biondi <kenbiondi@hotmail.com>2014-04-03 22:00:58 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-04-04 23:09:38 +0200
commit8ed4cc64302415defd1838c4a3799583e602b545 (patch)
tree3cc8e3be1944f84411448a4589805a3ea1872670 /sc
parent8ed74dc19bb659f5ca58156aad6c28b50259b8fc (diff)
improve text function tests
Change-Id: Ia84fc5fa460dd27955dfc843d29b213b3b40ea46
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/data/contentCSV/text-functions.csv38
-rw-r--r--sc/qa/unit/data/ods/functions.odsbin19388 -> 34238 bytes
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx4
3 files changed, 39 insertions, 3 deletions
diff --git a/sc/qa/unit/data/contentCSV/text-functions.csv b/sc/qa/unit/data/contentCSV/text-functions.csv
index 800221205883..7d68f02c4467 100644
--- a/sc/qa/unit/data/contentCSV/text-functions.csv
+++ b/sc/qa/unit/data/contentCSV/text-functions.csv
@@ -1,2 +1,38 @@
-te,est,est
+1014,2002
+ABCDEFGHIJKLMNOPQRSTUVWXYZ
+"0017","10001","00FF"
+A,a,d
+dog
+72,104,97
+Good Morning Mrs. Doe
+17,64206,5
+$255.00,$367.46
+FALSE
+
+6,2
+1234567.890
+
t,tes,testing
+
+6
+12
+happy,ape
+te,est,est
+
+1000000.35,4500.75
+Cat,Monkey
+output,outputce
+shoeshoeshoe
+day
+
+CMXCIX,CMXCIX,LMVLIV,XMIX,VMIV,IM
+onpba
+2
+12abc12abc12abc,12312abc123
+,12345
+12.35,012.35
+hello world
+
+169
+MAYBE
+4321
diff --git a/sc/qa/unit/data/ods/functions.ods b/sc/qa/unit/data/ods/functions.ods
index 97d3b161cf15..7f0d2ec47ceb 100644
--- a/sc/qa/unit/data/ods/functions.ods
+++ b/sc/qa/unit/data/ods/functions.ods
Binary files differ
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 92429ad2430a..0ba507ba6f7b 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -400,7 +400,7 @@ void ScFiltersTest::testFunctionsODS()
testFile(aCSVFileName, pDoc, 3);
// text functions
createCSVPath(OUString("text-functions."), aCSVFileName);
- testFile(aCSVFileName, pDoc, 4);
+ testFile(aCSVFileName, pDoc, 4, PureString);
// statistical functions
createCSVPath(OUString("statistical-functions."), aCSVFileName);
testFile(aCSVFileName, pDoc, 5);
@@ -559,7 +559,7 @@ void ScFiltersTest::testCachedFormulaResultsODS()
testFile(aCSVFileName, pDoc, 3);
// text functions
createCSVPath(OUString("text-functions."), aCSVFileName);
- testFile(aCSVFileName, pDoc, 4);
+ testFile(aCSVFileName, pDoc, 4, PureString);
xDocSh->DoClose();
}