diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-03-28 00:22:44 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-03-28 06:28:16 +0100 |
commit | ee503c36199d225f4c906fe43c927f911c2097c7 (patch) | |
tree | 8226476dff4725a06c1d4119b60436aa99b750ad /include/test | |
parent | eb0653ee80ad7249fde9ff752b56316fb98c4592 (diff) |
tdf#45904 Move XShapeGrouper Java tests to C++
Move XShapeGrouper Java tests to C++ for ScDrawPageObj.
Change-Id: I4a1ed4f14f759fa4214141f0d552e35ccae28035
Reviewed-on: https://gerrit.libreoffice.org/69873
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include/test')
-rw-r--r-- | include/test/drawing/xshapegrouper.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/test/drawing/xshapegrouper.hxx b/include/test/drawing/xshapegrouper.hxx new file mode 100644 index 000000000000..1770d3f76d6c --- /dev/null +++ b/include/test/drawing/xshapegrouper.hxx @@ -0,0 +1,44 @@ +/* -*- 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_DRAWING_XSHAPEGROUPER_HXX +#define INCLUDED_TEST_DRAWING_XSHAPEGROUPER_HXX + +#include <com/sun/star/uno/XInterface.hpp> + +#include <com/sun/star/uno/Reference.hxx> + +#include <test/testdllapi.hxx> + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XShapeGrouper +{ +public: + void setDrawPage(const css::uno::Reference<css::uno::XInterface>& r_xDrawPage) + { + m_xDrawPage = r_xDrawPage; + } + + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + + void testGroup(); + void testUngroup(); + +protected: + ~XShapeGrouper() {} + +private: + css::uno::Reference<css::uno::XInterface> m_xDrawPage; +}; +} // namespace apitest + +#endif // INCLUDED_TEST_DRAWING_XSHAPEGROUPER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |