summaryrefslogtreecommitdiff
path: root/testautomation/spreadsheet
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-10-20 11:53:24 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-10-20 11:53:24 +0200
commitc3881e55ddf930317ef1c21f7cd70c1cfcd0a95f (patch)
tree31e38b70df13b7608345a829897a21d77b0cd8d0 /testautomation/spreadsheet
parenta3598dacce14f8e6183f0b61b06b326a313fcf64 (diff)
automationdev300m87: #i112208 - hOpenFileLocally should alwas be used together with hFileDelete
Diffstat (limited to 'testautomation/spreadsheet')
-rw-r--r--testautomation/spreadsheet/required/includes/c_upd_formatmenu2.inc19
-rw-r--r--testautomation/spreadsheet/required/includes/c_upd_formatmenu3.inc13
-rw-r--r--testautomation/spreadsheet/required/includes/c_upd_toolsmenu.inc3
3 files changed, 10 insertions, 25 deletions
diff --git a/testautomation/spreadsheet/required/includes/c_upd_formatmenu2.inc b/testautomation/spreadsheet/required/includes/c_upd_formatmenu2.inc
index d405237fe4a7..cc448d3c3830 100644
--- a/testautomation/spreadsheet/required/includes/c_upd_formatmenu2.inc
+++ b/testautomation/spreadsheet/required/includes/c_upd_formatmenu2.inc
@@ -29,23 +29,6 @@
'*
'* short description : Resource Test - Format Menu Part II
'*
-'************************************************************************
-'*
-' #1 tFormatPrintRanges
-' #1 tFormatCharacter
-' #1 tFormatParagraph
-' #1 tFormatChangeCase
-' #1 tFormatStyles
-' #1 tFormatAutoFormat
-' #1 tFormatConditionalFormatting
-' #1 tFormatAnchor
-' #1 tFormatAlignment
-' #1 tFormatArrange
-' #1 tFormatFlip
-' #1 tFormatGroup
-' #0 tFormatControl
-
-'*
'\***********************************************************************
sub c_upd_formatmenu2
@@ -664,6 +647,7 @@ testcase tFormatAlignment
'/// Close document
printlog " Close document"
Call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -767,6 +751,7 @@ testcase tFormatGroup
'/// Close document
printlog " Close document"
Call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
diff --git a/testautomation/spreadsheet/required/includes/c_upd_formatmenu3.inc b/testautomation/spreadsheet/required/includes/c_upd_formatmenu3.inc
index 6b305f53a0a3..0dd9d3200937 100644
--- a/testautomation/spreadsheet/required/includes/c_upd_formatmenu3.inc
+++ b/testautomation/spreadsheet/required/includes/c_upd_formatmenu3.inc
@@ -29,14 +29,6 @@
'*
'* short description : Resource Test - Format Menu Part III
'*
-'************************************************************************
-'*
-' #1 tFormatGraphicPositionAndSize
-' #1 tFormatGraphicLine
-' #1 tFormatGraphicArea
-' #1 tFormatGraphicText
-' #1 tFormatGraphicPoints
-'*
'\***********************************************************************
sub c_upd_formatmenu3
@@ -129,6 +121,7 @@ testcase tFormatGraphicPositionAndSize
'/// Close document
printlog " Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -369,6 +362,7 @@ testcase tFormatGraphicLine
'/// Close document
printlog " Close document"
Call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -911,6 +905,7 @@ testcase tFormatGraphicArea
'/// Close document
printlog " Close document"
Call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -1027,6 +1022,7 @@ testcase tFormatGraphicText
'/// Close document
printlog " Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -1047,6 +1043,7 @@ testcase tFormatGraphicPoints
'/// Close document
printlog " Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
diff --git a/testautomation/spreadsheet/required/includes/c_upd_toolsmenu.inc b/testautomation/spreadsheet/required/includes/c_upd_toolsmenu.inc
index b13e5f9f43af..74598099b43d 100644
--- a/testautomation/spreadsheet/required/includes/c_upd_toolsmenu.inc
+++ b/testautomation/spreadsheet/required/includes/c_upd_toolsmenu.inc
@@ -188,6 +188,7 @@ testcase tToolsSpellcheck
'/// Close starting document
printlog " Close starting document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -314,6 +315,7 @@ testcase tToolsHangulHanjaConversion
'/// Close document
printlog " Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase
@@ -402,6 +404,7 @@ testcase tToolsLanguageThesaurus
Thesaurus.Cancel
printlog " Close document"
call hCloseDocument
+ hFileDelete( gLastWorkFile )
endcase