diff options
author | Yifan J <yfjiang@novell.com> | 2010-12-24 15:33:22 +0800 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-12-29 15:11:53 +0100 |
commit | f072a3a5d660d223bbe61df246e8a47bcaac2caa (patch) | |
tree | 70694ec3c553b26c99b303cdc36caa9976fcc2d3 /testautomation/graphics/optional/includes/global | |
parent | 73d07925d45819cf1d51439cde548475f21135aa (diff) |
more stable export graphic test.
influenced cases:
/testautomation/graphics/optional/d_export_graphic_a.bas
/testautomation/graphics/optional/d_export_graphic_b.bas
1. do not verify exported SVG xml content, just verify
the exported file is existed. Because SVG will be rendered
by Draw directly instead of ASCII import mode (which was
used by the old script to verify the content).
2. replace an inexisted testing picture to an
existed one
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
Diffstat (limited to 'testautomation/graphics/optional/includes/global')
-rw-r--r-- | testautomation/graphics/optional/includes/global/export_graphic_2.inc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/testautomation/graphics/optional/includes/global/export_graphic_2.inc b/testautomation/graphics/optional/includes/global/export_graphic_2.inc index 5e0a2f3ec811..be5ed49ca423 100644 --- a/testautomation/graphics/optional/includes/global/export_graphic_2.inc +++ b/testautomation/graphics/optional/includes/global/export_graphic_2.inc @@ -613,38 +613,6 @@ testcase tSVG '------------------------\ if ( dir(OutputGrafikTBO+sExt) <> "") then Printlog "Ok :-) Saved as: '" & OutputGrafikTBO+sExt & "'" - '------------------------\ - if (iSprache <> 82) then - hCloseDocument () - sleep 5 - sTextFilter = "Text" - - hFileOpenWithFilter (OutputGrafikTBO+sExt, sTextFiltername, FALSE) - printlog "if dialog 'AsciiFilterOptionen' comes up, say OK" - Kontext "AsciiFilterOptionen" - '-------------------------------\ - If AsciiFilterOptionen.Exists(3) then - AsciiFilterOptionen.OK - else - warnlog "No ASCII filter Options Dialog?" - endif - '-------------------------------/ - sTemp = gApplication - gApplication = "WRITER" - sleep 5 ' wait for document to be loaded - bTemp = hFindeImDokument ("<!DOCTYPE svg PUBLIC " & chr(34)& "-//W3C//DTD SVG 1.1//EN" & chr(34)&" " & chr(34)&"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" & chr(34)&">",true) - '-------------------------------\ - if (bTemp = TRUE) then - Printlog "OK" - else - warnlog "DOCTYPE not found in svg file :-(" - endif - '-------------------------------/ - gApplication = sTemp - else - qaerrorlog "disabled for 82: #111017#" - endif - '--------------------------/ else warnlog "File didn't get saved :-(" endif |