Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / qa / unit / functions_statistical.cxx
blob8f74aad999fbf1e9419c1ece6f66e155ec5d4be7
1 #include "functions_test.hxx"
3 class StatisticalFunctionsTest : public FunctionsTest
5 public:
6 StatisticalFunctionsTest();
8 void testStatisticalFormulasFODS();
10 CPPUNIT_TEST_SUITE(StatisticalFunctionsTest);
11 CPPUNIT_TEST(testStatisticalFormulasFODS);
12 CPPUNIT_TEST_SUITE_END();
16 void StatisticalFunctionsTest::testStatisticalFormulasFODS()
18 OUString aDirectoryURL = m_directories.getURLFromSrc(u"/sc/qa/unit/data/functions/statistical/fods/");
19 recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
20 "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
21 FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
24 StatisticalFunctionsTest::StatisticalFunctionsTest():
25 FunctionsTest()
29 CPPUNIT_TEST_SUITE_REGISTRATION(StatisticalFunctionsTest);
31 CPPUNIT_PLUGIN_IMPLEMENT();
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */