You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2012/10/17 05:21:47 UTC
svn commit: r1399086 - in
/incubator/flex/sdk/branches/develop/mustella/tests:
MarshallPlan/ManagerTests/ browser/resources/Preloader/Integration/
gumbo/components/Button/styles/
Author: aharui
Date: Wed Oct 17 03:21:46 2012
New Revision: 1399086
URL: http://svn.apache.org/viewvc?rev=1399086&view=rev
Log:
Add portNumber to some tests that use localhost
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_PopUpManager_Tests.mxml
incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml
incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml
incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Button/styles/button_icon_styles.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_PopUpManager_Tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_PopUpManager_Tests.mxml?rev=1399086&r1=1399085&r2=1399086&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_PopUpManager_Tests.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/MarshallPlan/ManagerTests/bootstrap_PopUpManager_Tests.mxml Wed Oct 17 03:21:46 2012
@@ -206,7 +206,7 @@
<SetProperty target="swf1" propertyName="loadForCompatibility" value="false" />
<Pause timeout="100" />
<SetProperty target="swf1" propertyName="autoLoad" value="false" />
- <SetProperty target="swf1" propertyName="source" value="http://localhost/MarshallPlan/SWFs/assets/MP_PopUpManager_Child.swf?191_15" waitTarget="swf1" waitEvent="updateComplete" timeout="6000"/>
+ <SetProperty target="swf1" propertyName="source" value="http://localhost:{portNumber}/MarshallPlan/SWFs/assets/MP_PopUpManager_Child.swf?191_15" waitTarget="swf1" waitEvent="updateComplete" timeout="6000"/>
<SetProperty target="swf1" propertyName="autoLoad" value="true" waitTarget="swf1" waitEvent="complete" timeout="5000" />
</setup>
<body>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml?rev=1399086&r1=1399085&r2=1399086&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml Wed Oct 17 03:21:46 2012
@@ -57,7 +57,7 @@
<TestCase frequency="all" testID="Preloader_params4_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
<body>
- <AssertMethodValue method="value=application.appParamURLs" value="http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle2_001.swf" />
+ <AssertMethodValue method="value=application.appParamURLs" value="http://localhost:{portNumber}/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle2_001.swf" />
<Pause timeout="1"/>
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml?rev=1399086&r1=1399085&r2=1399086&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml Wed Oct 17 03:21:46 2012
@@ -57,7 +57,7 @@
<TestCase frequency="all" testID="Preloader_params5_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
<body>
- <AssertMethodValue method="value=application.appParamURLs" value="Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/frCustomResources_bundle1_001.swf,Assets/resources/custom/enCustomResources_bundle2_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/en_fr_jaCustomResources_bundles1_2_001.swf" />
+ <AssertMethodValue method="value=application.appParamURLs" value="Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost:{portNumber}/browser/resources/Preloader/SWFs/Assets/resources/custom/frCustomResources_bundle1_001.swf,Assets/resources/custom/enCustomResources_bundle2_001.swf,http://localhost:{portNumber}/browser/resources/Preloader/SWFs/Assets/resources/custom/en_fr_jaCustomResources_bundles1_2_001.swf" />
<Pause timeout="1"/>
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Button/styles/button_icon_styles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Button/styles/button_icon_styles.mxml?rev=1399086&r1=1399085&r2=1399086&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Button/styles/button_icon_styles.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/gumbo/components/Button/styles/button_icon_styles.mxml Wed Oct 17 03:21:46 2012
@@ -76,7 +76,7 @@
<TestCase testID="button_icon_http" keywords="[Button]" description="Load icon from the internet">
<setup>
<ResetComponent target="btn1" className="spark.components.Button" waitEvent="updateComplete" waitTarget="btn1" />
- <SetStyle target="btn1" styleName="icon" value="http://localhost/gumbo/components/Button/swfs/Assets/logo.png?avoidThe304_0" waitEvent="updateComplete" />
+ <SetStyle target="btn1" styleName="icon" value="http://localhost:{portNumber}/gumbo/components/Button/swfs/Assets/logo.png?avoidThe304_0" waitEvent="updateComplete" />
<Pause timeout="2500" />
</setup>
<body>
@@ -87,7 +87,7 @@
<TestCase testID="button_icon_http_404" keywords="[Button]" description="Load icon from the internet which is not available">
<setup>
<ResetComponent target="btn1" className="spark.components.Button" waitEvent="updateComplete" waitTarget="btn1" />
- <SetStyle target="btn1" styleName="icon" value="http://localhost/gumbo/components/Button/swfs/Assets/logo.pngss" />
+ <SetStyle target="btn1" styleName="icon" value="http://localhost:{portNumber}/gumbo/components/Button/swfs/Assets/logo.pngss" />
<Pause timeout="1000" />
</setup>
<body>