summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-10-06 06:52:43 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-10-06 06:52:43 +0200
commit504634ef395ffa355a2d3737351f37568cc2887a (patch)
tree5b2d4023e4e69e10d4b62e5245fd50ca50f566a3 /sc/qa
parentdf1dc6edd4d5b823ce03b82873f0743453a04c5e (diff)
add unit test for fdo#41381
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/data/ods/functions.odsbin7792 -> 9293 bytes
-rw-r--r--sc/qa/unit/filters-test.cxx6
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/qa/unit/data/ods/functions.ods b/sc/qa/unit/data/ods/functions.ods
index 374ca1543969..4b8c55a275c1 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/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index cc866c4c2368..8e3c27d6b49b 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -381,8 +381,14 @@ void ScFiltersTest::testFunctions()
CPPUNIT_ASSERT_MESSAGE("Failed to load functions.*", xDocSh.Is());
ScDocument* pDoc = xDocSh->GetDocument();
rtl::OUString aCSVFileName;
+
+ //test logical functions
createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("logical-functions.")), aCSVFileName);
testFile(aCSVFileName, pDoc, 0);
+ //test spreadsheet functions
+ createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("spreadsheet-functions.")), aCSVFileName);
+ testFile(aCSVFileName, pDoc, 1);
+
xDocSh->DoClose();
}