office-gobmx/sc/qa/unit/functions_financial.cxx
Markus Mohrhard 1b15f2f280 split the functions test in even more categories
Change-Id: I3ca640a24e95d1e6e0ad66be7bf09c45d63b52bb
Reviewed-on: https://gerrit.libreoffice.org/31447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-30 22:47:56 +00:00

33 lines
1,004 B
C++

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