summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-11-03 07:15:10 +0000
committerJens Carl <j.carl43@gmx.de>2017-11-03 19:08:42 +0100
commit6f29841acb201b118bbf5815163fb50d83929e9f (patch)
tree3365dec960bdab93d186b559d997915a67af4304 /include/test
parenta5c4b406a8ff80aaa2df96ce455d3b080b77a9a4 (diff)
tdf#45904 Move Java _XSheetCellRangeContainer test to C++
Change-Id: I463fc54aa4139fbc43b6124765bf18ad8c0e6ddc Reviewed-on: https://gerrit.libreoffice.org/44247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/sheet/xsheetcellrangecontainer.hxx40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/test/sheet/xsheetcellrangecontainer.hxx b/include/test/sheet/xsheetcellrangecontainer.hxx
new file mode 100644
index 000000000000..f0b0c7355420
--- /dev/null
+++ b/include/test/sheet/xsheetcellrangecontainer.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX
+#define INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX
+
+#include <com/sun/star/table/CellRangeAddress.hpp>
+
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+
+#include <test/testdllapi.hxx>
+
+namespace apitest {
+
+class OOO_DLLPUBLIC_TEST XSheetCellRangeContainer
+{
+public:
+ virtual css::uno::Reference< css::uno::XInterface > init() =0;
+
+ void testAddRemoveRangeAddress();
+ void testAddRemoveRangeAddresses();
+
+protected:
+ ~XSheetCellRangeContainer() {}
+ css::uno::Sequence< com::sun::star::table::CellRangeAddress > createCellRangeAddresses();
+};
+
+}
+
+#endif // INCLUDED_TEST_SHEET_XSHEETCELLRANGECONTAINER_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */