summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-01-07 13:46:43 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-01-07 15:08:33 +0100
commit5055134598ea29e687ce86c3252bedded24f8c3a (patch)
tree040443861c47a4231aadc01fa4479c5d69ea5675 /svtools
parent0b8713ea0c0290ed2a4d711f44bf9a19b214bb62 (diff)
uitest: support selecting and deselecting of tree list entries
Change-Id: I686b913c31a7851607966347cccdf718628a8568 Reviewed-on: https://gerrit.libreoffice.org/47528 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uitest/uiobject.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/svtools/source/uitest/uiobject.cxx b/svtools/source/uitest/uiobject.cxx
index b8fb2fc5fdc7..327f107f5f66 100644
--- a/svtools/source/uitest/uiobject.cxx
+++ b/svtools/source/uitest/uiobject.cxx
@@ -117,6 +117,14 @@ void TreeListEntryUIObject::execute(const OUString& rAction, const StringMap& /*
{
mxTreeList->Expand(mpEntry);
}
+ else if (rAction == "SELECT")
+ {
+ mxTreeList->Select(mpEntry);
+ }
+ else if (rAction == "DESELECT")
+ {
+ mxTreeList->Select(mpEntry, false);
+ }
else if (rAction == "CLICK")
{
if (!isCheckBoxList(mxTreeList))