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/10/31 18:11:53 UTC
svn commit: r1404254 - in
/incubator/flex/sdk/branches/develop/mustella/tests/mobile:
MobileApplication/persistence/ SoftKeyboard/swfs/views/
StageText/swfs/views/ components/ActionBar/swfs/
components/CalloutButton/properties/ transitions/ViewTransiti...
Author: pent
Date: Wed Oct 31 17:11:53 2012
New Revision: 1404254
URL: http://svn.apache.org/viewvc?rev=1404254&view=rev
Log:
Fixes for compilation issues in mobile tests
Added:
incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml (with props)
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingDisabled_tester.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingEnabled_tester.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/SoftKeyboard/swfs/views/TextMediumHeight.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutView.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/TextAreaMenu.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/ActionBar/swfs/ActionBar.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/CalloutButton/properties/CalloutButton_Positioning.mxml
incubator/flex/sdk/branches/develop/mustella/tests/mobile/transitions/ViewTransition/swfs/views/HomeView.mxml
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingDisabled_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingDisabled_tester.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingDisabled_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingDisabled_tester.mxml Wed Oct 31 17:11:53 2012
@@ -115,7 +115,7 @@
<RunCode code="navigator().pushView(components.ViewPersistence)" waitTarget="navigator" waitEvent="viewChangeComplete"/>
</setup>
<body>
- <AssertMethodValue method="value = Array(persistenceManager().getProperty('myArrayProperty')).toString()" value='apple,orange,banana'/>
+ <AssertMethodValue method="value = (persistenceManager().getProperty('myArrayProperty') as Array).toString()" value='apple,orange,banana'/>
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingEnabled_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingEnabled_tester.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingEnabled_tester.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/MobileApplication/persistence/mobileApplication_PersistenceCachingEnabled_tester.mxml Wed Oct 31 17:11:53 2012
@@ -115,7 +115,7 @@
<RunCode code="navigator().pushView(components.ViewPersistence)" waitTarget="navigator" waitEvent="viewChangeComplete"/>
</setup>
<body>
- <AssertMethodValue method="value = Array(persistenceManager().getProperty('myArrayProperty')).toString()" value='apple,orange,banana'/>
+ <AssertMethodValue method="value = (persistenceManager().getProperty('myArrayProperty') as Array).toString()" value='apple,orange,banana'/>
</body>
</TestCase>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/SoftKeyboard/swfs/views/TextMediumHeight.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/SoftKeyboard/swfs/views/TextMediumHeight.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/SoftKeyboard/swfs/views/TextMediumHeight.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/SoftKeyboard/swfs/views/TextMediumHeight.mxml Wed Oct 31 17:11:53 2012
@@ -23,6 +23,7 @@
title="TextArea Constrained">
<fx:Script>
<![CDATA[
+ [Bindable]
public var num:String = "1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n100";
]]>
</fx:Script>
Added: incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml?rev=1404254&view=auto
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml (added)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml Wed Oct 31 17:11:53 2012
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark" title="Callout">
+ <fx:Script>
+ <![CDATA[
+ [Bindable]
+ private var txt:String ="1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n";
+ ]]>
+ </fx:Script>
+ <s:navigationContent>
+ <s:Button label="Back" click="navigator.popView()" />
+ </s:navigationContent>
+
+ <s:actionContent>
+ <s:Button label="Home" click="navigator.pushView(HomeView)"/>
+ </s:actionContent>
+
+
+ <s:TextArea top="100" left="10" text="{txt}" bottom="100" right="10"/>
+ <s:CalloutButton label="CalloutButton" top="5" >
+ <s:calloutLayout>
+ <s:VerticalLayout />
+ </s:calloutLayout>
+ <s:TextInput text="TextInput Top"/>
+ <s:TextArea text="{txt}" width="100%" height="100%" minHeight="400" />
+ <s:TextInput text="TextInput bottom" bottom="0"/>
+
+ </s:CalloutButton>
+
+ <s:TextInput bottom="10" horizontalCenter="0" text="Bottom"/>
+
+</s:View>
Propchange: incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutIntegrationView.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutView.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutView.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutView.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/CalloutView.mxml Wed Oct 31 17:11:53 2012
@@ -21,6 +21,7 @@
xmlns:s="library://ns.adobe.com/flex/spark" title="Callout">
<fx:Script>
<![CDATA[
+ [Bindable]
private var txt:String ="1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n";
]]>
</fx:Script>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/TextAreaMenu.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/TextAreaMenu.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/TextAreaMenu.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/StageText/swfs/views/TextAreaMenu.mxml Wed Oct 31 17:11:53 2012
@@ -23,6 +23,7 @@
title="TextArea with Menu">
<fx:Script>
<![CDATA[
+ [Bindable]
private var txt:String ="1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n0\n";
]]>
</fx:Script>
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/ActionBar/swfs/ActionBar.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/ActionBar/swfs/ActionBar.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/ActionBar/swfs/ActionBar.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/ActionBar/swfs/ActionBar.mxml Wed Oct 31 17:11:53 2012
@@ -20,6 +20,8 @@
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:comps="comps.*">
+ <fx:Declarations>
+ </fx:Declarations>
<fx:Script>
<![CDATA[
import mx.managers.FocusManager;
@@ -30,6 +32,7 @@
<s:layout>
<s:VerticalLayout />
</s:layout>
+ <s:BusyIndicator id="busy" />
<comps:ActionBarBasic id="actionBar" />
<comps:ActionBarTitleBinding id="actionBarTitleBinding" />
<comps:ActionBarInGroup id="actionBarInGroup" />
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/CalloutButton/properties/CalloutButton_Positioning.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/CalloutButton/properties/CalloutButton_Positioning.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/CalloutButton/properties/CalloutButton_Positioning.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/components/CalloutButton/properties/CalloutButton_Positioning.mxml Wed Oct 31 17:11:53 2012
@@ -27,7 +27,7 @@
<fx:Script>
<![CDATA[
import comps.*;
- import views.*;
+ //import views.*;
import mx.core.FlexGlobals;
import spark.components.CalloutPosition;
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mobile/transitions/ViewTransition/swfs/views/HomeView.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mobile/transitions/ViewTransition/swfs/views/HomeView.mxml?rev=1404254&r1=1404253&r2=1404254&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mobile/transitions/ViewTransition/swfs/views/HomeView.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mobile/transitions/ViewTransition/swfs/views/HomeView.mxml Wed Oct 31 17:11:53 2012
@@ -117,7 +117,7 @@
</fx:Declarations>
<s:layout>
- <comps:myLayout />
+ <s:VerticalLayout />
</s:layout>
<s:actionContent>
<s:Button label="TS1" click="navigator['requestSeek'] = true" />