incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370323 [9/12] - in /incubator/flex/trunk/mustella/tests/itemRenderers: ./ Assets/ Halo/ Halo/DataGrid/ Halo/DataGrid/SWFs/ Halo/DataGrid/SWFs/assets/ Halo/DataGrid/SWFs/comps/ Halo/DataGrid/SWFs/view/ Halo/DataGrid/baselines/ Halo/DataGri...
Date Tue, 07 Aug 2012 15:39:45 GMT
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/ItemRenderer_BugTests_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/ItemRenderer_BugTests_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/ItemRenderer_BugTests_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/ItemRenderer_BugTests_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,147 @@
+<?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.
+
+-->
+<UnitTester testDir="itemRenderers/Spark/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ItemRenderers_Bugs_spark.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+        import data.ListDataAS;
+        import mx.controls.List;
+        import mx.controls.DataGrid;
+
+        public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+		private function createDataDG(dgTarget:DataGrid): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+
+	</mx:Metadata>
+
+	<testCases>
+    <!-- bug #127773-->
+        <TestCase testID="itemRenderers_bug127773" description="Bug #127773" keywords="[Bugs, 127773, itemRenderers]">
+			<body>
+			    <DispatchMouseEvent type="mouseDown" target="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)" localX="5" localY="4"
+			        waitEvent="mouseDown" waitTarget="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)"  />
+			    <DispatchMouseEvent type="mouseUp" target="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)"
+					localX="5" localY="4" />
+				<DispatchKeyEvent char="Brad Pitt" waitEvent="change" waitTarget="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)" />
+			    <DispatchMouseClickEvent target="dataGrid127773.mx_internal:rendererArray.2.0" waitEvent="itemEditEnd" waitTarget="dataGrid127773" />
+			    <AssertPropertyValue target="dataGrid127773.dataProvider.0" propertyName="name" value="Brad Pitt" />
+			    <DispatchMouseClickEvent target="" localX="4" localY="5" />
+			</body>
+		</TestCase>
+    <!-- bug #148390-->
+        <TestCase testID="itemRenderers_bug148390" description="Bug #148390" keywords="[Bugs, 148390, itemRenderers]">
+			<setup>
+			    <ResetComponent target="dataGrid127773" className="comps.CustomGrid" waitTarget="dataGrid127773" waitEvent="updateComplete" />
+			    <SetProperty target="dataGrid127773" propertyName="rowHeight" value="100" />
+			    <SetProperty target="dataGrid127773" propertyName="dataProvider" valueExpression="value=application.dp127773" waitTarget="dataGrid127773"
+			         waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid127773.mx_internal:rendererArray.1.0.rawChildren.getChildAt(2).getChildAt(3)" localX="5" localY="5" />
+			    <AssertEvent eventName="scroll" eventClass="mx.events::ScrollEvent" target="dataGrid127773.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+    <!-- bug #192034-->
+        <TestCase testID="itemRenderers_bug192034" description="bug #192034" keywords="[Bugs, 192034, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid192034.mx_internal:rendererArray.2.0" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid192034" />
+                <DispatchMouseClickEvent target="dataGrid192034.itemEditorInstance" localX="25" localY="5" waitEvent="open" waitTarget="dataGrid192034.itemEditorInstance" />
+                <WaitForEffectsToEnd />
+                <Pause timeout="500" />
+                <DispatchMouseClickEvent target="dataGrid192034.itemEditorInstance.dropdown.getChildAt(7)" localX="5" localY="5" />
+                <DispatchKeyEvent keys="[RIGHT, RIGHT]" waitEvent="change"  waitTarget="dataGrid192034.itemEditorInstance" />
+                <DispatchMouseClickEvent target="dataGrid192034.mx_internal:rendererArray.2.1" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid192034" />
+                <DispatchMouseClickEvent target="" localX="5" localY="4" waitEvent="itemEditEnd" waitTarget="dataGrid192034" />
+                <AssertPropertyValue target="dataGrid192034.dataProvider.1" propertyName="Date" valueExpression="value=application.newDate" />
+			</body>
+		</TestCase>
+    <!-- bug #148528 -->
+        <TestCase testID="itemRenderers_bug148528" description="bug #148528" keywords="[Bugs, 148528, itemRenderers]">
+			<setup>
+			    <ResetComponent target="dataGrid148528" className="comps.ListImage"  waitTarget="dataGrid148528" waitEvent="updateComplete" />
+				<RunCode code="createData(application.dataGrid148528);" waitTarget="dataGrid148528" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <!-- small delay to wait for image itemRenderers to load-->
+			    <Pause timeout="400" />
+			    <AssertEvent target="dataGrid148528.mx_internal:rendererArray.2.0" eventName="complete" eventClass="flash.events::Event" />
+				<CompareBitmap url="../baselines/bug148528.png" target="dataGrid148528.mx_internal:rendererArray.2.0" />
+			</body>
+		</TestCase>
+    <!-- bug #171112 -->
+        <TestCase testID="itemRenderers_bug171112" description="bug #171112" keywords="[Bugs, 171112, itemRenderers]">
+			<setup>
+				<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid"  waitTarget="dataGrid_basic" waitEvent="updateComplete" />
+				<RunCode code="createDataDG(application.dataGrid_basic);" waitTarget="dataGrid_basic" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			    <SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value= new ClassFactory(mx.controls.NumericStepper)"/>
+			    <SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"	 />
+			    <DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.3.3" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid_basic" />
+                <AssertPropertyValue target="dataGrid_basic.itemEditorInstance" propertyName="value" value="2" />
+			</body>
+		</TestCase>
+    <!-- bug #142954-->
+        <TestCase testID="itemRenderers_bug142954" description="Bug #142954" keywords="[Bugs, 142954, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid142954.mx_internal:rendererArray.1.1" localX="5" localY="5" waitEvent="itemFocusIn" waitTarget="dataGrid142954" />
+			    <DispatchMouseClickEvent target="dataGrid142954.itemEditorInstance.rawChildren.getChildAt(2).getChildAt(3)" localX="5" localY="5" />
+			    <AssertEvent eventName="scroll" eventClass="mx.events::ScrollEvent" target="dataGrid142954.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="dataGrid142954.itemEditorInstance.getChildAt(1)" localX="8" localY="8" waitEvent="click"
+			        waitTarget="dataGrid142954.itemEditorInstance.getChildAt(1)" />
+			    <DispatchMouseClickEvent target="" localX="8" localY="8" waitEvent="itemEditEnd" waitTarget="dataGrid142954" />
+                <AssertPropertyValue target="dataGrid142954.dataProvider.0" propertyName="cdata" value="false" />
+			</body>
+		</TestCase>
+    <!-- bug #164648-->
+        <TestCase testID="itemRenderers_bug164648" description="Bug #164648" keywords="[Bugs, 164648, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid164648.mx_internal:rendererArray.1.1" localX="5" localY="5" waitEvent="itemFocusIn" waitTarget="dataGrid164648" />
+			    <DispatchMouseClickEvent target="dataGrid164648.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dataGrid164648.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="dataGrid164648.itemEditorInstance.dropdown" localX="72" localY="54" waitEvent="close" waitTarget="dataGrid164648.itemEditorInstance" />
+                <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="dataGrid164648" />
+			    <AssertPropertyValue target="dataGrid164648.dataProvider.0" propertyName="Climate" value="Foggy" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/AlbumDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/AlbumDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/AlbumDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/AlbumDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,40 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package data {
+
+    public class AlbumDataAS  {
+    
+        public var myData:Object;
+        public function AlbumDataAS(): void
+        {
+            
+            myData = [
+						{ Artist:'Artist A', Album:'Album A', Price:11.99, Available: true },
+						{ Artist:'Artist A', Album:'Album B', Price:10.99, Available: false },
+						{ Artist:'Artist A', Album:'Album C', Price:12.99, Available: true },
+						{ Artist:'Artist A', Album:'Album D', Price:11.99, Available: true },
+						{ Artist:'Artist A', Album:'Album E', Price:11.99, Available: true },
+						{ Artist:'Artist O', Album:'Artist O', Price:5.99, Available: false },
+						{ Artist:'Artist B', Album:'Album F', Price:6.99, Available: false },
+						{ Artist:'Artist C', Album:'Album G', Price:8.99, Available: true },
+						{ Artist:'Artist D', Album:'Album H', Price:16.99, Available: false },
+                     ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/DaysDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/DaysDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/DaysDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/DaysDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package data {
+
+    public class DaysDataAS  {
+    
+        public var myData:Object;
+        public function DaysDataAS(): void
+        {
+            
+            myData =  [
+			   { Monday: 9, Tuesday: 3, Wednesday: 4, Thursday: 10 },
+			   { Monday: 7, Tuesday: 9, Wednesday: 8, Thursday: 0 },
+			   { Monday: 1, Tuesday: 10, Wednesday: 4, Thursday: 1 },
+			   { Monday: 10, Tuesday: 3, Wednesday: 1, Thursday: 4 },
+			   { Monday: 9, Tuesday: 8, Wednesday: 0, Thursday: 5 },
+			   { Monday: 5, Tuesday: 10, Wednesday: 4, Thursday: 5 },
+			   { Monday: 4, Tuesday: 3, Wednesday: 9, Thursday: 10 }
+           ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/ListDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/ListDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/ListDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/ListDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,44 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package data {
+
+    public class ListDataAS  {
+    
+        public var myData:Object;
+        public function ListDataAS(): void
+        {
+            var date1:Date = new Date(2007,4,20);
+            var date2:Date = new Date(2007,0,15);
+            var date3:Date = new Date(2007,9,24); 
+            
+            myData = [
+                        {label:"Toys", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"}, 
+                        {label:"Stuffed Animals", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"}, 
+                        {label:"Some Bears", available:true, quantity: 2, shipDate: date2, url: "../../../../../Assets/Images/greenrect.jpg", color: "Green"}, 
+                        {label:"Dinosaur", available:true, quantity: 8, shipDate: date1, url: "../../../../../Assets/Images/purplerect.jpg", color: "Fuscia"}, 
+                        {label:"Cars", available:true, quantity: 9, shipDate: date1, url: "../../../../../Assets/Images/yellowrect.jpg", color: "Yellow"}, 
+                        {label:"Games", available:false, quantity: 0, shipDate: date2, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"}, 
+                        {label:"Board Games", available:false, quantity: 0, shipDate: date3, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"}, 
+                        {label:"Dice Game", available:true, quantity: 4, shipDate: date3, url: "../../../../../Assets/Images/orangerect.jpg", color: "White"}, 
+                        {label:"Movie", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Rose"}, 
+                        {label:"Video Game",available:true, quantity: 8, shipDate: date3, url: "../../../../../Assets/Images/purplerect.jpg", color: "Periwinkle"}, 
+                      ]; 
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/NameDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/NameDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/NameDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/DataGrid/test_scripts/data/NameDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package data {
+
+    public class NameDataAS  {
+    
+        public var myData:Object;
+        public function NameDataAS(): void
+        {
+            
+            myData = [
+                        { name: "Person A",
+                            cdata: true,
+                            phone: "999-555-6589",
+                            image: "../../../Assets/products/putty.jpg"},
+                        { name: "Person B",
+                             cdata: false,
+                             phone: "999-555-3353",
+                             image: "../../../Assets/products/putty.jpg"},
+                        { name: "Person C",
+                             cdata: true,
+                             phone: "999-555-2453",
+                             image: "../../../Assets/products/putty.jpg"},
+                        { name: "Person D",
+                             cdata: false,
+                             phone: "999-555-6549",
+                             image: "../../../Assets/products/putty.jpg"}
+                     ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListButton.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListButton.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListButton.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListButton.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,44 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" dataProvider="{contacts1}"
+    width="300" height="80" >
+
+<fx:Script>
+ <![CDATA[
+
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   {label: 'Yukari'}, {label: 'Ashish'}, {label: 'Joan'}, {label: 'Ted'}, {label: 'Dan'} ];
+
+ ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:Button />
+   </fx:Component>
+</mx:itemRenderer>
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCheckbox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCheckbox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCheckbox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCheckbox.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,44 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" dataProvider="{contacts1}"
+    width="300" height="80" >
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   {label:'Dan', selected: true}, {label:'Ted'},{label:'Dan'}, {label: 'Joan'},
+	   {label:'Jean', selected: true}, {label: 'Kevin'}, {label:'George', selected: true}
+	 ];
+
+]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:CheckBox color="0xFF0000" />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCombobox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCombobox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCombobox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListCombobox.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,52 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" variableRowHeight="true"
+   dataProvider="{contacts1}" width="300" height="80" xmlns:comps="*" >
+
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	   "Yes", "No", "Maybe", "Maybe", "No"
+	];
+
+ ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:ComboBox >
+          <mx:dataProvider>
+              <fx:Array>
+                 <fx:String>Maybe</fx:String>
+                 <fx:String>No</fx:String>
+                 <fx:String>Yes</fx:String>
+              </fx:Array>
+          </mx:dataProvider>
+      </mx:ComboBox>
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListDateField.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" dataProvider="{contacts1}"
+xmlns:comps="*" width="300" height="80" >
+
+<fx:Script>
+<![CDATA[
+    import mx.collections.*;
+
+    import mx.controls.listClasses.*;
+    import mx.controls.DateField;
+
+    private var catalog:ArrayCollection;
+	    private static var date1:Date = new Date(new Date().getFullYear(),new Date().getMonth(),5);
+	    private static var date2:Date = new Date(2006,0,15);
+	    private static var date3:Date = new Date(2004,9,24);
+
+    [Bindable]
+	private var contacts1:Array = [
+	 	 		date1, date2, date3, date1
+	];
+
+  ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:DateField />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListImage.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListImage.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListImage.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListImage.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" rowHeight="50"
+    dataProvider="{contacts1}" width="300" height="80" xmlns:comps="*">
+
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+   import mx.controls.listClasses.*;
+   import mx.controls.Image;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	"../../../../../Assets/Images/purplerect.jpg",
+		"../../../../../Assets/Images/greenrect.jpg",
+		"assets/orb.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/yellowrect.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/redrect.jpg"
+	];
+
+ ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:Image />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListLabel.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListLabel.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListLabel.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListLabel.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,48 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" variableRowHeight="true"
+   dataProvider="{contacts1}" width="300" height="80" >
+
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.Label;
+
+   [Bindable]
+   private  var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+  ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:Label />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListNumericStepper.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,45 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" variableRowHeight="true"
+    dataProvider="{contacts1}" width="300" height="80" >
+
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.NumericStepper;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   5, 1, 10, 3, 4, 7
+	];
+
+   ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:NumericStepper />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListText.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListText.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListText.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListText.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,48 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" variableRowHeight="true"
+    dataProvider="{contacts1}" width="300" height="80" >
+
+<fx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.Text;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+  ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:Text />
+   </fx:Component>
+</mx:itemRenderer>
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListTextinput.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListTextinput.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListTextinput.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/HListTextinput.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,50 @@
+<?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:HorizontalList xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" variableRowHeight="true"
+    dataProvider="{contacts1}" width="300" height="80" >
+
+<fx:Script>
+<![CDATA[
+
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.TextInput;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+ ]]>
+</fx:Script>
+
+<mx:itemRenderer>
+   <fx:Component>
+      <mx:TextInput />
+   </fx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/MyComboBox.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/MyComboBox.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/MyComboBox.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/comps/MyComboBox.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package comps {
+
+import mx.controls.*;
+import mx.core.*;
+
+	public class MyComboBox extends ComboBox
+	{
+	   public function MyComboBox()
+	   {
+		  dataProvider = ['Red', 'Fuscia', 'Black', 'White', 'Yellow', 'Green', 'Periwinkle'];
+	   }
+	}
+}

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/horizontalList_Basic_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/horizontalList_Basic_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/horizontalList_Basic_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/SWFs/horizontalList_Basic_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,85 @@
+<?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" width="800" height="700"
+    xmlns:comps="comps.*" >
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+<fx:Script>
+<![CDATA[
+        private var date1:Date = new Date(2007,4,20);
+		private	var date2:Date = new Date(2007,0,15);
+        private var date3:Date = new Date(2007,9,24);
+
+        [Bindable]
+        public var myData:Array = [
+						{label:"Toys", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"},
+						{label:"Stuffed Animals", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"},
+						{label:"Some Bears", available:true, quantity: 2, shipDate: date2, url: "../../../../../Assets/Images/greenrect.jpg", color: "Green"},
+						{label:"Dinosaur", available:true, quantity: 8, shipDate: date1, url: "../../../../../Assets/Images/purplerect.jpg", color: "Fuscia"},
+						{label:"Cars", available:true, quantity: 9, shipDate: date1, url: "../../../../../Assets/Images/yellowrect.jpg", color: "Yellow"},
+						{label:"Games", available:false, quantity: 0, shipDate: date2, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"},
+						{label:"Board Games", available:false, quantity: 0, shipDate: date3, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"},
+						{label:"Dice Game", available:true, quantity: 4, shipDate: date3, url: "../../../../../Assets/Images/orangerect.jpg", color: "White"},
+						{label:"Movie", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Rose"},
+						{label:"Video Game",available:true, quantity: 8, shipDate: date3, url: "../../../../../Assets/Images/purplerect.jpg", color: "Periwinkle"},
+					  ];
+]]>
+</fx:Script>
+
+<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+	<!-- CheckBox itemRenderer -->
+	<comps:HListCheckbox  id="checkHList" />
+
+	<!-- Button itemRenderer -->
+	<comps:HListButton  id="buttonHList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!-- NumericStepper itemRenderer -->
+	<comps:HListNumericStepper  id="nsHList" />
+
+	<!-- ComboBox itemRenderer -->
+	<comps:HListCombobox  id="comboHList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!--DateField itemRenderer -->
+	<comps:HListDateField  id="dateHList" />
+
+	<!-- Label itemRenderer -->
+	<comps:HListLabel  id="labelHList" />
+
+</mx:HBox>
+
+<mx:HBox>
+	<!-- Image itemRenderer -->
+	<comps:HListText  id="textHList" />
+
+	<!-- Text itemRenderer -->
+	<comps:HListImage  id="imageHList" />
+
+</mx:HBox>
+
+    <comps:HListTextinput id="textinputHList" />
+    <mx:HorizontalList id="HListBasic" width="300" dataProvider="{myData}" />
+ </s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/buttonRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/checkBoxRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/comboBoxRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/dateFieldRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/imageRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/labelRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numStepperRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numStepperRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numStepperRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numericStepperRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numericStepperRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/numericStepperRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRendererAS.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRendererAS.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/baselines/textRendererAS.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/test_scripts/HorizontalList_itemRenderer_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/test_scripts/HorizontalList_itemRenderer_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/test_scripts/HorizontalList_itemRenderer_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/HorizontalList/test_scripts/HorizontalList_itemRenderer_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,222 @@
+<?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.
+
+-->
+<UnitTester testDir="itemRenderers/Spark/HorizontalList/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="horizontalList_Basic_spark.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import mx.controls.HorizontalList;
+        import comps.MyComboBox;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+		public static function init(o:DisplayObject):void
+		{
+
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+    <!--CheckBox renderer-->
+		 <TestCase testID="CheckBoxRenderer_VisualCheckMXML" description="Visual Check of a CheckBox CellRenderer" keywords="[HorizontalList, CheckBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="checkHList" className="comps.HListCheckbox"  waitTarget="checkHList" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <!--Pause timeout="400" /-->
+				<CompareBitmap url="../baselines/checkBoxRenderer.png" target="checkHList.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+		 <TestCase testID="CheckBoxRenderer_ASVisualCheck" description="Visual Check of a CheckBox CellRenderer set at runtime" keywords="[HorizontalList, Runtime, CheckBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="HListBasic" value="available" waitTarget="HListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.CheckBox)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/checkBoxRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--Button renderer-->
+		 <TestCase testID="ButtonRenderer_VisualCheckMXML" description="Visual Check of a Button CellRenderer" keywords="[HorizontalList,Button, itemRenderers]">
+			<setup>
+			   <ResetComponent target="buttonHList" className="comps.HListButton"  waitTarget="buttonHList"  waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <CompareBitmap url="../baselines/buttonRenderer.png" target="buttonHList.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ButtonRenderer_ASVisualCheck" description="Visual Check of a Button CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Button, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Button)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/buttonRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--NumericStepper renderer-->
+		 <TestCase testID="NumericStepperRenderer_VisualCheckMXML" description="Visual Check of a NumericStepper CellRenderer" keywords="[HorizontalList,NumericStepper, itemRenderers]">
+			<setup>
+			   <ResetComponent target="nsHList" className="comps.HListNumericStepper"  waitTarget="nsHList"  waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/numStepperRenderer.png" target="nsHList.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+		 <TestCase testID="NumericStepperRenderer_ASVisualCheck" description="Visual Check of a NumericStepper CellRenderer set at runtime" keywords="[HorizontalList, Runtime, NumericStepper, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="HListBasic" value="quantity" waitTarget="HListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.NumericStepper)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/numericStepperRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--Label renderer-->
+		 <TestCase testID="LabelRenderer_VisualCheckMXML" description="Visual Check of a Label CellRenderer" keywords="[HorizontalList,Label, itemRenderers]">
+			<setup>
+			   <ResetComponent target="labelHList" className="comps.HListLabel"  waitTarget="labelHList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/labelRenderer.png" target="labelHList.mx_internal:rendererArray.0.2" />
+			</body>
+		</TestCase>
+		 <TestCase testID="LabelRenderer_ASVisualCheck" description="Visual Check of a Label CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Label, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Label)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/labelRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--Text renderer-->
+		 <TestCase testID="TextRenderer_VisualCheckMXML" description="Visual Check of a Text CellRenderer" keywords="[HorizontalList,Text, itemRenderers]">
+			<setup>
+			   <ResetComponent target="textHList" className="comps.HListText"  waitTarget="textHList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/textRenderer.png" target="textHList.mx_internal:rendererArray.0.2" />
+			</body>
+		</TestCase>
+		 <TestCase testID="TextRenderer_ASVisualCheck" description="Visual Check of a Text CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Text, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Text)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/textRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--ComboBox renderer-->
+		 <TestCase testID="ComboBoxRenderer_VisualCheckMXML" description="Visual Check of a ComboBox CellRenderer" keywords="[HorizontalList,ComboBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="comboHList" className="comps.HListCombobox"  waitTarget="comboHList"  waitEvent="updateComplete"/>
+			</setup>
+			<body>
+				 <CompareBitmap url="../baselines/comboBoxRenderer.png" target="comboHList.mx_internal:rendererArray.0.2" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ComboBoxRenderer_ASVisualCheck" description="Visual Check of a ComboBox CellRenderer set at runtime" keywords="[HorizontalList, Runtime, ComboBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="labelField" target="HListBasic" value="color" waitTarget="HListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(MyComboBox)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/comboBoxRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+<!--DateField renderer-->
+		 <TestCase testID="DateFieldRenderer_VisualCheckMXML" description="Visual Check of a DateField CellRenderer" keywords="[HorizontalList,DateField, itemRenderers]">
+			<setup>
+			   <ResetComponent target="dateHList" className="comps.HListDateField"  waitTarget="dateHList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<CompareBitmap url="../baselines/dateFieldRenderer.png" target="dateHList.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+		 <TestCase testID="DateFieldRenderer_ASVisualCheck" description="Visual Check of a DateField CellRenderer set at runtime" keywords="[HorizontalList, Runtime, DateField, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			   <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			</setup>
+			<body>
+			    <SetProperty target="HListBasic" propertyName="columnWidth" value="50" />
+			    <SetProperty propertyName="labelField" target="HListBasic" value="shipDate" waitTarget="HListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.DateField)" waitTarget="HListBasic" waitEvent="updateComplete" />
+				<CompareBitmap url="../baselines/dateFieldRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+	<!-- Image renderer -->
+	    <TestCase testID="ImageRenderer_VisualCheckMXML" description="Visual Check of a Image CellRenderer" keywords="[HorizontalList,Image, itemRenderers]">
+			<setup>
+				<ResetComponent target="imageHList" className="comps.HListImage"  waitTarget="imageHList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <AssertEvent target="imageHList.mx_internal:rendererArray.0.3" eventName="complete" eventClass="flash.events::Event" />
+				<CompareBitmap url="../baselines/imageRenderer.png" target="imageHList.mx_internal:rendererArray.0.3" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ImageRenderer_ASVisualCheck" description="Visual Check of a Image CellRenderer set at runtime" keywords="[HorizontalList, Runtime, Image, itemRenderers]">
+			<setup>
+			   <ResetComponent target="HListBasic" className="mx.controls.HorizontalList"  waitTarget="HListBasic" waitEvent="updateComplete"/>
+			   <SetProperty target="HListBasic" propertyName="height" value="70" />
+			</setup>
+			<body>
+			    <SetProperty propertyName="labelField" target="HListBasic" value="url" waitTarget="HListBasic" waitEvent="updateComplete" />
+			    <SetProperty propertyName="itemRenderer" target="HListBasic" valueExpression="value=new ClassFactory(mx.controls.Image)" />
+                <SetProperty propertyName="dataProvider" valueExpression="value=application.myData" target="HListBasic" waitTarget="HListBasic" waitEvent="updateComplete"/>
+			    <AssertEvent target="HListBasic.mx_internal:rendererArray.0.1" eventName="complete" eventClass="flash.events::Event" />
+
+				<!--Pause timeout="2000" /-->
+				<CompareBitmap url="../baselines/imageRendererAS.png" target="HListBasic.mx_internal:rendererArray.0.1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_customTests_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_customTests_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_customTests_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_customTests_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,93 @@
+<?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" width="800" height="700"
+    xmlns:comps="comps.*" >
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+<fx:Script>
+    <![CDATA[
+
+   import mx.controls.TextInput;
+   import mx.controls.Label;
+   import mx.controls.Text;
+   import mx.events.ListEvent;
+   import mx.controls.dataGridClasses.*;
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   public var contacts1:Array = [
+	   {Photo: 5}, {Photo: 6}, {Photo: 8}, {Photo: 10}
+	];
+
+	public function doTest(event:ListEvent):void
+	{
+		event.preventDefault();
+
+		var myfocus:Object = {columnIndex:event.columnIndex, rowIndex:event.rowIndex};
+		list_basic.editedItemPosition = myfocus;
+		list_basic.createItemEditor(event.columnIndex, event.rowIndex);
+
+		if (list_basic.editedItemRenderer is IDropInListItemRenderer && list_basic.itemEditorInstance is IDropInListItemRenderer)
+	      IDropInListItemRenderer(list_basic.itemEditorInstance).listData = IDropInListItemRenderer(list_basic.editedItemRenderer).listData;
+
+	    list_basic.itemEditorInstance.data = list_basic.editedItemRenderer.data;
+
+	}
+
+	public function finishEdit(event:ListEvent) : void
+	{
+	    event.preventDefault();
+	    list_basic.destroyItemEditor();
+    }
+
+    public function changeLabel(obj:Object, col:Object):String
+	{
+	    if(obj.Available)
+	    {
+	       return "Yes";
+	    }
+	    else
+	    {
+	       return "No";
+	    }
+    }
+
+  ]]>
+</fx:Script>
+
+<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+    <mx:List id="list_basic" dataProvider="{contacts1}" labelField="Photo" />
+
+	<mx:List id="list_11080" itemRenderer="comps.MoreInfoComp" variableRowHeight="true" height="200" width="250" >
+		<mx:dataProvider>
+			<fx:Array>
+				<fx:Object label="Alabama" data="Montgomery" webPage="http://www.alabama.gov/" expanded="false"
+					moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka  " />
+				<fx:Object label="Alaska" data="Juneau" webPage="http://www.state.ak.us/" expanded="false"
+					moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka  " />
+				<fx:Object label="Arkansas" data="Little Rock" webPage="http://www.state.ar.us/" expanded="false"
+					moreInfo="dkfjh dsfhj akds hjfdh lka flkahflkajdshflkja flk fdl dsf ldshf lhahd flahflkads hflkasd hflksa hflk hfdlkjsa hfdlkja hfdlka hflka  " />
+			</fx:Array>
+		</mx:dataProvider>
+    </mx:List>
+
+</s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemEditorTests_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemEditorTests_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemEditorTests_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemEditorTests_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,44 @@
+<?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" width="800" height="700"
+    xmlns:comps="comps.*" >
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+
+<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+	<!-- CheckBox itemRenderer -->
+	<comps:EditorListCheckBox  id="checkList2" />
+
+    <!--DateField itemRenderer -->
+	<comps:EditorListDateField  id="dateList2" />
+</mx:HBox>
+
+<mx:HBox>
+	<!-- NumericStepper itemRenderer -->
+	<comps:EditorListNumericStepper  id="nsList2" />
+
+	<!-- ComboBox itemRenderer -->
+	<comps:EditorListComboBox  id="comboList2" />
+</mx:HBox>
+
+ </s:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemRendererTests_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemRendererTests_spark.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemRendererTests_spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/List_itemRendererTests_spark.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,71 @@
+<?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" width="800" height="700"
+    xmlns:comps="comps.*" creationComplete="init()">
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+<fx:Script>
+<![CDATA[
+        import flash.system.*;
+
+        private function init(): void
+        {
+            // Security.allowDomain("*");
+        }
+]]>
+</fx:Script>
+<fx:Style source="../../../../../Assets/Fonts/myStyles.css" />
+
+<mx:HBox>
+	<!-- CheckBox itemRenderer -->
+	<comps:ListCheckBox  id="checkList" />
+
+	<!-- Button itemRenderer -->
+	<comps:ListButton  id="buttonList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!-- NumericStepper itemRenderer -->
+	<comps:ListNumericStepper  id="nsList" />
+
+	<!-- ComboBox itemRenderer -->
+	<comps:ListComboBox  id="comboList" />
+</mx:HBox>
+
+<mx:HBox>
+	<!--DateField itemRenderer -->
+	<comps:ListDateField  id="dateList" />
+
+	<!-- Label itemRenderer -->
+	<comps:ListLabel  id="labelList" />
+
+</mx:HBox>
+
+<mx:HBox>
+	<!-- Image itemRenderer -->
+	<comps:ListText  id="textList" />
+
+	<!-- Text itemRenderer -->
+	<comps:ListImage  id="imageList" />
+
+</mx:HBox>
+
+ </s:Application>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListCheckBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListCheckBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListCheckBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListCheckBox.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,28 @@
+<?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:List xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    editable="true" width="300" height="150"
+    itemEditor="mx.controls.CheckBox" labelField="available"
+	editorDataField="selected" >
+    <fx:Script>
+         import mx.controls.CheckBox;
+    </fx:Script>
+
+</mx:List>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListComboBox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListComboBox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListComboBox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListComboBox.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,47 @@
+<?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:List xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+    editable="true"  width="300" height="150" labelField="color"
+    editorDataField="selectedItem" >
+     <mx:itemEditor>
+	     <fx:Component>
+			 <mx:ComboBox>
+			      <mx:dataProvider>
+			           <fx:String>Red</fx:String>
+			           <fx:String>Green</fx:String>
+			           <fx:String>Blue</fx:String>
+			           <fx:String>Black</fx:String>
+			           <fx:String>White</fx:String>
+			           <fx:String>Fuscia</fx:String>
+			           <fx:String>Rose</fx:String>
+			           <fx:String>Periwinkle</fx:String>
+			           <fx:String>Yellow</fx:String>
+			     </mx:dataProvider>
+			 </mx:ComboBox>
+		 </fx:Component>
+	 </mx:itemEditor>
+<fx:Script>
+  <![CDATA[
+      import mx.controls.ComboBox;
+
+  ]]>
+</fx:Script>
+
+</mx:List>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListDateField.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+editable="true" width="300" height="150" labelField="shipDate"
+itemEditor="mx.controls.DateField" editorDataField="selectedDate">
+
+<fx:Script>
+  <![CDATA[
+       import mx.controls.DateField;
+
+  ]]>
+</fx:Script>
+
+</mx:List>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListNumericStepper.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListNumericStepper.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListNumericStepper.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Spark/List/SWFs/comps/EditorListNumericStepper.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,31 @@
+<?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:List xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"
+	editable="true" width="300" height="150" labelField="quantity"
+	itemEditor="mx.controls.NumericStepper" editorDataField="value">
+
+<fx:Script>
+  <![CDATA[
+       import mx.controls.NumericStepper;
+
+  ]]>
+</fx:Script>
+
+</mx:List>



Mime
View raw message