summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-11-15 07:05:22 +0000
committerJens Carl <j.carl43@gmx.de>2017-11-15 18:47:21 +0100
commit9ccd22820d6b57393b59fe0f70b29dce71eade48 (patch)
tree9453a5ef96705d8ea994d3feaf5aa2d7386bce64 /sc
parentee82c5b96898bb73f5df6fdda7da1f04c3c375cc (diff)
tdf#45904 Move _XScenariosSupplier Java test to C++
Change-Id: I152f6358e505d7a480e157bd49613e0bb496e163 Reviewed-on: https://gerrit.libreoffice.org/44748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sctablesheetobj.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx
index 64decbb96675..2217b70b4cd8 100644
--- a/sc/qa/extras/sctablesheetobj.cxx
+++ b/sc/qa/extras/sctablesheetobj.cxx
@@ -10,6 +10,7 @@
#include <test/calc_unoapi_test.hxx>
#include <test/sheet/xcellseries.hxx>
#include <test/sheet/xprintareas.hxx>
+#include <test/sheet/xscenariossupplier.hxx>
#include <test/sheet/xsheetannotationssupplier.hxx>
#include <test/sheet/xsheetcellrange.hxx>
#include <test/sheet/xsheetfilterable.hxx>
@@ -32,11 +33,12 @@ using namespace css::uno;
namespace sc_apitest
{
-#define NUMBER_OF_TESTS 24
+#define NUMBER_OF_TESTS 25
class ScTableSheetObj : public CalcUnoApiTest, public apitest::XCellSeries,
public apitest::XPrintAreas,
public apitest::XReplaceable,
+ public apitest::XScenariosSupplier,
public apitest::XSearchable,
public apitest::XSheetAnnotationsSupplier,
public apitest::XSheetCellRange,
@@ -74,14 +76,17 @@ public:
CPPUNIT_TEST(testReplaceAll);
CPPUNIT_TEST(testCreateReplaceDescriptor);
- // XSheetAnnotationsSupplier
- CPPUNIT_TEST(testGetAnnotations);
+ // XScenariosSupplier
+ CPPUNIT_TEST(testGetScenarios);
// XSearchable
CPPUNIT_TEST(testFindAll);
CPPUNIT_TEST(testFindNext);
CPPUNIT_TEST(testFindFirst);
+ // XSheetAnnotationsSupplier
+ CPPUNIT_TEST(testGetAnnotations);
+
// XSheetCellRange
CPPUNIT_TEST(testGetSpreadsheet);