office-gobmx/sc/qa/unit/functions_spreadsheet.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
996 B
C++

#include "functions_test.hxx"
class SpreadsheetFunctionsTest : public FunctionsTest
{
public:
SpreadsheetFunctionsTest();
void testSpreadsheetFormulasFODS();
CPPUNIT_TEST_SUITE(SpreadsheetFunctionsTest);
CPPUNIT_TEST(testSpreadsheetFormulasFODS);
CPPUNIT_TEST_SUITE_END();
};
void SpreadsheetFunctionsTest::testSpreadsheetFormulasFODS()
{
OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/spreadsheet/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);
}
SpreadsheetFunctionsTest::SpreadsheetFunctionsTest():
FunctionsTest()
{
}
CPPUNIT_TEST_SUITE_REGISTRATION(SpreadsheetFunctionsTest);
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */