diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-30 22:13:51 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-11-30 22:47:56 +0000 |
commit | 1b15f2f280d6fb9ee1e51c3424769a912c8d0689 (patch) | |
tree | 8333f7084707ed53b8787002888b1c310d5d7903 /sc/qa/unit/functions_spreadsheet.cxx | |
parent | ff22a22286bb4c17c3affc89d31a6c10447481c5 (diff) |
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>
Diffstat (limited to 'sc/qa/unit/functions_spreadsheet.cxx')
-rw-r--r-- | sc/qa/unit/functions_spreadsheet.cxx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sc/qa/unit/functions_spreadsheet.cxx b/sc/qa/unit/functions_spreadsheet.cxx new file mode 100644 index 000000000000..cb8d16ecd90b --- /dev/null +++ b/sc/qa/unit/functions_spreadsheet.cxx @@ -0,0 +1,33 @@ +#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("/sc/qa/unit/data/functions/spreadsheet/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); +} + +SpreadsheetFunctionsTest::SpreadsheetFunctionsTest(): + FunctionsTest("sc/qa/unit/data/functions/spreadsheet/fods/") +{ +} + +CPPUNIT_TEST_SUITE_REGISTRATION(SpreadsheetFunctionsTest); + +CPPUNIT_PLUGIN_IMPLEMENT(); + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |