incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mba...@apache.org
Subject svn commit: r1172369 - in /incubator/ooo/trunk/main/testautomation/writer/optional/includes: formatpage/w_formatpage1.inc insertgraphic/w_insertgraphic3.inc
Date Sun, 18 Sep 2011 21:30:31 GMT
Author: mbauer
Date: Sun Sep 18 21:30:31 2011
New Revision: 1172369

URL: http://svn.apache.org/viewvc?rev=1172369&view=rev
Log:
cws mba34issues01: fix some broken test cases

Modified:
    incubator/ooo/trunk/main/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc
    incubator/ooo/trunk/main/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc

Modified: incubator/ooo/trunk/main/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc?rev=1172369&r1=1172368&r2=1172369&view=diff
==============================================================================
--- incubator/ooo/trunk/main/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc
(original)
+++ incubator/ooo/trunk/main/testautomation/writer/optional/includes/formatpage/w_formatpage1.inc
Sun Sep 18 21:30:31 2011
@@ -92,7 +92,7 @@ testcase tFormatPage_2
 
 	sTestString   =  "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQ"
 	iRepectLength =  26
-	iFormat       =  2   'A4 paper
+	iFormat       =  3   'A4 paper
 
 	PrintLog "- Test Portrait in tabpage Page"
 	'/// <b> Test Portrait in tabpage Page </b> ///
@@ -142,7 +142,7 @@ testcase tFormatPage_3
 
 	'/// Format/Page , tabpage page , check 'Landscape'
 	fFormatPageWriter("TabSeite")
-	Papierformat.Select 2 ' A4 Paper
+	Papierformat.Select 3 ' A4 Paper
 	Wait 500
 	Quer.Check
 	Wait 500
@@ -167,7 +167,7 @@ testcase tFormatPage_4
 	Dim sWidth  as String
     Dim sHeight as String
 
-	iFormat = 2   'A4 paper
+	iFormat = 3   'A4 paper
 
 	PrintLog "- Width and Height boxes must change after changing between Portrait and Landscape"
 	'/// Width and Height boxes must change after changing between Portrait and Landscape
@@ -223,7 +223,7 @@ testcase tFormatPage_5
 	Dim sLeft   as String , sRight as String   , sUp as String  , sBottom as String  ' set page
size
 	Dim sLeft1 as String  , sRight1 as String  ,  sUp1 as String  , sBottom1 as String  ' get
page size
 
-	iFormat    = 2   'A4 paper
+	iFormat    = 3   'A4 paper
 	sWidth     = "20" + gSeperator + "00" + gMeasurementUnit
 	sHeight    = "25" + gSeperator + "00" + gMeasurementUnit
 

Modified: incubator/ooo/trunk/main/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc?rev=1172369&r1=1172368&r2=1172369&view=diff
==============================================================================
--- incubator/ooo/trunk/main/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc
(original)
+++ incubator/ooo/trunk/main/testautomation/writer/optional/includes/insertgraphic/w_insertgraphic3.inc
Sun Sep 18 21:30:31 2011
@@ -903,7 +903,8 @@ testcase tInsertGraphic_29
 
    fFormatGraphic("TabUmlauf")
     Sleep 1
-    if Parallel.IsChecked      <> TRUE then Warnlog "Graphic wrapping situation is
wrong !"
+	' mba: bug in test case; "FormatWrapFirstParagraph" does *not* set wrapping to "parallel",
it only sets the "FirstParagraph" flag
+'    if Parallel.IsChecked      <> TRUE then Warnlog "Graphic wrapping situation is
wrong !"
     if ErsterAbsatz.IsChecked  <> TRUE then Warnlog "first paragraph configuration
is wrong !"
    TabUmlauf.Cancel
 
@@ -1013,7 +1014,8 @@ testcase tInsertGraphic_30
 
    fFormatGraphic("TabUmlauf")
     Sleep 1
-    if Parallel.IsChecked      <> TRUE then Warnlog "Graphic wrapping situation is
wrong !"
+	' mba: bug in test case; hMenuSelect(4) is *not* Parallel, it's "WrapThrough"
+'    if Parallel.IsChecked      <> TRUE then Warnlog "Graphic wrapping situation is
wrong !"
     if ErsterAbsatz.IsChecked  <> TRUE then Warnlog "first paragraph configuration
is wrong !"
    TabUmlauf.Cancel
 



Mime
View raw message