summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAhmed ElShreif <aelshreif7@gmail.com>2019-07-18 12:25:05 -0500
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2019-08-19 22:56:38 +0800
commitbf94b044a11740323853933f0aedf55ceb143ee1 (patch)
tree09917d3211c446feeb0d76de0e7975c9ec197a96 /vcl
parent494bd583f5ac56dc60130f6fcde780ec27bc921e (diff)
uitest: solve some bugs in the ui logger
Change-Id: I39836423fad8cb361a8f007f648108618906be8a
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/logger.cxx4
-rw-r--r--vcl/source/uitest/uiobject.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx
index bd2b2185ef01..2b3d11691dc5 100644
--- a/vcl/source/uitest/logger.cxx
+++ b/vcl/source/uitest/logger.cxx
@@ -292,7 +292,7 @@ void UITestLogger::logEvent(const EventDescription& rDescription)
OUString aLogLine ;
//first check on general commands
if(rDescription.aAction=="SET"){
- aLogLine = "Set Zoom to be " + GetValueInMapWithIndex(rDescription.aParameters,0);
+ aLogLine = "Set Zoom to " + GetValueInMapWithIndex(rDescription.aParameters,0);
}
else if(rDescription.aAction=="SIDEBAR"){
aLogLine = "From SIDEBAR Choose " + aParameterString;
@@ -308,7 +308,7 @@ void UITestLogger::logEvent(const EventDescription& rDescription)
else if(rDescription.aAction=="SELECT"){
OUString to = GetValueInMapWithIndex(rDescription.aParameters,0);
OUString from = GetValueInMapWithIndex(rDescription.aParameters,1);
- aLogLine = "Select from Pos " + from + " to " + to ;
+ aLogLine = "Select from Pos " + from + " to Pos" + to ;
}
}
else if(rDescription.aID=="grid_window"){
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index d333dd01b256..0c331aa96bba 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -1091,7 +1091,7 @@ OUString ComboBoxUIObject::get_action(VclEventId nEvent) const
if (nEvent == VclEventId::ComboboxSelect)
{
sal_Int32 nPos = mxComboBox->GetSelectedEntryPos();
- return "select in '" + mxComboBox->get_id() +
+ return "Select in '" + mxComboBox->get_id() +
"' ComboBox item number " + OUString::number(nPos) +
" from " + get_top_parent(mxComboBox)->get_id();
}