summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-08-07 00:23:25 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-08 07:25:33 +0200
commit27cbca2c8dccbbb299621b49e5ffd836188202f0 (patch)
treefd6eec5f648286c0f4463b41891b759013571fc5 /include/test
parent0bd57d62d0f15eced0e99097d9f46a86f177e9a1 (diff)
tdf#45904 Move Java _XUsedAreaCursor tests to C++
Change-Id: I6a288fa333d6805540156f63040468f07967c0c6 Reviewed-on: https://gerrit.libreoffice.org/40817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/sheet/xusedareacursor.hxx36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/test/sheet/xusedareacursor.hxx b/include/test/sheet/xusedareacursor.hxx
new file mode 100644
index 000000000000..9e98aa3ae25b
--- /dev/null
+++ b/include/test/sheet/xusedareacursor.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * 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_XUSEDAREACURSOR_HXX
+#define INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX
+
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <test/testdllapi.hxx>
+
+using namespace css;
+using namespace css::uno;
+
+namespace apitest {
+
+class OOO_DLLPUBLIC_TEST XUsedAreaCursor
+{
+public:
+ virtual uno::Reference< uno::XInterface > init() = 0;
+ virtual ~XUsedAreaCursor(){}
+
+ void testGotoStartOfUsedArea();
+ void testGotoEndOfUsedArea();
+};
+
+}
+
+#endif // INCLUDED_TEST_SHEET_XUSEDAREACURSOR_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */