From 80003831041fcd718d2dddc9b6409ff50b48facf Mon Sep 17 00:00:00 2001 From: Jens Carl Date: Thu, 14 Sep 2017 07:10:41 +0000 Subject: tdf#45904 Move _XSubTotalCalculatable Java tests to C++ Change-Id: I18199a9cc79e6a109c8de0026b37a67f85cf778a Reviewed-on: https://gerrit.libreoffice.org/42265 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- include/test/sheet/xsubtotalcalculatable.hxx | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 include/test/sheet/xsubtotalcalculatable.hxx (limited to 'include/test') diff --git a/include/test/sheet/xsubtotalcalculatable.hxx b/include/test/sheet/xsubtotalcalculatable.hxx new file mode 100644 index 000000000000..d083a85fc395 --- /dev/null +++ b/include/test/sheet/xsubtotalcalculatable.hxx @@ -0,0 +1,39 @@ +/* -*- 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_XSUBTOTALCALCULATABLE_HXX +#define INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX + +#include +#include +#include +#include + +using namespace css; +using namespace css::uno; + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XSubTotalCalculatable +{ +public: + virtual uno::Reference< css::uno::XInterface > init() = 0; + virtual uno::Reference< css::uno::XInterface > getXSpreadsheet() = 0; + + void testCreateSubTotalDescriptor(); + void testApplyRemoveSubTotals(); + +protected: + ~XSubTotalCalculatable() {} +}; + +} +#endif // INCLUDED_TEST_SHEET_XSUBTOTALCALCULATABLE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit