summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Buso <dev.siroibaf@gmail.com>2016-04-21 22:45:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-27 00:28:03 +0000
commite7f55f15ccd97bc92e1400bc5862171a621da3e2 (patch)
treee974d5b4cc71427b43362dc97d15de8343eb049f /include
parent72f89e0f0e2e766eb9739b6833a91139b4ae5e29 (diff)
tdf#45904 Move java XViewPane test to c++
Change-Id: I3c99fb4c611a3b45d31412731c548b59e95d7179 Reviewed-on: https://gerrit.libreoffice.org/24285 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/test/sheet/xviewpane.hxx40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/test/sheet/xviewpane.hxx b/include/test/sheet/xviewpane.hxx
new file mode 100644
index 000000000000..1ab20a189912
--- /dev/null
+++ b/include/test/sheet/xviewpane.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_XVIEWPANE_HXX
+#define INCLUDED_TEST_SHEET_XVIEWPANE_HXX
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/XInterface.hpp>
+#include <test/testdllapi.hxx>
+
+using namespace css;
+using namespace css::uno;
+
+namespace apitest {
+
+class OOO_DLLPUBLIC_TEST XViewPane
+{
+public:
+ virtual uno::Reference< uno::XInterface > init() = 0;
+
+ void testFirstVisibleColumn();
+ void testFirstVisibleRow();
+ void testVisibleRange();
+
+protected:
+ virtual ~XViewPane() {}
+
+};
+
+}
+
+#endif // INCLUDED_TEST_SHEET_XVIEWPANE_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */