diff options
author | Saurav Chirania <saurav.chir@gmail.com> | 2018-07-23 14:32:24 +0530 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-07-28 01:10:23 +0200 |
commit | f458dabcaa18d66b054d00f5d9a389c06240f0eb (patch) | |
tree | 68f5aa7858c75729f99caddc950ac585f71cb95f /offapi | |
parent | 0c350906b1d6dc27383619dd3338fe28768f1c2e (diff) |
uitest: support parameters when sending UNO commands
This patch introduces a new function to send parameters
with UNO commands in UI Tests and adds a test which
uses the function to change the color of text in writer.
Change-Id: Ic687872ab826b50360e1bd042d9668a9f6ddbf63
Reviewed-on: https://gerrit.libreoffice.org/57857
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/ui/test/XUITest.idl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/offapi/com/sun/star/ui/test/XUITest.idl b/offapi/com/sun/star/ui/test/XUITest.idl index f4926a19bd09..b8dba4f9a901 100644 --- a/offapi/com/sun/star/ui/test/XUITest.idl +++ b/offapi/com/sun/star/ui/test/XUITest.idl @@ -11,6 +11,7 @@ #define __com_sun_star_ui_test_XUITest_idl__ #include <com/sun/star/ui/test/XUIObject.idl> +#include <com/sun/star/beans/PropertyValues.idl> module com { module sun { module star { module ui { module test { @@ -18,6 +19,9 @@ interface XUITest { boolean executeCommand([in] string command); + boolean executeCommandWithParameters([in] string command, + [in] com::sun::star::beans::PropertyValues propValues); + boolean executeDialog([in] string command); XUIObject getTopFocusWindow(); |