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/04 15:23:16 UTC
svn commit: r1394053 - in
/incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan:
ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml
ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml
RSLs/allowDomain_Tests.mxml
Author: cframpton
Date: Thu Oct 4 13:23:16 2012
New Revision: 1394053
URL: http://svn.apache.org/viewvc?rev=1394053&view=rev
Log:
Add some timeouts (which are larger than the default timeout) on module loads.
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml
incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml
incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/RSLs/allowDomain_Tests.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml?rev=1394053&r1=1394052&r2=1394053&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests.mxml Thu Oct 4 13:23:16 2012
@@ -212,7 +212,8 @@
<SetProperty target="topSWF" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/simpleLoader.swf?194_8" timeout="6000"/>
<SetProperty target="topSWF" propertyName="autoLoad" value="true"
waitTarget="topSWF" waitEvent="complete" timeout="5000"/>
- <DispatchMouseEvent target="topSWF" type="mouseMove" localX="10" localY="55" waitTarget="topSWF.mx_internal:contentHolder.contentLoaderInfo.sharedEvents" waitEvent="mustellaStarted" timeout="3000" />
+ <DispatchMouseEvent target="topSWF" type="mouseMove" localX="10" localY="55"
+ waitTarget="topSWF.mx_internal:contentHolder.contentLoaderInfo.sharedEvents" waitEvent="mustellaStarted" timeout="5000" />
<DispatchMouseEvent target="control1" type="mouseMove" localX="12" localY="55"
waitTarget="topSWF.content" waitEvent="applicationComplete"/>
<SetProperty target="topSWF.content.document.swf1" propertyName="autoLoad" value="false" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml?rev=1394053&r1=1394052&r2=1394053&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_NestedSWF_FocusManager_Tests.mxml Thu Oct 4 13:23:16 2012
@@ -199,8 +199,8 @@
<AssertEvent target="control1" eventName="focusIn" eventClass="flash.events::FocusEvent" />
</body>
</TestCase>
- <TestCase testID="NestedSWF_FocusManager_Tab_fromLocalhost" description="Test tabbing through the main app and sub app"
- keywords="[Marshall Plan, FocusManager, TAB]">
+ <TestCase testID="" description="Test tabbing through the main app and sub app"
+ keywords="[Marshall Plan, NestedSWF_FocusManager_Tab_fromLocalhostFocusManager, TAB]">
<setup>
<ResetComponent target="control1" className="mx.controls.TextInput" waitTarget="control1" waitEvent="updateComplete" />
<ResetComponent target="control2" className="mx.controls.Button" waitTarget="control2" waitEvent="updateComplete" />
@@ -211,10 +211,12 @@
<SetProperty target="topSWF" propertyName="loadForCompatibility" value="false" />
<SetProperty target="topSWF" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/simpleLoader.swf?194_14?194_14?194_14" />
<SetProperty target="topSWF" propertyName="autoLoad" value="true"
- waitTarget="topSWF" waitEvent="complete"/>
- <DispatchMouseEvent target="topSWF" type="mouseMove" localX="10" localY="55" waitTarget="topSWF.mx_internal:contentHolder.contentLoaderInfo.sharedEvents" waitEvent="mustellaStarted" timeout="3000" />
+ waitTarget="topSWF" waitEvent="complete" timeout="15000"/>
+ <DispatchMouseEvent target="topSWF" type="mouseMove" localX="10" localY="55"
+ waitTarget="topSWF.mx_internal:contentHolder.contentLoaderInfo.sharedEvents"
+ waitEvent="mustellaStarted" timeout="15000" />
<DispatchMouseEvent target="control1" type="mouseMove" localX="12" localY="55"
- waitTarget="topSWF.content" waitEvent="applicationComplete"/>
+ waitTarget="topSWF.content" waitEvent="applicationComplete" timeout="15000"/>
<SetProperty target="topSWF.content.document.swf1" propertyName="autoLoad" value="false" />
<SetProperty target="topSWF.content.document.swf1" propertyName="loadForCompatibility" value="false" />
<SetProperty target="topSWF.content.document.swf1" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/simpleForms.swf?202_14?202_14?202_14" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/RSLs/allowDomain_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/RSLs/allowDomain_Tests.mxml?rev=1394053&r1=1394052&r2=1394053&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/RSLs/allowDomain_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/RSLs/allowDomain_Tests.mxml Thu Oct 4 13:23:16 2012
@@ -15,24 +15,24 @@
<SetProperty target="sl1" propertyName="autoLoad" value="true" />
<SetProperty target="sl1" propertyName="source" value="assets/baconplacemat.jpg" waitTarget="sl1" waitEvent="updateComplete"/>
- <Pause timeout="100" />
+ <Pause timeout="100"/>
<SetProperty target="sl1" propertyName="autoLoad" value="false" />
<SetProperty target="sl1" propertyName="source" value="assets/SubApp.swf" waitTarget="sl1" waitEvent="updateComplete"/>
- <SetProperty target="sl1" propertyName="autoLoad" value="true" waitTarget="sl1" waitEvent="complete"/>
+ <SetProperty target="sl1" propertyName="autoLoad" value="true" waitTarget="sl1" waitEvent="complete" timeout="10000"/>
<SetProperty target="sl2" propertyName="autoLoad" value="true" />
<SetProperty target="sl2" propertyName="source" value="assets/baconplacemat.jpg" waitTarget="sl2" waitEvent="updateComplete"/>
- <Pause timeout="100" />
+ <Pause timeout="100"/>
<SetProperty target="sl2" propertyName="autoLoad" value="false" />
<SetProperty target="sl2" propertyName="source" value="http://127.0.0.1:{portNumber}/MarshallPlan/SWFs/assets/UntrustedApp.swf" waitTarget="sl2" waitEvent="updateComplete"/>
- <SetProperty target="sl2" propertyName="autoLoad" value="true" waitTarget="sl2" waitEvent="complete"/>
- <Pause timeout="100" />
+ <SetProperty target="sl2" propertyName="autoLoad" value="true" waitTarget="sl2" waitEvent="complete" timeout="10000"/>
+ <Pause timeout="100"/>
</setup>
<body>
- <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl2.content" waitEvent="added"/>
+ <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl2.content" waitEvent="added" timeout="15000"/>
<DispatchMouseClickEvent target="sl2.content.document.runBtn" waitEvent="click" waitTarget="sl2.content.document.runBtn" />
<AssertPropertyValue target="sl2.content.document" propertyName="flag" value="true" />