diff options
Diffstat (limited to 'sc/qa/unit/functions_addin.cxx')
-rw-r--r-- | sc/qa/unit/functions_addin.cxx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sc/qa/unit/functions_addin.cxx b/sc/qa/unit/functions_addin.cxx new file mode 100644 index 000000000..b56eaf8c0 --- /dev/null +++ b/sc/qa/unit/functions_addin.cxx @@ -0,0 +1,33 @@ +#include "functions_test.hxx" + +class AddinFunctionsTest : public FunctionsTest +{ +public: + AddinFunctionsTest(); + + void testAddinFormulasFODS(); + + CPPUNIT_TEST_SUITE(AddinFunctionsTest); + CPPUNIT_TEST(testAddinFormulasFODS); + CPPUNIT_TEST_SUITE_END(); + +}; + +void AddinFunctionsTest::testAddinFormulasFODS() +{ + OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/addin/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); +} + +AddinFunctionsTest::AddinFunctionsTest(): + FunctionsTest("sc/qa/unit/data/functions/addin/fods/") +{ +} + +CPPUNIT_TEST_SUITE_REGISTRATION(AddinFunctionsTest); + +CPPUNIT_PLUGIN_IMPLEMENT(); + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |