summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-10-12 08:31:48 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-29 22:09:38 +0100
commit410515366c466c1f8b0a81d47f8263d278af3a18 (patch)
treec5697909b4e5000450c6518021dd30a116c410aa /include/test
parent80003831041fcd718d2dddc9b6409ff50b48facf (diff)
tdf#45904 Move Java _XSpreadsheet tests to C++
Change-Id: Idb398c87c89aa9b5613b9952bffde5929c1bc76b Reviewed-on: https://gerrit.libreoffice.org/43398 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/sheet/xspreadsheet.hxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/test/sheet/xspreadsheet.hxx b/include/test/sheet/xspreadsheet.hxx
new file mode 100644
index 000000000000..300d3670e1b5
--- /dev/null
+++ b/include/test/sheet/xspreadsheet.hxx
@@ -0,0 +1,38 @@
+/* -*- 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_XSPREADSHEET_HXX
+#define INCLUDED_TEST_SHEET_XSPREADSHEET_HXX
+
+#include <test/testdllapi.hxx>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+
+using namespace css;
+using namespace css::uno;
+
+namespace apitest {
+
+class OOO_DLLPUBLIC_TEST XSpreadsheet
+{
+public:
+ virtual uno::Reference< uno::XInterface > init() = 0;
+
+ void testCreateCursor();
+ void testCreateCursorByRange();
+
+protected:
+ ~XSpreadsheet(){}
+};
+
+}
+
+#endif // INCLUDED_TEST_SHEET_XSPREADSHEET_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */