summaryrefslogtreecommitdiff
path: root/testautomation/graphics
diff options
context:
space:
mode:
authorWolfram Garten [wg] <Wolfram.Garten@oracle.com>2011-02-21 11:18:25 +0100
committerJan Holesovsky <kendy@suse.cz>2011-04-21 21:15:59 +0200
commitffdbdad7578126651dd157b5647ae9eddc08a574 (patch)
tree9bb56bc925983923cee71cc2f3ba3b866a38c90f /testautomation/graphics
parentc753fcef9d0f5177b2b840ceb1680ad99641c76c (diff)
i117035: [Automation] adapt automated testscripts to new export format svg
Diffstat (limited to 'testautomation/graphics')
-rw-r--r--testautomation/graphics/optional/includes/global/export_graphic.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/testautomation/graphics/optional/includes/global/export_graphic.inc b/testautomation/graphics/optional/includes/global/export_graphic.inc
index a5ab31c82cdc..ce25c3925bd7 100644
--- a/testautomation/graphics/optional/includes/global/export_graphic.inc
+++ b/testautomation/graphics/optional/includes/global/export_graphic.inc
@@ -330,6 +330,31 @@ testcase tTIFF
endcase 'tTIFF
'------------------------------------------------------------------------------
+testcase tSVG
+ 'warnlog( "#i115138# - Test document freezes draw" )
+ 'goto endsub
+
+ dim x as integer
+ dim i as integer
+
+ const sFilter = "SVG - Scalable Vector Graphics (.svg)"
+ const sExt = ".svg"
+
+ printlog "Open the document"
+ hFileOpen (ConvertPath ( gTesttoolPath + "graphics\required\input\graphicexport."+ExtensionString ))
+
+ printlog "Save it"
+ if ( hCallExport (OutputGrafikTBO , sFilter ) ) then
+ printlog( "Close file and re-insert graphics into new document" )
+ hInsertGraphicsToNewFile( OutputGrafikTBO + sExt ) ' local helper function, see bottom of this file
+ else
+ warnlog( "No export options dialog was displayed" )
+ endif
+
+ call hCloseDocument
+
+endcase 'tSVG
+'------------------------------------------------------------------------------
testcase tXPM
warnlog( "#i115138# - Test document freezes draw" )
goto endsub