From 7333783ee5849ca40fb8079cfc32ea40eee4bcfc Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 9 Jan 2016 03:48:52 +0100 Subject: uitest: add UNO interface for ui testing Change-Id: I0ee5d1e93808103a1541ced6fc7ea9d05a70fc89 --- offapi/UnoApi_offapi.mk | 4 ++++ offapi/com/sun/star/ui/test/XUIObject.idl | 24 ++++++++++++++++++++++++ offapi/com/sun/star/ui/test/XUITest.idl | 28 ++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 offapi/com/sun/star/ui/test/XUIObject.idl create mode 100644 offapi/com/sun/star/ui/test/XUITest.idl (limited to 'offapi') diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index abaeea50a17a..a81177ddc8b3 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -4064,6 +4064,10 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/ui/dialogs,\ XWizardController \ XWizardPage \ )) +$(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/ui/test,\ + XUIObject \ + XUITest \ +)) $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/util,\ AliasProgrammaticPair \ AtomClassRequest \ diff --git a/offapi/com/sun/star/ui/test/XUIObject.idl b/offapi/com/sun/star/ui/test/XUIObject.idl new file mode 100644 index 000000000000..b6c148202785 --- /dev/null +++ b/offapi/com/sun/star/ui/test/XUIObject.idl @@ -0,0 +1,24 @@ +/* -*- 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 __com_sun_star_ui_test_XUIObject_idl__ +#define __com_sun_star_ui_test_XUIObject_idl__ + +module com { module sun { module star { module ui { module test { + +interface XUIObject +{ + XUIObject getChild([in] string id); +}; + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/ui/test/XUITest.idl b/offapi/com/sun/star/ui/test/XUITest.idl new file mode 100644 index 000000000000..87a091202ffd --- /dev/null +++ b/offapi/com/sun/star/ui/test/XUITest.idl @@ -0,0 +1,28 @@ +/* -*- 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 __com_sun_star_ui_test_XUITest_idl__ +#define __com_sun_star_ui_test_XUITest_idl__ + +#include + +module com { module sun { module star { module ui { module test { + +interface XUITest +{ + void executeCommand([in] string command); + + XUIObject getTopFocusWindow(); +}; + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit