summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-12 05:50:56 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-12 05:50:56 +0200
commit28c9d9898064af9269526064cdb90b6c3427c72a (patch)
treeb249fb1f2c09c61d668f2f39e7df3440a7dafcb3 /sc/qa/unit
parentadb497a0d2261f3b1233ffd25c6cade996072567 (diff)
integrate the date time tests
Change-Id: Ie1660042abf6b5512c8bcaba067181826ca61df8
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 2b4d6893b3a0..ef0428d02206 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -429,6 +429,15 @@ void ScFiltersTest::testFunctionsODS()
createCSVPath("database-functions.", aCSVFileName);
testFile(aCSVFileName, pDoc, 0);
+
+ xDocSh->DoClose();
+
+ xDocSh = loadDoc("date-time-functions.", ODS);
+ CPPUNIT_ASSERT_MESSAGE("Failed to load functions.*", xDocSh.Is());
+ xDocSh->DoHardRecalc(true);
+ pDoc = xDocSh->GetDocument();
+ createCSVPath("date-time-functions.", aCSVFileName);
+ testFile(aCSVFileName, pDoc, 0, PureString);
}
void ScFiltersTest::testFunctionsExcel2010()