diff options
author | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-08-25 23:35:08 +0200 |
---|---|---|
committer | Ahmed ElShreif <aelshreif7@gmail.com> | 2020-09-01 01:24:53 +0200 |
commit | fe3d005155a8670d02ff1a8d17f1bcff74a44cab (patch) | |
tree | cce513ef383adf5087780d41df1256454aac33b7 /vcl | |
parent | 35585f85049fd20719c42d7d7433859df59a0967 (diff) |
uilogger : Add support in the Logger and DSL for Calc-Comments
For example the DSL syntax will be:
>>Open Comment
>>Close Comment
The set text is already added by default to the system
Change-Id: Ic06e00e75e202eece82fa6265e1bb4083fd8c337
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101502
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/uitest/logger.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx index 27a3a0e6b039..a1927d44b2eb 100644 --- a/vcl/source/uitest/logger.cxx +++ b/vcl/source/uitest/logger.cxx @@ -498,6 +498,18 @@ void UITestLogger::logEvent(const EventDescription& rDescription) { aLogLine = "Insert New Tab "; } + else if (rDescription.aAction == "COMMENT") + { + OUString type = GetKeyInMapWithIndex(rDescription.aParameters, 0); + if(type == "OPEN") + { + aLogLine = "Open Comment"; + } + else if(type == "CLOSE") + { + aLogLine = "Close Comment"; + } + } } else if (rDescription.aID == "impress_win_or_draw_win") { |