summaryrefslogtreecommitdiffstats
path: root/sc/qa/unit/functions_spreadsheet.cxx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:51:28 +0000
commit940b4d1848e8c70ab7642901a68594e8016caffc (patch)
treeeb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /sc/qa/unit/functions_spreadsheet.cxx
parentInitial commit. (diff)
downloadlibreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz
libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sc/qa/unit/functions_spreadsheet.cxx')
-rw-r--r--sc/qa/unit/functions_spreadsheet.cxx33
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 000000000..cb8d16ecd
--- /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: */