rtl::Static->thread-safe static in unotools
[LibreOffice.git] / sc / qa / unit / functions_database.cxx
blob933d3dabd976d6adf4bff5fb9a6530eefcb47ffd
1 #include "functions_test.hxx"
3 class DatabaseFunctionsTest : public FunctionsTest
5 public:
6 DatabaseFunctionsTest();
8 void testDatabaseFormulasFODS();
10 CPPUNIT_TEST_SUITE(DatabaseFunctionsTest);
11 CPPUNIT_TEST(testDatabaseFormulasFODS);
12 CPPUNIT_TEST_SUITE_END();
16 void DatabaseFunctionsTest::testDatabaseFormulasFODS()
18 OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/database/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 DatabaseFunctionsTest::DatabaseFunctionsTest():
25 FunctionsTest("sc/qa/unit/data/functions/database/fods/")
29 CPPUNIT_TEST_SUITE_REGISTRATION(DatabaseFunctionsTest);
31 CPPUNIT_PLUGIN_IMPLEMENT();
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */