svtools/source/uitest/uiobject.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 5055134598ea29e687ce86c3252bedded24f8c3a Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Jan 7 13:46:43 2018 +0100 uitest: support selecting and deselecting of tree list entries Change-Id: I686b913c31a7851607966347cccdf718628a8568 Reviewed-on: https://gerrit.libreoffice.org/47528 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> 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)) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits