summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorAhmed ElShreif <aelshreif7@gmail.com>2020-08-16 10:24:20 +0200
committerAhmed ElShreif <aelshreif7@gmail.com>2020-08-24 00:26:03 +0200
commit3ceccd384cb61686a96e73821035c6ac5d0d1604 (patch)
tree6cbd6e26627ed71149f56f3338a0ad99ae0d2ef8 /vcl/source/window
parent57520e35bb250eff60bd8e3dcdd3d7ef1129e1b5 (diff)
uilogger : Add support in the Logger and DSL for the ToolBox
The support is tested on the FindBar and it works well . For example the DSL syntax in the FindBar should be like: >>"Click on item number 3 in FindBar" Change-Id: I3ec5f5afc260df4b38dc4e420fcc48d9c774c29f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100811 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/toolbox2.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 9538410d5b6d..b7e094447383 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <vcl/uitest/logger.hxx>
#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
@@ -324,6 +325,7 @@ void ToolBox::Click()
{
CallEventListeners( VclEventId::ToolboxClick );
maClickHdl.Call( this );
+ UITestLogger::getInstance().logAction( this, VclEventId::ToolboxClick);
}
void ToolBox::DoubleClick()