incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1387336 - in /incubator/flex/sdk/branches/develop/mustella/tests/containers/form: SWFs/ styles/ styles/baselines/
Date Tue, 18 Sep 2012 20:00:13 GMT
Author: aharui
Date: Tue Sep 18 20:00:13 2012
New Revision: 1387336

URL: http://svn.apache.org/viewvc?rev=1387336&view=rev
Log:
Fix bad form tests.

Added:
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile
  (with props)
Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/fontFamily_spark.png
    incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/labelWidth_spark.png

Added: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile?rev=1387336&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile
(added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile
Tue Sep 18 20:00:13 2012
@@ -0,0 +1 @@
+-theme+=${sdk.dir}/frameworks/projects/spark/MXFTEText.css
\ No newline at end of file

Propchange: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.compile
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.mxml?rev=1387336&r1=1387335&r2=1387336&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/form/SWFs/Form_Basic_spark.mxml
Tue Sep 18 20:00:13 2012
@@ -28,48 +28,41 @@
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
 			fontFamily: EmbeddedArial;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
 			fontWeight: bold;
 			fontFamily: EmbeddedArial;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
 			fontStyle: italic;
 			fontFamily: EmbeddedArial;
-			embedAsCFF: false;
-		}
-
-		@font-face {
-			src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
-			fontStyle: italic;			
-			fontFamily: EmbeddedArial;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
 			fontFamily: EmbeddedVerdana;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
 			fontWeight: bold;
 			fontFamily: EmbeddedVerdana;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 		@font-face {
 			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
 			fontStyle: italic;
 			fontFamily: EmbeddedVerdana;
-			embedAsCFF: false;
+			embedAsCFF: true;
 		}
 
 	Form{

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles.mxml?rev=1387336&r1=1387335&r2=1387336&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles.mxml
Tue Sep 18 20:00:13 2012
@@ -111,8 +111,8 @@
 		</TestCase>
 		<TestCase testID="Form_styles_indicatorGap2" keywords="[indicatorGap, Form]">
 			<setup>
-				<ResetComponent target="myCustomForm" className="CustomForm" waitEvent="updateComplete"
waitTarget="myCustomForm"/>
-				<SetStyle target="myCustomForm.myForm" styleName="borderStyle" value="solid"  waitEvent="updateComplete"
/>
+				<ResetComponent target="myCustomForm" className="CustomForm" />
+				<SetStyle target="myCustomForm.myForm" styleName="borderStyle" value="solid" waitEvent="updateComplete"
waitTarget="myCustomForm"/>
  			</setup>
 			<body>
  				<AssertStyleValue target="myCustomForm.myForm" styleName="indicatorGap" value="14"
/>
@@ -285,8 +285,8 @@
 		</TestCase>
 		<TestCase testID="Form_styles_labelWidth" keywords="[labelWidth , Form]">
 			<setup>
-				<ResetComponent target="myCustomForm" className="CustomForm" waitEvent="updateComplete"
waitTarget="myCustomForm"/>
-   				<SetProperty target="myCustomForm.myForm" propertyName="label" value="Form Style
Testing" waitEvent="updateComplete" />
+				<ResetComponent target="myCustomForm" className="CustomForm" />
+   				<SetProperty target="myCustomForm.myForm" propertyName="label" value="Form Style
Testing" waitEvent="updateComplete" waitTarget="myCustomForm" />
 			</setup>
 			<body>
  				<AssertStyleValue target="myCustomForm.myForm" styleName="labelWidth" valueExpression="value=null"
 />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles_spark.mxml?rev=1387336&r1=1387335&r2=1387336&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles_spark.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/Form_Styles_spark.mxml
Tue Sep 18 20:00:13 2012
@@ -187,11 +187,11 @@
 		<TestCase testID="Form_styles_fontfamily_spark" keywords="[fontFamily, Form]">
 			<setup>
 				<ResetComponent target="myCustomForm" className="CustomForm_spark" waitEvent="updateComplete"
waitTarget="myCustomForm"/>
-   				<SetStyle target="myCustomForm.myForm" styleName="fontFamily"  value="EmbeddedGeorgia"
  />
+   				<SetStyle target="myCustomForm.myForm" styleName="fontFamily"  value="EmbeddedArial"
  />
    				<SetStyle target="myCustomForm.myForm" styleName="fontSize" value="30" waitTarget="myCustomForm"
waitEvent="updateComplete"/>
 			</setup>
 			<body>
- 				<AssertStyleValue target="myCustomForm.myForm" styleName="fontFamily" value="EmbeddedGeorgia"
 />
+ 				<AssertStyleValue target="myCustomForm.myForm" styleName="fontFamily" value="EmbeddedArial"
 />
  				<WaitForEffectsToEnd />
  				<CompareBitmap target="myCustomForm.myForm" url="../styles/baselines/fontFamily_spark.png"
timeout="5000" />
  			</body>
@@ -285,8 +285,8 @@
 		</TestCase>
 		<TestCase testID="Form_styles_labelWidth_spark" keywords="[labelWidth , Form]">
 			<setup>
-				<ResetComponent target="myCustomForm" className="CustomForm_spark" waitEvent="updateComplete"
waitTarget="myCustomForm"/>
-   				<SetProperty target="myCustomForm.myForm" propertyName="label" value="Form Style
Testing" waitEvent="updateComplete"/>
+				<ResetComponent target="myCustomForm" className="CustomForm_spark" />
+   				<SetProperty target="myCustomForm.myForm" propertyName="label" value="Form Style
Testing" waitEvent="updateComplete" waitTarget="myCustomForm"/>
 			</setup>
 			<body>
  				<AssertStyleValue target="myCustomForm.myForm" styleName="labelWidth" valueExpression="value=null"
 />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/fontFamily_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/fontFamily_spark.png?rev=1387336&r1=1387335&r2=1387336&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/labelWidth_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/containers/form/styles/baselines/labelWidth_spark.png?rev=1387336&r1=1387335&r2=1387336&view=diff
==============================================================================
Binary files - no diff available.



Mime
View raw message