summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/logger.cxx46
1 files changed, 42 insertions, 4 deletions
diff --git a/vcl/source/uitest/logger.cxx b/vcl/source/uitest/logger.cxx
index 2b3d11691dc5..ab632fb35594 100644
--- a/vcl/source/uitest/logger.cxx
+++ b/vcl/source/uitest/logger.cxx
@@ -231,8 +231,7 @@ void UITestLogger::logKeyInput(VclPtr<vcl::Window> const & xUIElement, const Key
aContent = "Type on math " + aKeyCode ;
}
else{
- aContent= pUIObject->get_type() + " Action:TYPE Id:" +
- rID + " Parent:"+ aParentID +" " + aKeyCode;
+ aContent = "Type on '" + rID + "' " + aKeyCode + " from " + aParentID ;
}
maStream.WriteLine(OUStringToOString(aContent, RTL_TEXTENCODING_UTF8));
}
@@ -301,14 +300,29 @@ void UITestLogger::logEvent(const EventDescription& rDescription)
aLogLine = "Select " + aParameterString;
}
else if(rDescription.aID=="writer_edit"){
-
if(rDescription.aAction=="GOTO"){
aLogLine = "GOTO page number " + GetValueInMapWithIndex(rDescription.aParameters,0);
}
else if(rDescription.aAction=="SELECT"){
OUString to = GetValueInMapWithIndex(rDescription.aParameters,0);
OUString from = GetValueInMapWithIndex(rDescription.aParameters,1);
- aLogLine = "Select from Pos " + from + " to Pos" + to ;
+ aLogLine = "Select from Pos " + from + " to Pos " + to ;
+ }
+ else if(rDescription.aAction=="CREATE_TABLE"){
+ OUString size = GetValueInMapWithIndex(rDescription.aParameters,0);
+ aLogLine = "Create Table with " + size; ;
+ }
+ else if(rDescription.aAction=="COPY"){
+ aLogLine = "Copy the Selected Text";
+ }
+ else if(rDescription.aAction=="CUT"){
+ aLogLine = "Cut the Selected Text";
+ }
+ else if(rDescription.aAction=="PASTE"){
+ aLogLine = "Paste in the Current Cursor Location";
+ }
+ else if(rDescription.aAction=="BREAK_PAGE"){
+ aLogLine = "Insert Break Page";
}
}
else if(rDescription.aID=="grid_window"){
@@ -328,6 +342,30 @@ void UITestLogger::logEvent(const EventDescription& rDescription)
GetValueInMapWithIndex(rDescription.aParameters,2) +
" and Row " + GetValueInMapWithIndex(rDescription.aParameters,1);
}
+ else if(rDescription.aAction=="DELETE_CONTENT"){
+ aLogLine = "Remove Content from This " + aParameterString;
+ }
+ else if(rDescription.aAction=="DELETE_CELLS"){
+ aLogLine = "Delete The Cells in" + aParameterString;
+ }
+ else if(rDescription.aAction=="INSERT_CELLS"){
+ aLogLine = "Insert Cell around the " + aParameterString;
+ }
+ else if(rDescription.aAction=="CUT"){
+ aLogLine = "CUT the selected " + aParameterString;
+ }
+ else if(rDescription.aAction=="COPY"){
+ aLogLine = "COPY the selected " + aParameterString;
+ }
+ else if(rDescription.aAction=="PASTE"){
+ aLogLine = "Paste in the " + aParameterString;
+ }
+ else if(rDescription.aAction=="MERGE_CELLS"){
+ aLogLine = "Merge " + aParameterString;
+ }
+ else if(rDescription.aAction=="UNMERGE_CELL"){
+ aLogLine = "Delete the merged " + aParameterString;
+ }
}
else if(rDescription.aParent=="element_selector"){
aLogLine ="Select element no " + rDescription.aID +