Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / sc / qa / unit / functions_datetime.cxx
blob3e99272c9254b7edfcfd652c4d1c99149b462243
1 #include "functions_test.hxx"
3 class DateTimeFunctionsTest : public FunctionsTest
5 public:
6 DateTimeFunctionsTest();
8 void testDateTimeFormulasFODS();
10 CPPUNIT_TEST_SUITE(DateTimeFunctionsTest);
11 CPPUNIT_TEST(testDateTimeFormulasFODS);
12 CPPUNIT_TEST_SUITE_END();
16 void DateTimeFunctionsTest::testDateTimeFormulasFODS()
18 OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/date_time/fods/");
19 recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
20 "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
21 FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
24 DateTimeFunctionsTest::DateTimeFunctionsTest():
25 FunctionsTest("sc/qa/unit/data/functions/date_time/fods/")
29 CPPUNIT_TEST_SUITE_REGISTRATION(DateTimeFunctionsTest);
31 CPPUNIT_PLUGIN_IMPLEMENT();
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */