incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369945 - in /incubator/flex/trunk/mustella/tests/GraphicTags: ./ Bugs/ Bugs/baselines/ Properties/ Properties/baselines/ SWFs/ SWFs/assets/ SWFs/comps/ Styles/ Styles/baselines/
Date Mon, 06 Aug 2012 19:38:11 GMT
Author: pent
Date: Mon Aug  6 19:38:10 2012
New Revision: 1369945

URL: http://svn.apache.org/viewvc?rev=1369945&view=rev
Log:
Mustella submission

Added:
    incubator/flex/trunk/mustella/tests/GraphicTags/
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder2_tests.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder_tests.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_RenderPosition_test.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/GraphicTags_RenderPosition_1_1.png
  (with props)
    incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/textGraphicWithFormatting_fxg.png
  (with props)
    incubator/flex/trunk/mustella/tests/GraphicTags/Properties/
    incubator/flex/trunk/mustella/tests/GraphicTags/Properties/baselines/
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order2.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_RenderPosition.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/graphicStyles.css
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/BitmapGraphicBasic.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/EllipseBasic2.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/GraphicTest.fxg
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/RectBasic3.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextBoxBasic.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic1.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic2.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myGroup.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect2.mxml
    incubator/flex/trunk/mustella/tests/GraphicTags/Styles/
    incubator/flex/trunk/mustella/tests/GraphicTags/Styles/baselines/

Added: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder2_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder2_tests.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder2_tests.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder2_tests.mxml
Mon Aug  6 19:38:10 2012
@@ -0,0 +1,36 @@
+<UnitTester 
+    testDir="GraphicTags/Bugs/"
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
 
+    xmlns="*" 
+    testSWF="GraphicTags_Order2.mxml">
+            
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>
+                                 
+	<TestCase testID="GraphicTags_ObjectOrder2_1" keywords="[FXG, GraphicTags, Z-Order]"
description="Test" >
+            <setup>
+                <ResetComponent target="aRect" className="comps.myRect2" waitEvent="updateComplete"
/>                
+            </setup>
+            <body>  
+                <DispatchMouseClickEvent target="stage" localX="5" localY="5" waitEvent="click"
/>
+                <DispatchMouseClickEvent target="stage" localX="5" localY="5" waitEvent="click"
/>
+                <DispatchMouseClickEvent target="stage" localX="5" localY="5" waitEvent="click"
/>
+		<AssertPixelValue target="stage" x="72" y="72" value="0x0000FF" />					
+            </body>
+        </TestCase>   
+                    
+    </testCases>
+    
+</UnitTester>  

Added: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder_tests.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder_tests.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_ObjectOrder_tests.mxml
Mon Aug  6 19:38:10 2012
@@ -0,0 +1,40 @@
+<UnitTester 
+    testDir="GraphicTags/Bugs/"
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
  
+    xmlns="*" 
+    testSWF="GraphicTags_Order.mxml">
+            
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>
+                                 
+	<TestCase testID="GraphicTags_ObjectOrder_1" keywords="[FXG, GraphicTags, Z-Order]" description="Test"
>
+            <setup>
+                <ResetComponent target="topRect" className="comps.myRect" waitEvent="updateComplete"
/>                
+            </setup>
+            <body>                
+                <DispatchMouseClickEvent target="downButton" localX="5" localY="5" waitEvent="click"
waitTarget="downButton"/>
+                <AssertPixelValue target="stage" x="244" y="280" value="0xD31520" />
+                
+                <DispatchMouseClickEvent target="downButton" localX="5" localY="5" waitEvent="click"
waitTarget="downButton"/>		
+		<AssertPixelValue target="stage" x="244" y="280" value="0xBE1A2F" />
+		
+		<DispatchMouseClickEvent target="downButton" localX="5" localY="5" waitEvent="click"
waitTarget="downButton"/>		
+		<AssertPixelValue target="stage" x="244" y="280" value="0xAB203F" />					
+            </body>
+        </TestCase>   
+                    
+    </testCases>
+    
+</UnitTester>  

Added: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_RenderPosition_test.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_RenderPosition_test.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_RenderPosition_test.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/GraphicTags_RenderPosition_test.mxml
Mon Aug  6 19:38:10 2012
@@ -0,0 +1,32 @@
+<UnitTester    
+    testDir="GraphicTags/Bugs/"
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"

+    xmlns="*"
+    testSWF="GraphicTags_RenderPosition.mxml" >
+    
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>    
+    
+    <TestCase testID="GraphicTags_RenderPosition_1" keywords="[FXG, Bitmap, Graphic, Render]"
description="Test rendering location of a bitmap graphic" >
+                <setup>            
+                    <ResetComponent target="myG" className="comps.myGroup" waitEvent="updateComplete"
/>
+                </setup>
+                <body>
+                    <CompareBitmap target="myG" url="../Bugs/baselines/$testID_1.png"
/>
+                </body>
+        </TestCase> 
+    
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/GraphicTags_RenderPosition_1_1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/GraphicTags_RenderPosition_1_1.png?rev=1369945&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/GraphicTags_RenderPosition_1_1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/textGraphicWithFormatting_fxg.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/textGraphicWithFormatting_fxg.png?rev=1369945&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/GraphicTags/Bugs/baselines/textGraphicWithFormatting_fxg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order.mxml Mon Aug  6
19:38:10 2012
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:dt="http://ns.adobe.com/fxg/2008/dt"
+    xmlns:local="comps.*"
+    alpha="1"
+    width="500"
+    height="400" >
+
+    <s:layout>
+        <s:BasicLayout/>
+    </s:layout>
+    
+    
+    <fx:DesignLayer dt:userLabel="Layer 1"/>
+    
+    <s:Rect top="65.0" height="82" left="221.0" width="185" radiusX="7" radiusY="7" alpha="0.5">
+        <s:fill>
+            <mx:SolidColor color="0xf46702"/>
+        </s:fill>
+        <s:stroke>
+            <mx:SolidColorStroke color="0x000000" weight="2"/>
+        </s:stroke>
+    </s:Rect>
+
+    <s:Rect top="262" height="79" left="116" width="157">
+        <s:fill>
+            <mx:SolidColor color="0x1f45ad"/>
+        </s:fill>
+        <s:stroke>
+            <mx:SolidColorStroke color="0x666666" weight="1"/>
+        </s:stroke>
+    </s:Rect>
+   
+    <local:myRect id="topRect" />
+   
+    <s:Button id="downButton" label="down+{topRect.alpha}" mouseDown="topRect.alpha-=0.1"/>
+
+    <s:Button id="upButton" left="3.0" top="31.0" label="up+{topRect.alpha}" mouseDown="topRect.alpha+=0.1"/>
+    
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order2.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_Order2.mxml Mon Aug 
6 19:38:10 2012
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application 
+		xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+		xmlns:local="comps.*"
+		click="doStep()">
+
+    <s:layout>
+        <s:BasicLayout/>
+    </s:layout>
+
+    <fx:Script>
+    <![CDATA[
+        import spark.components.Group;
+        import mx.graphics.SolidColor;
+		import spark.primitives.Rect;
+		import spark.components.Button;
+
+		private static var step:int = 0;
+		
+		public function doStep():void
+		{
+		    ++step;
+	
+		    if (step == 1) 
+		    {
+		        var r1:Rect = new Rect();
+				r1.x = 50; 
+				r1.y = 10;
+				r1.width = 60; 
+				r1.height = 60;
+				r1.fill = new SolidColor(0x000000);
+				addElement(r1);
+				return;
+		    }
+
+		    if (step == 2) 
+		    {
+				var g:Group = new Group();
+				var r2:Rect = new Rect();
+				r2.x = 60; 
+				r2.y = 40;
+				r2.width = 60; 
+				r2.height = 60;
+				r2.fill = new SolidColor(0x00FF00);
+				g.addElement(r2);
+				addElement(g);
+		    }
+		    
+		    if (step == 3) 
+	    	{
+				var r3:Rect = new Rect();
+				r3.x = 70; 
+				r3.y = 70;
+				r3.width = 60; 
+				r3.height = 60;
+				r3.fill = new SolidColor(0x0000FF);
+				addElement(r3);
+				return;
+	    	}
+		}
+    ]]>
+    </fx:Script>
+
+    <local:myRect2 id="aRect" />
+
+</s:Application>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_RenderPosition.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_RenderPosition.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_RenderPosition.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/GraphicTags_RenderPosition.mxml Mon
Aug  6 19:38:10 2012
@@ -0,0 +1,29 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application 
+    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:local="comps.*"
+    backgroundColor="0xFFFFFF"
+    width="850"
+    height="300">
+    
+    <local:myGroup id="myG" />
+    
+</s:Application> 

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/graphicStyles.css
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/graphicStyles.css?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/graphicStyles.css (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/assets/graphicStyles.css Mon Aug
 6 19:38:10 2012
@@ -0,0 +1,18 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/BitmapGraphicBasic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/BitmapGraphicBasic.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/BitmapGraphicBasic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/BitmapGraphicBasic.mxml Mon
Aug  6 19:38:10 2012
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas
+		xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+		backgroundColor="0x0000AA"
+    	width="300" height="300" >
+
+	<s:Graphic id="graphic1">
+		<s:Rect id="rect1" width="200" height="240" >
+			<s:fill>
+				<mx:SolidColor color="0xCC3399" />
+			</s:fill>
+		</s:Rect>
+		<s:BitmapImage id="bitmapGraphic1" x="5" y="5" ioError="errLbl.text='ioError received'"
/>
+	</s:Graphic>
+
+	<mx:Label id="errLbl" visible="false" />
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/EllipseBasic2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/EllipseBasic2.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/EllipseBasic2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/EllipseBasic2.mxml Mon Aug
 6 19:38:10 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:mx="library://ns.adobe.com/flex/mx"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		contentBackgroundColor="0xEEEEEE"
+    	width="200" height="200" >
+
+	<s:Graphic id="graphic1">
+		<s:Ellipse id="ellipse1" x="10" y="10" width="60" height="60">
+			<s:fill>
+				<mx:SolidColor color="red" />
+			</s:fill>
+		</s:Ellipse>
+	</s:Graphic>
+
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/GraphicTest.fxg
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/GraphicTest.fxg?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/GraphicTest.fxg (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/GraphicTest.fxg Mon Aug  6
19:38:10 2012
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<Graphic xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns="http://ns.adobe.com/fxg/2008"
xmlns:fc="http://ns.adobe.com/thermo/2009" xmlns:ai="http://ns.adobe.com/ai/2008" version="1.0">
+	<TextGraphic color="#000000" fontFamily="Times New Roman" kerning="on" lineHeight="120%"
whiteSpaceCollapse="preserve" ai:knockout="0" d:userLabel="Text with some formatting in it">
+		<content><p><span fontFamily="Myriad Pro">Text </span><span
fontFamily="Myriad Pro" color="#ffd819">with </span><span fontFamily="Myriad Pro"
fontWeight="bold">some </span><span fontFamily="Myriad Pro" fontStyle="italic">formatting
</span><span fontFamily="Myriad Pro">in it</span></p></content>
+	</TextGraphic>
+</Graphic>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/RectBasic3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/RectBasic3.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/RectBasic3.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/RectBasic3.mxml Mon Aug  6
19:38:10 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:mx="library://ns.adobe.com/flex/mx"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		contentBackgroundColor="0xEEEEEE"
+		width="200" height="200" >
+
+	<s:Graphic id="graphic1">
+		<s:Rect id="rect1" id="rect1" x="10" y="10" width="60" height="60">
+			<s:fill>
+				<mx:SolidColor color="red" />
+			</s:fill>
+		</s:Rect>
+	</s:Graphic>
+
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextBoxBasic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextBoxBasic.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextBoxBasic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextBoxBasic.mxml Mon Aug 
6 19:38:10 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Graphic xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
+
+
+
+	<s:Label id="textBox" />
+
+</s:Graphic>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic.mxml Mon Aug
 6 19:38:10 2012
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:mx="library://ns.adobe.com/flex/mx"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		backgroundColor="0x0000AA"
+		width="250" height="200" >
+
+	<s:Graphic id="graphic1">
+		<s:Rect id="rect1" top="0" bottom="0" right="0" left="0">
+			<s:fill>
+				<mx:SolidColor color="0x99CCCC" />
+			</s:fill>
+		</s:Rect>
+		<s:RichText id="textGraphic1" width="200">
+			<s:content>This is some text inside of a RichText element of a Graphic tag.</s:content>
+		</s:RichText>
+	</s:Graphic>
+
+</mx:Canvas>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic1.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic1.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic1.mxml Mon
Aug  6 19:38:10 2012
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Graphic xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:mx="library://ns.adobe.com/flex/mx"
+		xmlns:s="library://ns.adobe.com/flex/spark">
+
+    <fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+
+        @font-face {
+            src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+            fontFamily: "ArialEmbedded";
+            fontWeight: "normal";
+            embedAsCFF: true;
+        }
+
+        s|RichText {
+            fontFamily: "ArialEmbedded";
+            fontLookup: "embeddedCFF";
+            fontAntiAliasType: "normal";
+        }
+    </fx:Style>
+    <s:RichText id="textGraphic" />
+
+</s:Graphic>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic2.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/TextGraphicBasic2.mxml Mon
Aug  6 19:38:10 2012
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Graphic xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:mx="library://ns.adobe.com/flex/mx"
+		xmlns:s="library://ns.adobe.com/flex/spark">
+
+	<s:RichText id="textGraphic" />
+
+</s:Graphic>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myGroup.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myGroup.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myGroup.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myGroup.mxml Mon Aug  6 19:38:10
2012
@@ -0,0 +1,8 @@
+<s:Group
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark" >
+
+    <s:BitmapImage id="bg1" source="@Embed('../../../../Assets/Images/orangerect.jpg')"
left="-57.0" top="50.0"/>
+
+</s:Group>

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect.mxml Mon Aug  6 19:38:10
2012
@@ -0,0 +1,21 @@
+<s:Rect 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    top="204.0" 
+    height="101" 
+    left="211.0" 
+    width="116" 
+    alpha="1">
+    
+    
+    <s:fill>
+        <mx:SolidColor color="0xe81010"/>
+    </s:fill>
+    
+    <s:stroke>
+        <mx:SolidColorStroke color="0x666666" weight="1"/>
+    </s:stroke>
+    
+</s:Rect>
+     

Added: incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect2.mxml?rev=1369945&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/GraphicTags/SWFs/comps/myRect2.mxml Mon Aug  6 19:38:10
2012
@@ -0,0 +1,14 @@
+<s:Rect 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    x="0" 
+    y="0" 
+    width="80" 
+    height="200">
+        
+    <s:fill>
+        <mx:SolidColor color="0xFF0000"/>
+    </s:fill>    
+</s:Rect>
+     



Mime
View raw message