You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/10/05 21:00:17 UTC
svn commit: r1394730 - in
/incubator/flex/sdk/branches/develop/mustella/tests:
PerModuleStyles/styleManager/ components/Alert/Versioning/
components/Slider/versioning/
Author: cframpton
Date: Fri Oct 5 19:00:17 2012
New Revision: 1394730
URL: http://svn.apache.org/viewvc?rev=1394730&view=rev
Log:
Increase the load timeouts.
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager.mxml
incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager2.mxml
incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager3.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_VSlider_Events_tester.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager.mxml Fri Oct 5 19:00:17 2012
@@ -44,7 +44,7 @@
<TestCase testID="checkModuleStyleManager" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
<body>
- <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" />
+ <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" timeout="8000"/>
<Pause timeout="1000" />
<AssertMethodValue method="value=application.findModuleStyleManager();" valueExpression="value=application.mod_loader.child.moduleList.styleManager" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager2.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager2.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager2.mxml Fri Oct 5 19:00:17 2012
@@ -3,7 +3,7 @@
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.
+ this work for additional information regarding copyright ownership.s
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
@@ -38,7 +38,7 @@
<testCases>
<TestCase testID="testModuleStyleManager" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
<body>
- <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" />
+ <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" timeout="8000"/>
<Pause timeout="1000" />
<DispatchMouseClickEvent target="mod_loader.child.checkTopLevelStyleManager" waitEvent="click" waitTarget="mod_loader.child.checkTopLevelStyleManager" />
<AssertPropertyValue target="mod_loader.child.result" propertyName="text" value="pass" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager3.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager3.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/PerModuleStyles/styleManager/currentStyleManager3.mxml Fri Oct 5 19:00:17 2012
@@ -44,7 +44,7 @@
<TestCase testID="testModuleStyleManager" keywords="[Styles,Module]" description="Test to make sure getStyleDeclaration return local only styles" >
<body>
- <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" />
+ <RunCode code="application.iniit();" waitTarget="mod_loader" waitEvent="ready" timeout="8000"/>
<Pause timeout="1000" />
<AssertMethodValue method="value=application.findModuleStyleManager();" valueExpression="value=application.mod_loader.child.moduleList.styleManager" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Alert/Versioning/MP_Alert_Tests.mxml Fri Oct 5 19:00:17 2012
@@ -44,6 +44,8 @@
}
+ [Bindable]
+ private var loadTimeout:int = 8000;
]]>
@@ -66,7 +68,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -88,7 +90,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -108,7 +110,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -131,7 +133,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -152,7 +154,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" valueExpression="value=returnRemoteURL('components/Alert/SWFs/Assets/child_swfs/MP_Alert_Child.swf')" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<WaitForSandboxApp target="swf1" />
@@ -174,7 +176,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" valueExpression="value=returnRemoteURL('components/Alert/SWFs/Assets/child_swfs/MP_Alert_Child.swf')" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<WaitForSandboxApp target="swf1" />
@@ -194,7 +196,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -214,7 +216,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -234,7 +236,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -255,7 +257,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="Assets/child_swfs/MP_Alert_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_HSlider_Events_tester.mxml Fri Oct 5 19:00:17 2012
@@ -47,7 +47,7 @@
public var styleObj:Object;
[Bindable]
- private var loadTimeout:int = 6000;
+ private var loadTimeout:int = 8000;
]]>
</mx:Script>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_VSlider_Events_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_VSlider_Events_tester.mxml?rev=1394730&r1=1394729&r2=1394730&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_VSlider_Events_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Slider/versioning/MP_VSlider_Events_tester.mxml Fri Oct 5 19:00:17 2012
@@ -36,15 +36,18 @@
<!-- end of set of lines that must be in each unit test -->
<mx:Script>
<![CDATA[
- import mx.controls.VSlider;
- import mx.styles.StyleManager;
- import mx.managers.SystemManager;
- public function scriptFunction(a:String, b:int):String
- {
- return a + ":" + b.toString();
- }
- public var styleDecl:Object;
- public var styleObj:Object;
+ import mx.controls.VSlider;
+ import mx.styles.StyleManager;
+ import mx.managers.SystemManager;
+ public function scriptFunction(a:String, b:int):String
+ {
+ return a + ":" + b.toString();
+ }
+ public var styleDecl:Object;
+ public var styleObj:Object;
+
+ [Bindable]
+ private var loadTimeout:int = 8000;
]]>
</mx:Script>
@@ -58,7 +61,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -78,7 +81,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -100,7 +103,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -121,7 +124,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -141,7 +144,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -163,7 +166,7 @@
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="loadForCompatibility" value="true" />
<SetProperty target="swf1" propertyName="source" value="assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="swf1.content" waitEvent="applicationComplete"/>
@@ -184,7 +187,7 @@
<Pause timeout="100" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<WaitForSandboxApp target="swf1" />
@@ -205,7 +208,7 @@
<Pause timeout="100" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<WaitForSandboxApp target="swf1" />
@@ -228,7 +231,7 @@
<Pause timeout="100" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
<SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/components/Slider/SWFs/assets/child_swfs/MP_Slider_Child.swf" waitTarget="swf1" waitEvent="updateComplete"/>
- <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete"/>
+ <SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="{loadTimeout}"/>
</setup>
<body>
<WaitForSandboxApp target="swf1" />