diff options
author | Ajay Mahato <ajjayymahato@gmail.com> | 2019-01-21 23:14:15 +0530 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-01-29 01:02:34 +0100 |
commit | ecc855aa1c86d88a99c3be06c70ed382180be688 (patch) | |
tree | d567859da94b60ff195d9b36c5d4af34b38d73fe /include | |
parent | 7cf66213a975d9c846990ed8b0c2eb0daae89aa2 (diff) |
tdf#45904 Move XSimpleText Java tests to C++
Change-Id: I6232615f15b52a1f004a13ed97fc0b8002a22269
Reviewed-on: https://gerrit.libreoffice.org/66694
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/test/text/xsimpletext.hxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/test/text/xsimpletext.hxx b/include/test/text/xsimpletext.hxx new file mode 100644 index 000000000000..fca6d24a0d6a --- /dev/null +++ b/include/test/text/xsimpletext.hxx @@ -0,0 +1,36 @@ +/* -*- 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_TEXT_XSIMPLETEXT_HXX +#define INCLUDED_TEST_TEXT_XSIMPLETEXT_HXX + +#include <test/testdllapi.hxx> + +#include <com/sun/star/text/XSimpleText.hpp> + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSimpleText +{ +public: + virtual css::uno::Reference<css::uno::XInterface> init() = 0; + + void testCreateTextCursor(); + void testCreateTextCursorByRange(); + void testInsertString(); + void testInsertControlCharacter(); + +protected: + ~XSimpleText() {} +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |