office-gobmx/sc/qa/unit/functions_database.cxx
Noel Grandin bc456ccf9f loplugin:ostr in sc/qa
Change-Id: If731102d69667eaaa088cf804a8c7563b24ded5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167893
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-05-21 18:14:10 +02:00

33 lines
963 B
C++

#include "functions_test.hxx"
class DatabaseFunctionsTest : public FunctionsTest
{
public:
DatabaseFunctionsTest();
void testDatabaseFormulasFODS();
CPPUNIT_TEST_SUITE(DatabaseFunctionsTest);
CPPUNIT_TEST(testDatabaseFormulasFODS);
CPPUNIT_TEST_SUITE_END();
};
void DatabaseFunctionsTest::testDatabaseFormulasFODS()
{
OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/database/fods/");
recursiveScan(test::pass, u"OpenDocument Spreadsheet Flat XML"_ustr, aDirectoryURL,
u"com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true"_ustr,
FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
}
DatabaseFunctionsTest::DatabaseFunctionsTest():
FunctionsTest()
{
}
CPPUNIT_TEST_SUITE_REGISTRATION(DatabaseFunctionsTest);
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */