diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /sc/qa/unit/functions_test_old.cxx | |
parent | Initial commit. (diff) | |
download | libreoffice-upstream.tar.xz libreoffice-upstream.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sc/qa/unit/functions_test_old.cxx')
-rw-r--r-- | sc/qa/unit/functions_test_old.cxx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sc/qa/unit/functions_test_old.cxx b/sc/qa/unit/functions_test_old.cxx new file mode 100644 index 000000000..e742f6b97 --- /dev/null +++ b/sc/qa/unit/functions_test_old.cxx @@ -0,0 +1,33 @@ +#include "functions_test.hxx" + +class FunctionsTestOld : public FunctionsTest +{ +public: + FunctionsTestOld(); + + void testFormulasFODS(); + + CPPUNIT_TEST_SUITE(FunctionsTestOld); + CPPUNIT_TEST(testFormulasFODS); + CPPUNIT_TEST_SUITE_END(); + +}; + +FunctionsTestOld::FunctionsTestOld(): + FunctionsTest("sc/qq/unit/data/functions/fods") +{ +} + +void FunctionsTestOld::testFormulasFODS() +{ + OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/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); +} + +CPPUNIT_TEST_SUITE_REGISTRATION(FunctionsTestOld); + +CPPUNIT_PLUGIN_IMPLEMENT(); + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |