summaryrefslogtreecommitdiff
path: root/testautomation/writer/optional/includes/sorting/w_sorting1.inc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-03-11 11:35:29 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-03-11 11:35:29 +0000
commit8c59580b88a33d7f0c892c9c53776716ad661fcf (patch)
treeda43a9c8f3ba7cba7afca05894acc8712f6e36ce /testautomation/writer/optional/includes/sorting/w_sorting1.inc
parente62f74cabe9558e003d3105df7a69e3841dfc9ce (diff)
parent36979f1c9e43c42e62b0ad5a32b7abb2fc425b5b (diff)
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
Conflicts: smoketestoo_native/data/Global.xml smoketestoo_native/data/OptionsDlg.xml smoketestoo_native/data/Test_10er.xml smoketestoo_native/data/content.xml smoketestoo_native/smoketest.cxx test/source/cpp/getargument.cxx test/source/cpp/officeconnection.cxx testautomation/framework/optional/includes/basic_vba-compat_security_check.inc testautomation/framework/optional/includes/filedlg_cjk_folders.inc testautomation/global/sid/all.sid testautomation/global/sid/bars.sid testautomation/global/sid/e_all.sid testautomation/global/win/bars.win testautomation/graphics/optional/includes/impress/i_slideshow2.inc testautomation/graphics/optional/includes/impress/i_slideshow3.inc testtools/source/bridgetest/bridgetest.cxx testtools/source/bridgetest/constructors.cxx testtools/source/bridgetest/makefile.mk testtools/source/bridgetest/testComponent.component
Diffstat (limited to 'testautomation/writer/optional/includes/sorting/w_sorting1.inc')
-rw-r--r--[-rwxr-xr-x]testautomation/writer/optional/includes/sorting/w_sorting1.inc39
1 files changed, 11 insertions, 28 deletions
diff --git a/testautomation/writer/optional/includes/sorting/w_sorting1.inc b/testautomation/writer/optional/includes/sorting/w_sorting1.inc
index d4cb27449cba..70fcbab3f26f 100755..100644
--- a/testautomation/writer/optional/includes/sorting/w_sorting1.inc
+++ b/testautomation/writer/optional/includes/sorting/w_sorting1.inc
@@ -28,15 +28,6 @@
'*
'* short description : Sorting functions in Writer
'*
-'************************************************************************
-'*
-' #1 tToolsSort1 ' Text in one Column and 1 Key
-' #1 tToolsSort2 ' Numbers in 1 Column and 1 Key
-' #1 tToolsSort3 ' Text in several Columns and 3 Keys
-' #1 tToolsSort4 ' Table with Header ( Text and Numbers mixed )
-' #1 tToolsSort5 ' Table without Header ( Text and Numbers mixed )
-' #1 tToolsSort6 ' Copy sorted table in another table
-'*
'\***********************************************************************
sub w_sorting
@@ -236,18 +227,16 @@ testcase tToolsSort3
PrintLog "- Tools / Sorting text in several lines"
for i=1 to 3
select case i
- case 1: Printlog " - Seperator is a tabulator"
- case 2: Printlog " - Seperator is a semicolon"
+ case 1: Printlog " - Separator is a tabulator"
+ case 2: Printlog " - Separator is a semicolon"
Trennzeichen = ";"
- case 3: Printlog " - Seperator is a '|'"
+ case 3: Printlog " - Separator is a '|'"
Trennzeichen = "|"
end select
if gApplication = "WRITER" then
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort2.odt" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort2.odt" )
else
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort2.odm" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort2.odm" )
end if
if i <> 1 then TrennzeichenSetzen ( Trennzeichen )
@@ -319,11 +308,9 @@ endcase
testcase tToolsSort4
PrintLog "- Tools / Sorting in table with header"
if gApplication = "WRITER" then
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort1.odt" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort1.odt" )
else
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort1.odm" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort1.odm" )
end if
Call wTypeKeys "<Mod1 a>", 2
@@ -444,11 +431,9 @@ endcase
testcase tToolsSort5
PrintLog "- Tools / Sorting in table without header"
if gApplication = "WRITER" then
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort1.odt" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort1.odt" )
else
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort1.odm" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort1.odm" )
end if
Call wNavigatorAuswahl (2, 2)
@@ -574,11 +559,9 @@ testcase tToolsSort6
PrintLog "- Tools / Sort a sorted table and copy in another one"
if gApplication = "WRITER" then
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort3.odt" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort3.odt" )
else
- Call hFileOpen ( gTesttoolPath + "writer\optional\input\sorting\sort3.odm" )
- Call sMakeReadOnlyDocumentEditable
+ hFileOpenLocally( gTesttoolPath + "writer\optional\input\sorting\sort3.odm" )
end if
Call wTypeKeys "<Mod1 a>", 2