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