diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-08-16 10:24:20 +0200 |
---|---|---|
committer | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-08-24 00:26:03 +0200 |
commit | 3ceccd384cb61686a96e73821035c6ac5d0d1604 (patch) | |
tree | 6cbd6e26627ed71149f56f3338a0ad99ae0d2ef8 /include | |
parent | 57520e35bb250eff60bd8e3dcdd3d7ef1129e1b5 (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 'include')
-rw-r--r-- | include/vcl/uitest/logger.hxx | 2 | ||||
-rw-r--r-- | include/vcl/uitest/uiobject.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/uitest/logger.hxx b/include/vcl/uitest/logger.hxx index a2339b8b8e39..927c9cbf38ef 100644 --- a/include/vcl/uitest/logger.hxx +++ b/include/vcl/uitest/logger.hxx @@ -44,6 +44,8 @@ public: void logAction(VclPtr<Control> const& xUIElement, VclEventId nEvent); + void logAction(vcl::Window* const& xUIWin, VclEventId nEvent); + void log(const OUString& rString); void logKeyInput(VclPtr<vcl::Window> const& xUIElement, const KeyEvent& rEvent); diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx index 50533157e19b..7d709a342eb4 100644 --- a/include/vcl/uitest/uiobject.hxx +++ b/include/vcl/uitest/uiobject.hxx @@ -499,6 +499,8 @@ public: static std::unique_ptr<UIObject> create(vcl::Window* pWindow); + virtual OUString get_action(VclEventId nEvent) const override; + private: virtual OUString get_name() const override; |