You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2012/08/06 22:20:14 UTC
svn commit: r1369972 [12/13] - in
/incubator/flex/trunk/mustella/tests/MarshallPlan: ./ Bugs/ Controls/
Controls/baselines/ Events/ ManagerTests/ ManagerTests/baselines/ RPC/
RSLs/ SWFs/ SWFs/assets/ SWFs/assets/assets/ SWFs/assets/bundles/
SWFs/assets...
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_Simple_Child.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_Simple_Child.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_Simple_Child.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_Simple_Child.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,58 @@
+<?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:Application height="375" width="500" xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="addMarshalEventListeners()">
+<mx:Script>
+<![CDATA[
+
+ import mx.events.SandboxMouseEvent;
+
+ private function addMarshalEventListeners(): void
+ {
+ systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_DOWN_SOMEWHERE, SandboxRootMouseEvent_handler);
+ systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.CLICK_SOMEWHERE, SandboxRootMouseEvent_handler);
+ systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, SandboxRootMouseEvent_handler, true);
+ systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_MOVE_SOMEWHERE, SandboxRootMouseEvent_handler);
+ systemManager.getSandboxRoot().addEventListener(SandboxMouseEvent.MOUSE_WHEEL_SOMEWHERE, SandboxRootMouseEvent_handler);
+
+ }
+
+ private function SandboxRootMouseEvent_handler(event:SandboxMouseEvent): void
+ {
+ subcontrol1.text = "event.type: " + event.type;
+ subcontrol1.text += ", event.altKey: " + event.altKey;
+ subcontrol1.text += ", event.buttonDown: " + event.buttonDown;
+ subcontrol1.text += ", event.ctrlKey: " + event.ctrlKey;
+ subcontrol1.text += ", event.shiftKey: " + event.shiftKey;
+ }
+
+]]>
+</mx:Script>
+
+ <mx:TextInput id="subcontrol1" width="500" />
+
+ <mx:Button label="add stylename" id="subcontrol2" />
+
+ <mx:TextArea id="subcontrol3" />
+
+ <mx:NumericStepper id="subcontrol4" />
+
+ <mx:DateField id="subcontrol5" />
+
+</mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_SparkControls_Child.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_SparkControls_Child.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_SparkControls_Child.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MP_SparkControls_Child.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,108 @@
+<?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:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009"
+ height="200" width="480" backgroundColor="0x9966FF">
+<fx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var myData:Array = [
+ { Artist:'ArtistA', Album:'AlbumA', Price:11.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumB', Price:10.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumC', Price:12.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumD', Price:11.99, Rating:'Good' },
+ { Artist:'ArtistA', Album:'AlbumE', Price:11.99, Rating:'Good' },
+ { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+ ];
+
+ [Bindable]
+ private var quantityInfo:ArrayCollection = new ArrayCollection(myData);
+
+
+ ]]>
+</fx:Script>
+
+<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: myArial;
+ embedAsCFF: true;
+ }
+
+
+ @font-face{
+ src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Bold.ttf");
+ fontWeight: bold;
+ fontFamily: myArial;
+ embedAsCFF: true;
+ }
+
+ @font-face{
+ src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Italic.ttf");
+ fontStyle: italic;
+ fontFamily: myArial;
+ embedAsCFF: true;
+
+ }
+
+ @font-face{
+ src: url("../../../../Assets/Fonts/PT_Serif/PT_Serif-Web-Regular.ttf");
+ fontFamily: myArial2;
+ embedAsCFF: false;
+ }
+
+
+ s|Application {
+ fontAntiAliasType: "normal";
+ fontFamily: myArial;
+ fontSize: 12;
+ fontLookup: "embeddedCFF";
+ }
+
+ mx|ToolTip {
+ fontAntiAliasType: "normal";
+ fontFamily: myArial2;
+ fontSize: 12;
+ }
+
+</fx:Style>
+
+<fx:Declarations>
+ <s:Fade duration="1000" id="myFade" />
+</fx:Declarations>
+
+<s:DropDownList dataProvider="{quantityInfo}" id="comboBox1" labelField="Price" x="20" bottom="20" toolTip="ComboBox"/>
+<s:Group id="group1" width="250" height="80">
+ <s:TextInput text="mouse over me to see my toolTip" id="textinput1" toolTip="Hello, I am a TextInput" />
+</s:Group>
+<s:TextArea id="textarea1" text="I have a lot of text that should need a scrollbar because my space is small.blah, blah, blah, balh." width="120"
+ height="65" horizontalCenter="0" verticalCenter="0"/>
+
+<s:ToggleButton label="I toggle" toolTip="Spark ToggleButton" right="10" top="100"/>
+
+<s:Button label="click to Fade" click="myFade.play([button1])" id="button1" right="10" top="10"/>
+
+<s:HSlider minimum="0" maximum="30" y="95" x="10"/>
+</s:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MXMLcomp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MXMLcomp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MXMLcomp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MXMLcomp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+
+ 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:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Image width="200" height="200" source="@Embed('assets/unknown.jpg')"/>
+ </mx:VBox>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MyUtils.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MyUtils.as?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MyUtils.as (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/MyUtils.as Mon Aug 6 20:20:08 2012
@@ -0,0 +1,57 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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
+{
+ import flash.display.DisplayObject;
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.display.Stage;
+ import flash.text.TextField;
+
+ public class MyUtils
+ {
+ public function MyUtils()
+ {
+ super();
+ }
+
+ static public function createMyUtilsInstance():Object
+ {
+ return new MyUtils();
+ }
+
+ public function createTextField():TextField
+ {
+ return new TextField();
+ }
+
+ public function createSprite():Sprite
+ {
+ return new Sprite();
+ }
+
+ public function getParent(displayObject:DisplayObject):void
+ {
+ var current:DisplayObject = displayObject;
+ while (current)
+ current = current.parent;
+ }
+
+ }
+}
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/SubApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/SubApp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/SubApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/SubApp.mxml Mon Aug 6 20:20:08 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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="100" >
+
+ <!-- This app is trusted and uses MyUtils RSL -->
+ <fx:Script>
+ <![CDATA[
+ import MyUtils; MyUtils;
+ ]]>
+ </fx:Script>
+
+ <s:layout>
+ <s:VerticalLayout/>
+ </s:layout>
+
+ <s:Label text="App1" />
+
+</s:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/UntrustedApp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/UntrustedApp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/UntrustedApp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/UntrustedApp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,74 @@
+<?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:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="100">
+
+ <!-- This app is untrusted and uses the MyUtils RSL indirectly thru a call to the main
+ application
+ -->
+
+ <fx:Script>
+ <![CDATA[
+
+ import flash.system.ApplicationDomain;
+
+ import mx.core.FlexGlobals;
+
+ public var flag:Boolean = false;
+ private function getParents1():void
+ {
+ try
+ {
+ var sm:Object = Object(systemManager).parent.parent.systemManager.topLevelSystemManager;
+ var myUtilsClass:Class = null;
+ var ad:ApplicationDomain = sm["info"]()["currentDomain"];
+
+ if (ad.hasDefinition("MyUtils"))
+ myUtilsClass = ad.getDefinition("MyUtils") as Class;
+
+ if (myUtilsClass)
+ {
+ var myUtilsInstance:Object = myUtilsClass["createMyUtilsInstance"]();
+ var spriteInstance:Object = myUtilsInstance["createSprite"]();
+ var tf:TextField = new TextField();
+ //systemManager["addChild"](spriteInstance);
+ spriteInstance["addChild"](tf);
+ var tfParent:DisplayObject = tf.parent; // MyUtils RSL needs access to UntrustedApp
+ flag = true;
+ }
+ }
+ catch(e:Error)
+ {
+ flag = false;
+ }
+ }
+
+
+ ]]>
+ </fx:Script>
+
+ <s:layout>
+ <s:VerticalLayout/>
+ </s:layout>
+
+ <s:Label text="UntrustedApp" />
+ <s:Button id="runBtn" label="run test" click="getParents1()" />
+</s:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/FlashSource.fla
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/FlashSource.fla?rev=1369972&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/FlashSource.fla
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/elementRef.wsdl
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/elementRef.wsdl?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/elementRef.wsdl (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/elementRef.wsdl Mon Aug 6 20:20:08 2012
@@ -0,0 +1,240 @@
+<?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.
+
+-->
+<definitions
+ targetNamespace="http://www.openuri.org/"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
+ xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:s="http://www.w3.org/2001/XMLSchema"
+ xmlns:s0="http://www.openuri.org/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
+ <types>
+ <s:schema
+ elementFormDefault="qualified"
+ targetNamespace="http://www.openuri.org/"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
+ xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:s="http://www.w3.org/2001/XMLSchema"
+ xmlns:s0="http://www.openuri.org/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:two="http://www.test.com/">
+ <s:import namespace="http://www.test.com/"/>
+ <s:element name="api1">
+ <s:complexType>
+ <s:sequence>
+ <s:element ref="two:Api1Request"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="api1Response">
+ <s:complexType>
+ <s:sequence>
+ <s:element ref="two:Api1Response"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="api2">
+ <s:complexType>
+ <s:sequence>
+ <s:element ref="two:Api2Request"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ <s:element name="api2Response">
+ <s:complexType>
+ <s:sequence>
+ <s:element ref="two:Api2Response"/>
+ </s:sequence>
+ </s:complexType>
+ </s:element>
+ </s:schema>
+ <xs:schema
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ targetNamespace="http://www.test.com/"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
+ xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
+ xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+ xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
+ xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
+ xmlns:s="http://www.w3.org/2001/XMLSchema"
+ xmlns:s0="http://www.openuri.org/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="Api1Request">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Phone">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Home">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element minOccurs="0" name="Work">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Api1Response">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Phone">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Home">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element minOccurs="0" name="Work">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Api2Request">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="Phone" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Api2Response">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="Phone" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="Phone">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Home">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element minOccurs="0" name="Work">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:length value="10"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ </types>
+ <message name="api1SoapOut">
+ <part element="s0:api1Response" name="parameters"/>
+ </message>
+ <message name="api2SoapIn">
+ <part element="s0:api2" name="parameters"/>
+ </message>
+ <message name="api1SoapIn">
+ <part element="s0:api1" name="parameters"/>
+ </message>
+ <message name="api2SoapOut">
+ <part element="s0:api2Response" name="parameters"/>
+ </message>
+ <portType name="wscreateapiv2Soap">
+ <operation name="api1">
+ <input message="s0:api1SoapIn"/>
+ <output message="s0:api1SoapOut"/>
+ </operation>
+ <operation name="api2">
+ <input message="s0:api2SoapIn"/>
+ <output message="s0:api2SoapOut"/>
+ </operation>
+ </portType>
+ <binding name="wscreateapiv2Soap" type="s0:wscreateapiv2Soap">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="api1">
+ <soap:operation soapAction="http://www.openuri.org/api1" style="document"/>
+ <cw:transition phase="continue"/>
+ <input>
+ <soap:body use="literal"/>
+ <soap:header
+ message="s0:ContinueHeader_literal"
+ part="ContinueHeader"
+ use="literal"> </soap:header>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ <operation name="api2">
+ <soap:operation soapAction="http://www.openuri.org/api2" style="document"/>
+ <cw:transition phase="continue"/>
+ <input>
+ <soap:body use="literal"/>
+ <soap:header
+ message="s0:ContinueHeader_literal"
+ part="ContinueHeader"
+ use="literal"> </soap:header>
+ </input>
+ <output>
+ <soap:body use="literal"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="wscreateapiv2">
+ <port binding="s0:wscreateapiv2Soap" name="wscreateapiv2Soap">
+ <soap:address location="http://10.60.144.67:8080/xml/request.xml" /><!-- intentionally bad -->
+ </port>
+ <port binding="s0:wscreateapiv2HttpPost" name="wscreateapiv2HttpPost"> </port>
+ <port binding="s0:wscreateapiv2HttpGet" name="wscreateapiv2HttpGet"> </port>
+ </service>
+</definitions>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/weather.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/weather.xml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/weather.xml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/assets/weather.xml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,33 @@
+<?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.
+
+-->
+<weather>
+ <node Location="Los Angeles" Climate="Mild" />
+ <node Location="Boston" Climate="Snow" />
+ <node Location="Houston" Climate="Rainy" />
+ <node Location="Paris" Climate="Rainy" />
+ <node Location="San Diego" Climate="Hot" />
+ <node Location="New York" Climate="Foggy" />
+ <node Location="Nashville" Climate="Mild" />
+ <node Location="Lake Merritt" Climate="Foggy" />
+ <node Location="Austin" Climate="Mild" />
+ <node Location="Evanston" Climate="Hot" />
+ <node Location="Providence" Climate="Foggy" />
+ <node Location="Albany" Climate="Rainy" />
+</weather>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle1.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle1.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 1 in en_US says howdy!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle2.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle2.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 2 in en_US says howdy!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle3.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle3.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle3.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/en_US/bundle3.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 3 in en_US says howdy!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle1.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle1.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 1 in fr_FR says bonjour!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle2.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle2.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 2 in fr_FR says bonjour!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle3.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle3.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle3.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/fr_FR/bundle3.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 3 in fr_FR says bonjour!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle1.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle1.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 1 in ja_JP says Japanese Hello!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle2.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle2.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 2 in ja_JP says Japanese Hello!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle3.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle3.properties?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle3.properties (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/bundles/custom/ja_JP/bundle3.properties Mon Aug 6 20:20:08 2012
@@ -0,0 +1,19 @@
+################################################################################
+##
+## 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.
+##
+################################################################################
+GREETING=Bundle 3 in ja_JP says Japanese Hello!
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/DGComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/DGComp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/DGComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/DGComp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+
+ 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:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" width="80%" dataProvider="{smallArray}"
+ dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" >
+
+<mx:Script>
+<![CDATA[
+
+ [Bindable]
+ private var smallArray:Array=
+ [
+ { firstName: "Alex", lastName: "Harui" },
+ { firstName: "Joan", lastName: "Lafferty" },
+ { firstName: "Darrell", lastName: "Loverin" },
+ { firstName: "Lauren", lastName: "Park" },
+ { firstName: "Susan", lastName: "Lally" }
+ ];
+
+]]>
+</mx:Script>
+
+
+<mx:columns>
+ <mx:DataGridColumn dataField="firstName" headerText="First Name" />
+ <mx:DataGridColumn dataField="lastName" headerText="Last Name" />
+</mx:columns>
+</mx:DataGrid>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/ListComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/ListComp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/ListComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/ListComp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!--
+
+ 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:mx="http://www.adobe.com/2006/mxml" dataProvider="{myData}" editable="true" labelField="Album"
+ toolTip="here is an editable List component.">
+
+<mx:Script>
+<![CDATA[
+
+ [Bindable]
+ private var myData:Array = [
+ { Artist:'ArtistA', Album:'AlbumA', Price:11.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumB', Price:10.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumC', Price:12.99, Rating:'Excellent' },
+ { Artist:'ArtistA', Album:'AlbumD', Price:11.99, Rating:'Good' },
+ { Artist:'ArtistA', Album:'AlbumE', Price:11.99, Rating:'Good' },
+ { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+ ];
+
+]]>
+</mx:Script>
+
+
+</mx:List>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/MyCanvasMXML.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/MyCanvasMXML.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/MyCanvasMXML.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/MyCanvasMXML.mxml Mon Aug 6 20:20:08 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.
+
+-->
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="0xFF0000" width="400" height="250">
+ <mx:Script>
+ <![CDATA[
+ import mx.managers.PopUpManager;
+
+ private function centerMe(): void
+ {
+ PopUpManager.centerPopUp(this);
+ }
+ ]]>
+ </mx:Script>
+
+ <mx:HBox x="10" y="10">
+ <mx:Label text="username: " />
+ <mx:TextInput />
+ </mx:HBox>
+ <mx:HBox x="10" y="90">
+ <mx:Label text="password: " />
+ <mx:TextInput />
+ </mx:HBox>
+ <mx:Button x="10" y="160" label="Submit" click="PopUpManager.removePopUp(this)" />
+ <mx:Button x="10" y="200" label="center" id="centerBtn" click="centerMe()" />
+
+</mx:Canvas>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/SWFLoaderComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/SWFLoaderComp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/SWFLoaderComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/comps/SWFLoaderComp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+
+ 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:SWFLoader xmlns:mx="http://www.adobe.com/2006/mxml" loadForCompatibility="true" />
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceRequestParams.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceRequestParams.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceRequestParams.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceRequestParams.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,51 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="#FFFFFF">
+
+ <mx:HTTPService id="srv" url="http://flexqa01.labs.corp.adobe.com:8100/samples/employeehttp.jsp" method="POST"
+ result="resultText.text='successful send.'" fault="resultText.text='failed send.'">
+ <mx:request>
+ <firstName>{firstName.text}</firstName>
+ <lastName>{lastName.text}</lastName>
+ <salary>{salary.text}</salary>
+ <startDate>{startDate.text}</startDate>
+ </mx:request>
+ </mx:HTTPService>
+
+ <mx:Form>
+ <mx:FormItem label="First Name">
+ <mx:TextInput id="firstName"/>
+ </mx:FormItem>
+ <mx:FormItem label="Last Name">
+ <mx:TextInput id="lastName"/>
+ </mx:FormItem>
+ <mx:FormItem label="Salary">
+ <mx:TextInput id="salary"/>
+ </mx:FormItem>
+ <mx:FormItem label="Start Date">
+ <mx:DateField id="startDate"/>
+ </mx:FormItem>
+ <mx:FormItem>
+ <mx:Button id="submit_btn" label="Add Employee" click="srv.send()"/>
+ </mx:FormItem>
+ </mx:Form>
+
+<mx:TextInput id="resultText" />
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceTest.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceTest.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceTest.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/httpServiceTest.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,32 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" >
+
+<mx:HTTPService url="assets/weather.xml" id="weatherSVC" fault="ta.text='fault received'"/>
+<mx:HTTPService url="assets/badweather.xml" id="badSVC" fault="ta.text='fault received'"/>
+
+<mx:DataGrid id="datagrid1" />
+
+<mx:Button click="weatherSVC.send()" id="btn_getWeather"/>
+<mx:Button click="badSVC.send()" id="btn_getBadWeather"/>
+<mx:Button label="set dataProvider" id="btn_dataProvider" click="datagrid1.dataProvider=weatherSVC.lastResult.weather.node" />
+
+<mx:TextInput id="ta" />
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/menuBug.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/menuBug.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/menuBug.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/menuBug.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,29 @@
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ backgroundColor="#474747">
+ <fx:Script>
+ <![CDATA[
+ import mx.events.MenuEvent;
+ import mx.controls.Menu;
+
+ public var newMenu:Menu;
+
+ private function btnClick() : void
+ {
+ var md:XML = <root>
+ <menuitem label="item1 aasdfadf asdf asdf asdf" key="top" enabled='true'/>
+ <menuitem type='separator'/>
+ <menuitem label="item2" key="top2" enabled='true'/>
+ <menuitem label="item2" key="top3" enabled='true'/>
+ </root>;
+
+ newMenu = Menu.createMenu( this, md, false );
+ newMenu.labelField = '@label';
+ newMenu.show();
+ }
+
+ ]]>
+ </fx:Script>
+ <s:Button id="start_button" label="Click Me" click="btnClick()" />
+</s:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleForms.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleForms.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleForms.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleForms.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,33 @@
+<?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:Application height="375" width="500" xmlns:mx="http://www.adobe.com/2006/mxml" >
+
+
+ <mx:TextInput id="subcontrol1" />
+
+ <mx:Button label="add stylename" id="subcontrol2" />
+
+ <mx:TextArea id="subcontrol3" />
+
+ <mx:NumericStepper id="subcontrol4" />
+
+ <mx:DateField id="subcontrol5" />
+
+</mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleLoader.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleLoader.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleLoader.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleLoader.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,25 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
+ width="750" height="650">
+ <mx:TextInput id="control1" />
+ <mx:Button id="control2" />
+ <mx:SWFLoader id="swf1" />
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleToolTip.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleToolTip.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleToolTip.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/simpleToolTip.mxml Mon Aug 6 20:20:08 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:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="0xFFFFFF" backgroundImage="">
+<mx:Script>
+<![CDATA[
+
+ import mx.managers.ToolTipManager;
+
+ public function changeShowDelay(value:int): void
+ {
+ ToolTipManager.showDelay = value;
+ }
+
+ public function changeHideDelay(value:int): void
+ {
+ ToolTipManager.hideDelay = value;
+ }
+
+]]>
+</mx:Script>
+
+<mx:Style source="../../../../Assets/Fonts/myStyles.css" />
+
+ <mx:VBox id="hbox1" width="140" height="100" backgroundColor="0xFFFFFF">
+ <mx:Button id="simpleButton" label="submit" toolTip="simple toolTip" bottom="5" />
+ <mx:TextInput id="text1" width="60" />
+ </mx:VBox>
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/tabbs.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/tabbs.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/tabbs.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/tabbs.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,46 @@
+<?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:Application xmlns:mx="http://www.adobe.com/2006/mxml" height="600" width="600" >
+
+<mx:Script>
+ import mx.managers.PopUpManager;
+ import mx.core.IFlexDisplayObject;
+
+ public var myTitleWindow:GateKeeper;
+ public function openWindow(event:MouseEvent):void
+ {
+
+ myTitleWindow = new GateKeeper();
+ PopUpManager.addPopUp(myTitleWindow,this , false);
+ }
+
+</mx:Script>
+ <mx:Text fontSize="15" width="500" text="popUpManager - Tabbing and Default Button" />
+
+ <mx:Text width="300" text="Directions: Click the button below to open a popup." />
+
+ <mx:Button id="btn1" label="createPopUp Window" click="openWindow(event)"/>
+
+ <mx:Text width="300" text="Verify: " />
+ <mx:Text width="300" text="1. Press tab in the PopUp and ensure
+ that you can tab." />
+ <mx:Text width="300" text="2. Hit the Enter button and verify that the PopUp closes." />
+ <mx:TextInput id="text3" width="200" />
+</mx:Application>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/weather.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/weather.xml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/weather.xml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/assets/weather.xml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,33 @@
+<?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.
+
+-->
+<weather>
+ <node Location="Los Angeles" Climate="Mild" />
+ <node Location="Boston" Climate="Snow" />
+ <node Location="Houston" Climate="Rainy" />
+ <node Location="Paris" Climate="Rainy" />
+ <node Location="San Diego" Climate="Hot" />
+ <node Location="New York" Climate="Foggy" />
+ <node Location="Nashville" Climate="Mild" />
+ <node Location="Lake Merritt" Climate="Foggy" />
+ <node Location="Austin" Climate="Mild" />
+ <node Location="Evanston" Climate="Hot" />
+ <node Location="Providence" Climate="Foggy" />
+ <node Location="Albany" Climate="Rainy" />
+</weather>
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/DGComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/DGComp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/DGComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/DGComp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+
+ 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:DataGrid xmlns:mx="http://www.adobe.com/2006/mxml" width="80%" dataProvider="{smallArray}"
+ dragEnabled="true" dragMoveEnabled="true" dropEnabled="true" >
+
+<mx:Script>
+<![CDATA[
+
+ [Bindable]
+ private var smallArray:Array=
+ [
+ { firstName: "Alex", lastName: "Harui" },
+ { firstName: "Joan", lastName: "Lafferty" },
+ { firstName: "Darrell", lastName: "Loverin" },
+ { firstName: "Lauren", lastName: "Park" },
+ { firstName: "Susan", lastName: "Lally" }
+ ];
+
+]]>
+</mx:Script>
+
+
+<mx:columns>
+ <mx:DataGridColumn dataField="firstName" headerText="First Name" />
+ <mx:DataGridColumn dataField="lastName" headerText="Last Name" />
+</mx:columns>
+</mx:DataGrid>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/SWFLoaderComp.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/SWFLoaderComp.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/SWFLoaderComp.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/comps/SWFLoaderComp.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+
+ 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:SWFLoader xmlns:mx="http://www.adobe.com/2006/mxml" loadForCompatibility="true"/>
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/pre_compile.sh?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/pre_compile.sh Mon Aug 6 20:20:08 2012
@@ -0,0 +1,44 @@
+#!/bin/sh
+################################################################################
+##
+## 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.
+##
+################################################################################
+cd assets
+
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+
+echo "Compiling sub application SWFs..."
+$SDK_DIR/bin/mxmlc -includes=mx.managers.systemClasses.MarshallingSupport -source-path=$MUSTELLA_DIR/as3/src/mustella -includes=UnitTester simpleForms.mxml
+$SDK_DIR/bin/mxmlc -includes=mx.managers.systemClasses.MarshallingSupport -source-path=$MUSTELLA_DIR/as3/src/mustella -includes=UnitTester simpleLoader.mxml
+$SDK_DIR/bin/mxmlc -includes=mx.managers.systemClasses.MarshallingSupport -source-path=$MUSTELLA_DIR/as3/src/mustella -includes=UnitTester tabbs.mxml
+
+echo "Compiling RSL"
+
+if ([ -e MyUtils ])
+then
+cd MyUtils
+rm -rf *
+cd ..
+rmdir MyUtils
+fi
+
+$SDK_DIR/bin/compc -include-classes=MyUtils -sp=. -directory=true -output=MyUtils
+
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=false -rslp=MyUtils,MyUtils/library.swf -remove-unused-rsls=true -includes=mx.managers.systemClasses.MarshallingSupport SubApp.mxml
+$SDK_DIR/bin/mxmlc -static-link-runtime-shared-libraries=false -rslp=MyUtils,MyUtils/library.swf -remove-unused-rsls=true -includes=mx.managers.systemClasses.MarshallingSupport UntrustedApp.mxml
\ No newline at end of file
Propchange: incubator/flex/trunk/mustella/tests/MarshallPlan/SWFs/pre_compile.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/flex/trunk/mustella/tests/MarshallPlan/Spark/MP_FCK_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/MarshallPlan/Spark/MP_FCK_Tests.mxml?rev=1369972&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/MarshallPlan/Spark/MP_FCK_Tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/MarshallPlan/Spark/MP_FCK_Tests.mxml Mon Aug 6 20:20:08 2012
@@ -0,0 +1,196 @@
+<?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="MarshallPlan/Spark/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="MP_FCK_Main.mxml">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.core.IFlexDisplayObject;
+ import mx.events.FlexEvent;
+ import flash.utils.*;
+ import mx.core.FlexSprite;
+
+ public static function init(o:DisplayObject):void
+ {
+
+ }
+
+
+
+ ]]>
+ </mx:Script>
+
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+
+ <testCases>
+
+ <TestCase testID="MP_Spark_Component_DropDownList_compatible" description="Test that you can use a DropDownList in a trusted child." keywords="[DropDownList, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1"
+ waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="100" />
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="assets/MP_FCK_childApp.swf" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="3000"/>
+ </setup>
+ <body>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="" waitEvent="mouseMove"/>
+ <Pause timeout="500"/>
+ <DispatchMouseEvent type="rollOver" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="rollOver"
+ waitTarget="swf1.content.document.dropdown1"/>
+ <DispatchMouseEvent type="mouseDown" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="open" waitTarget="swf1.content.document.dropdown1"/>
+ <WaitForEffectsToEnd />
+ <DispatchMouseEvent type="mouseUp" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" />
+ <Pause timeout="300"/>
+ <DispatchMouseClickEvent target="swf1.content.document.dropdown1.skin" localX="18" localY="38" />
+ <AssertEvent eventName="change" eventClass="spark.events::IndexChangeEvent" target="swf1.content.document.dropdown1" />
+ <Pause timeout="1000" />
+ </body>
+ </TestCase>
+ <TestCase testID="MP_Spark_Component_DropDownList_untrusted" description="Test that you can use a DropDownList in a trusted child." keywords="[DropDownList, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1"
+ waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/MP_FCK_childApp.swf?147_39?147_39?147_39" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="2000"/>
+ </setup>
+ <body>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" />
+ <Pause timeout="500"/>
+ <DispatchMouseEvent type="rollOver" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="rollOver"
+ waitTarget="swf1.content.document.dropdown1"/>
+ <DispatchMouseEvent type="mouseDown" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="open" waitTarget="swf1.content.document.dropdown1"/>
+ <WaitForEffectsToEnd />
+ <DispatchMouseEvent type="mouseUp" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" />
+ <Pause timeout="300"/>
+ <DispatchMouseClickEvent target="swf1.content.document.dropdown1.skin" localX="18" localY="38" />
+ <AssertEvent eventName="change" eventClass="spark.events::IndexChangeEvent" target="swf1.content.document.dropdown1" />
+ <Pause timeout="3000" />
+ </body>
+ </TestCase>
+
+ <TestCase testID="MP_FCK_Component_toolTip_trusted" description="Test that you can see a tooltip for a Spark component." keywords="[TextInput, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1" waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="100" />
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="assets/MP_FCK_childApp.swf" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="2000"/>
+ </setup>
+ <body>
+
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="" waitEvent="mouseMove"/>
+ <DispatchMouseEvent type="mouseOver" target="swf1.content.document.dropdown1" localX="20" localY="8"
+ waitEvent="toolTipShown" waitTarget="swf1.content.document.dropdown1" />
+ <WaitForEffectsToEnd />
+ <Pause timeout="200" />
+ <CompareBitmap numColorVariances="4" maxColorVariance="10" url="../Spark/baselines/$testID.png" target="swf1.content.document.group1" timeout="2000" />
+ </body>
+ </TestCase>
+ <TestCase testID="MP_FCK_Component_toolTip_compatible" description="Test that you can see a tooltip for a Spark component." keywords="[TextInput, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1" waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="100" />
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="assets/MP_FCK_childApp.swf" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="3000"/>
+ </setup>
+ <body>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="" waitEvent="mouseMove"/>
+ <DispatchMouseEvent type="mouseOver" target="swf1.content.document.dropdown1" localX="20" localY="8"
+ waitEvent="toolTipShown" waitTarget="swf1.content.document.dropdown1" timeout="5000" />
+ <WaitForEffectsToEnd />
+ <Pause timeout="200" />
+ <CompareBitmap numColorVariances="4" maxColorVariance="10" url="../Spark/baselines/$testID.png" target="swf1.content.document.group1" timeout="2000" />
+ </body>
+ </TestCase>
+ <TestCase testID="MP_FCK_Component_toolTip_untrusted" description="Test that you can see a tooltip for a Spark component." keywords="[TextInput, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1"
+ waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="100" />
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/MP_FCK_childApp.swf?80_39?80_39?80_39" />
+ <Pause timeout="500"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitEvent="complete" waitTarget="swf1"/>
+ <Pause timeout="3000"/>
+ </setup>
+ <body>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" />
+ <Pause timeout="100"/>
+ <DispatchMouseEvent type="mouseOver" target="swf1.content.document.dropdown1" localX="20" localY="8"
+ waitEvent="toolTipShown" waitTarget="swf1.content.document.dropdown1" />
+ <WaitForEffectsToEnd />
+ <Pause timeout="200" />
+ <CompareBitmap numColorVariances="4" maxColorVariance="10" url="../Spark/baselines/$testID.png" target="swf1.content.document.group1" timeout="2000" />
+ <Pause timeout="1000" />
+ </body>
+ </TestCase>
+
+ <!--TestCase testID="MP_Spark_Component_DropDownList_trusted" description="Test that you can use a DropDownList in a trusted child." keywords="[DropDownList, Spark, Marshall Plan, ToolTip]">
+ <setup>
+ <ResetComponent target="text1" className="spark.components.TextInput" waitTarget="text1"
+ waitEvent="updateComplete" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" />
+ <SetProperty target="swf1" propertyName="source" value="../../../Assets/Images/smallpurplerect.jpg" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="100" />
+ <SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="false" />
+ <SetProperty target="swf1" propertyName="source" value="assets/MP_FCK_childApp.swf" />
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <Pause timeout="500"/>
+ </setup>
+ <body>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="" waitEvent="mouseMove"/>
+ <DispatchMouseEvent type="rollOver" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="rollOver"
+ waitTarget="swf1.content.document.dropdown1"/>
+ <DispatchMouseEvent type="mouseDown" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" waitEvent="open" waitTarget="swf1.content.document.dropdown1"/>
+ <WaitForEffectsToEnd />
+ <DispatchMouseEvent type="mouseUp" target="swf1.content.document.dropdown1.skin" localX="5" localY="10" />
+ <DispatchMouseClickEvent target="swf1.content.document.dropdown1.skin.popUp" localX="18" localY="38" />
+ <AssertEvent eventName="change" eventClass="spark.events::IndexChangeEvent" target="swf1.content.document.dropdown1" />
+ </body>
+ </TestCase-->
+ </testCases>
+</UnitTester>