diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-09-14 07:10:41 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-29 22:08:44 +0100 |
commit | 80003831041fcd718d2dddc9b6409ff50b48facf (patch) | |
tree | 091dd77e9306f6cb3d8326b1019c8464fae5d335 /include/test | |
parent | a060947e8c1538cedae5dee6b2a4e7a15d434d66 (diff) |
tdf#45904 Move _XSubTotalCalculatable Java tests to C++
Change-Id: I18199a9cc79e6a109c8de0026b37a67f85cf778a
Reviewed-on: https://gerrit.libreoffice.org/42265
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/xsubtotalcalculatable.hxx | 39 |
1 files changed, 39 insertions, 0 deletions
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 <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/sheet/XSpreadsheet.hpp> +#include <com/sun/star/uno/XInterface.hpp> +#include <test/testdllapi.hxx> + +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: */ |