summaryrefslogtreecommitdiffstats
path: root/sc/qa/unit/functions_financial.cxx
blob: 7d42a46007eeeaa7dbb6c95b955c992a19f0859c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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: */