You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2014/08/08 18:17:44 UTC

[01/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - fixed MD5s for FP 13 and 14

Repository: flex-sdk
Updated Branches:
  refs/heads/FLEX-34119 00e718d51 -> 2f1b76827


fixed MD5s for FP 13 and 14


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/6b1330f0
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/6b1330f0
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/6b1330f0

Branch: refs/heads/FLEX-34119
Commit: 6b1330f006e04966687e310d37d36c6e799590af
Parents: 930b545
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Jul 27 16:34:01 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Jul 27 16:34:01 2014 +1000

----------------------------------------------------------------------
 ide/checkAllPlayerGlobals.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6b1330f0/ide/checkAllPlayerGlobals.sh
----------------------------------------------------------------------
diff --git a/ide/checkAllPlayerGlobals.sh b/ide/checkAllPlayerGlobals.sh
index 6ee9624..c290bbe 100755
--- a/ide/checkAllPlayerGlobals.sh
+++ b/ide/checkAllPlayerGlobals.sh
@@ -121,6 +121,6 @@ downloadPlayerGlobal 11.7 12656571c57b2ad641838e5695a00e27 http://download.macro
 downloadPlayerGlobal 11.8 35bc69eec5091f70e221b4e63b66b60f http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc
 downloadPlayerGlobal 11.9 d18244c3c00c61a41f2d4d791d09fedb http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc
 downloadPlayerGlobal 12.0 4db4e934f39f774ba68fcd9a79654971 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc
-downloadPlayerGlobal 13.0 7f9bfe038f00e97bc44abf52bb5b1260 http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal13_0.swc
-downloadPlayerGlobal 14.0 21fe2130f44ba535a6d250e65e6f260e  http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal14_0.swc
+downloadPlayerGlobal 13.0 d40ea369a7fc2bcacc4cfcffff1339d4 http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc
+downloadPlayerGlobal 14.0 0bae2abfe34eed7d718eda123ec9e786 http://download.macromedia.com/get/flashplayer/updaters/14/playerglobal14_0.swc
 


[03/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34450 - remove invalid domain checks from thise locale because the length is no longer checked

Posted by mi...@apache.org.
FLEX-34450 - remove invalid domain checks from thise locale because the length is no longer checked


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2f8c8f58
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2f8c8f58
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2f8c8f58

Branch: refs/heads/FLEX-34119
Commit: 2f8c8f58395a8d13075abbfb1bd40f0518880a60
Parents: ed6da55
Author: Tom Chiverton <fa...@wopr.house>
Authored: Mon Aug 4 19:03:55 2014 +0100
Committer: Tom Chiverton <fa...@wopr.house>
Committed: Mon Aug 4 19:03:55 2014 +0100

----------------------------------------------------------------------
 .../JA_EmailValidator_invalidDomainError.png       | Bin 2100 -> 0 bytes
 .../Japanese/tests/emailValidatorTests.mxml        |  16 ----------------
 2 files changed, 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2f8c8f58/mustella/tests/LangPacks/Japanese/tests/baselines/JA_EmailValidator_invalidDomainError.png
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Japanese/tests/baselines/JA_EmailValidator_invalidDomainError.png b/mustella/tests/LangPacks/Japanese/tests/baselines/JA_EmailValidator_invalidDomainError.png
deleted file mode 100644
index b79d4b0..0000000
Binary files a/mustella/tests/LangPacks/Japanese/tests/baselines/JA_EmailValidator_invalidDomainError.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2f8c8f58/mustella/tests/LangPacks/Japanese/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Japanese/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Japanese/tests/emailValidatorTests.mxml
index e0447f7..5b5aa6d 100644
--- a/mustella/tests/LangPacks/Japanese/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Japanese/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="JA_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="JA_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				


[08/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34456 CAUSE: When a HierarchicalCollectionViewCursor reacted to a deletion before another cursor, it deleted the parent mappings of the deleted nodes (even if it didn't need to make any change

Posted by mi...@apache.org.
FLEX-34456
CAUSE:
When a HierarchicalCollectionViewCursor reacted to a deletion before another cursor, it deleted the parent mappings of the deleted nodes (even if it didn't need to make any changes to its internal state). Since these mappings are on the HierarchicalCollectionView, the next cursor to react to the same deletion would compute that the parent of the deleted node is null, and everything went bad from there.
In other words, if two or more cursors are created on the same HierarchicalCollectionView, they will work against each other when deletions occur (or replacements, which HierarchicalCollectionView transforms into deletions).
I think that the mapping deletions happened because HierarchicalCollectionViewCursor was written with the assumption that there would only be one cursor for each collection.

SOLUTION:
Now we're making it HierarchicalCollectionView's job to remove the parent mappings of all the affected nodes after it gives all the cursors the chance to react to the deletion.

NOTES:
-As part of this change I realised that the conditions for an if clause introduced for FLEX-34424 were not enough: in order to choose strategy 2) (see revision 82d6b51 for details) for adjusting the cursor position, not only does current need to be null, but afterLast and beforeFirst need to be false (because if they are true, it's expected and correct that current == null).
-This led me to notice that HierarchicalCollectionViewCursor.beforeFirst was true if current == null && currentIndex <= collection.length, which doesn't make sense. In fact, these conditions correctly determine the FLEX-34424 situation, in which the item at the current index doesn't exist anymore, which makes current null, although currentIndex is within bounds. (Another clue that the condition for beforeFirst is wrong is ListCollectionView.beforeFirst, which checks the index against -1, rather than allowing any index up to the collection length.) So I changed this to check for any value < 0.
-I also made HierarchicalCollectionView.parentMap private instead of accessible from other classes (like HierarchicalCollectionViewCursor), and made the operations on it (deletions and additions) accessible only through functions, rather than using the map directly, as before.
-Both the above changes also affected LeafNodeCursor, which also had a defective beforeFirst getter, and also directly manipulated the collection's parentMap.
-Also removed unused variables from HierarchicalCollectionView.removeChild() and .collectionChangeHandler().


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/04bb0b27
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/04bb0b27
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/04bb0b27

Branch: refs/heads/FLEX-34119
Commit: 04bb0b27de8885b7378bcdc2b0ed11a7a1ccd984
Parents: 65d90e3
Author: Mihai Chira <mi...@apache.org>
Authored: Fri Aug 8 12:39:57 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri Aug 8 12:39:57 2014 +0100

----------------------------------------------------------------------
 .../collections/HierarchicalCollectionView.as   | 39 +++++++++++++-------
 .../HierarchicalCollectionViewCursor.as         | 21 +++--------
 .../src/mx/collections/LeafNodeCursor.as        |  7 ++--
 ...hicalCollectionViewCursor_FLEX_34456_Test.as |  3 --
 4 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04bb0b27/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
index 40ba8c3..6d4901c 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
@@ -139,7 +139,7 @@ public class HierarchicalCollectionView extends EventDispatcher
      *  Mapping of UID to parents.  Must be maintained as things get removed/added
      *  This map is created as objects are visited
      */
-    mx_internal var parentMap:Object;
+    private var parentMap:Object;
 
     //--------------------------------------------------------------------------
     //
@@ -536,6 +536,17 @@ public class HierarchicalCollectionView extends EventDispatcher
 
         return undefined;
     }
+
+    public function deleteParentMapping(uid:String):void
+    {
+        delete parentMap[uid];
+    }
+
+    public function addParentMapping(uid:String, parent:Object, replaceExisting:Boolean = true):void
+    {
+        if(replaceExisting || !parentMap.hasOwnProperty(uid))
+            parentMap[uid] = parent;
+    }
     
     /**
      *  @inheritDoc 
@@ -677,7 +688,7 @@ public class HierarchicalCollectionView extends EventDispatcher
             while (!cursor.afterLast)
             {
                 var uid:String = UIDUtil.getUID(cursor.current);
-                delete parentMap[uid];
+                deleteParentMapping(uid);
 
                 try
                 {
@@ -722,7 +733,6 @@ public class HierarchicalCollectionView extends EventDispatcher
     public function removeChild(parent:Object, child:Object):Boolean
     {
         var cursor:IViewCursor;
-        var index:int = 0;
         if (parent == null)
         {
             cursor = treeData.createCursor();
@@ -1007,7 +1017,7 @@ public class HierarchicalCollectionView extends EventDispatcher
         {
             var item:Object = cursor.current;
             var uid:String = UIDUtil.getUID(item);
-            parentMap[uid] = node;
+            addParentMapping(uid, node);
             
             // check that the node is opened or not.
             // If it is open, then update the length with the node's children.
@@ -1091,7 +1101,7 @@ public class HierarchicalCollectionView extends EventDispatcher
         else
         {
             var uid:String = UIDUtil.getUID(node);
-            parentMap[uid] = parent;
+            addParentMapping(uid, parent);
             if (node != null &&
                 openNodes[uid] &&
                 hierarchicalData.canHaveChildren(node) &&
@@ -1303,7 +1313,7 @@ public class HierarchicalCollectionView extends EventDispatcher
         nodeArray.push(node);
 
         var uid:String = UIDUtil.getUID(node);
-        parentMap[uid] = parent;
+        addParentMapping(uid, parent);
         if (openNodes[uid] != null &&
             hierarchicalData.canHaveChildren(node) &&
             hierarchicalData.hasChildren(node))
@@ -1422,11 +1432,7 @@ public class HierarchicalCollectionView extends EventDispatcher
     {
         var i:int;
         var n:int;
-        var location:int;
-        var uid:String;
-        var parent:Object;
         var node:Object;
-        var items:Array;
 
         var convertedEvent:CollectionEvent;
         
@@ -1482,9 +1488,16 @@ public class HierarchicalCollectionView extends EventDispatcher
                         stopTrackUpdates(node);
                     getVisibleNodes(node, null, convertedEvent.items);
                 }
+
                 currentLength -= convertedEvent.items.length;
+
                 dispatchEvent(convertedEvent);
-                
+
+                n = convertedEvent.items.length;
+                for (i = 0; i < n; i++)
+                {
+                    deleteParentMapping(UIDUtil.getUID(convertedEvent.items[i]));
+                }
             }
             else if (ce.kind == CollectionEventKind.UPDATE)
             {
@@ -1629,7 +1642,7 @@ public class HierarchicalCollectionView extends EventDispatcher
                         // if the parent node is opened
                         if (_openNodes[UIDUtil.getUID(parentOfChangingNode)] != null)
                         {
-                            parentMap[UIDUtil.getUID(ce.items[i].newValue)] = parentOfChangingNode;
+                            addParentMapping(UIDUtil.getUID(ce.items[i].newValue), parentOfChangingNode);
                         }
                     }
                 }
@@ -1659,7 +1672,7 @@ public class HierarchicalCollectionView extends EventDispatcher
                     parentOfChangingNode = getParentItem(changingNode);
 
                     if (parentOfChangingNode != null && _openNodes[UIDUtil.getUID(parentOfChangingNode)] != null)
-                        delete parentMap[UIDUtil.getUID(changingNode)];
+                        deleteParentMapping(UIDUtil.getUID(changingNode));
                 }
             }
             else if (ce.kind == CollectionEventKind.RESET)

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04bb0b27/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
index 954d948..ef89479 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
@@ -265,7 +265,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
      */
     public function get beforeFirst():Boolean
     {
-        return (currentIndex <= collection.length && current == null);
+        return currentIndex < 0 && current == null;
     }
     
     //----------------------------------
@@ -281,7 +281,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
      */
     public function get afterLast():Boolean
     {
-        return (currentIndex >= collection.length && current == null); 
+        return currentIndex >= collection.length && current == null;
     } 
     
     //----------------------------------
@@ -755,7 +755,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
 
         updateParentMap(currentNode);
 
-        currentIndex--; 
+        currentIndex--;
         return true;
     }
 
@@ -878,7 +878,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
     public function insert(item:Object):void
     {
         var parent:Object = collection.getParentItem(current);
-        collection.addChildAt(parent, item, currentIndex); 
+        collection.addChildAt(parent, item, currentIndex);
     }
     
     /**
@@ -923,8 +923,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
         if (currentNode != null)
         {
             var uid:String = UIDUtil.getUID(currentNode);
-            if (!collection.parentMap.hasOwnProperty(uid))
-                collection.parentMap[uid] = parentNodes[parentNodes.length - 1];
+            collection.addParentMapping(uid, parentNodes[parentNodes.length - 1], false);
         }
     }
 
@@ -1227,7 +1226,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
             {
                 var lastIndexAffectedByDeletion:int = event.location + n;
                 var isCurrentIndexAmongRemovedNodes:Boolean = lastIndexAffectedByDeletion >= currentIndex;
-                var currentItemNotFoundAmongItsSiblings:Boolean = isCurrentIndexAmongRemovedNodes ? false : current == null;
+                var currentItemNotFoundAmongItsSiblings:Boolean = isCurrentIndexAmongRemovedNodes ? false : (!afterLast && !beforeFirst && current == null);
 
                 if (isCurrentIndexAmongRemovedNodes || currentItemNotFoundAmongItsSiblings)
                 {
@@ -1237,10 +1236,6 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
                     var indexToReturnTo:int = isCurrentIndexAmongRemovedNodes ? event.location : currentIndex - n;
                     moveToFirst();
                     seek(CursorBookmark.FIRST, indexToReturnTo);
-                    for (i = 0; i < n; i++)
-                    {
-                        delete collection.parentMap[UIDUtil.getUID(event.items[i])];
-                    }
 
                     return;
                 }
@@ -1303,10 +1298,7 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
                         }
                     }
                 }
-
-                delete collection.parentMap[UIDUtil.getUID(changingNode)];
             }
-            
         }
         else if (event.kind == CollectionEventKind.RESET)
         {
@@ -1326,5 +1318,4 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
         }
     }
 }
-
 }

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04bb0b27/frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as b/frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
index 143e44f..0703b78 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/LeafNodeCursor.as
@@ -236,7 +236,7 @@ public class LeafNodeCursor extends EventDispatcher
 	 */
     public function get beforeFirst():Boolean
     {
-    	return (currentIndex <= collection.length && current == null);
+    	return currentIndex < 0 && current == null;
     }
     
 	//----------------------------------
@@ -247,7 +247,7 @@ public class LeafNodeCursor extends EventDispatcher
 	 */
     public function get afterLast():Boolean
     {
-        return (currentIndex >= collection.length && current == null); 
+        return currentIndex >= collection.length && current == null;
     } 
     
 	//----------------------------------
@@ -304,8 +304,7 @@ public class LeafNodeCursor extends EventDispatcher
     		return false; 
     	
 		var uid:String = UIDUtil.getUID(currentNode);
-		if (!collection.parentMap.hasOwnProperty(uid))
-			collection.parentMap[uid] = parentNodes[parentNodes.length - 1];
+        collection.addParentMapping(uid, parentNodes[parentNodes.length - 1], false);
 
 		var flag:Boolean = true;		
 		// If current node is a branch and is open, the first child is our next item so return it

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04bb0b27/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
index 5682c7f..2127597 100644
--- a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34456_Test.as
@@ -49,7 +49,6 @@ package mx.collections
 			_currentHierarchy = _utils.clone(_generatedHierarchy);
 			_utils.openAllNodes(_currentHierarchy);
 			_sut = _currentHierarchy.createCursor() as HierarchicalCollectionViewCursor;
-			_sut.name = "_sut";
 		}
 		
 		[After]
@@ -76,7 +75,6 @@ package mx.collections
 		   
             //2. Perform operation
 		   _operationCursor = _currentHierarchy.createCursor() as HierarchicalCollectionViewCursor;
-		   _operationCursor.name = "_operationCursor";
 		   _operationCursor.seek(new CursorBookmark(operationIndex));
 		   
             if (operation == OP_ADD)
@@ -89,7 +87,6 @@ package mx.collections
 
             //3. Create mirror HierarchicalCollectionView from the changed root, as the source of truth
             _mirrorCursor = _utils.navigateToItem(_currentHierarchy.createCursor() as HierarchicalCollectionViewCursor, selectedNode) as HierarchicalCollectionViewCursor;
-			_mirrorCursor.name = "_mirrorCursor";
 
             //4. Navigate somewhere in both HierarchicalCollectionViews and make sure they do the same thing
             _sut.moveNext();


[07/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - Merge remote-tracking branch 'origin/develop' into FLEX-34119

Posted by mi...@apache.org.
Merge remote-tracking branch 'origin/develop' into FLEX-34119


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/65d90e36
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/65d90e36
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/65d90e36

Branch: refs/heads/FLEX-34119
Commit: 65d90e360e961742cb9a22047ec1fcafaddf94b5
Parents: 00e718d cecd8e4
Author: Mihai Chira <mi...@apache.org>
Authored: Fri Aug 8 09:20:04 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri Aug 8 09:20:04 2014 +0100

----------------------------------------------------------------------
 frameworks/flex-config-template.xml             |   2 +-
 .../src/mx/validators/EmailValidator.as         |  10 ---
 ide/checkAllPlayerGlobals.sh                    |   4 +-
 .../tests/emailValidatorTests.mxml              |  16 ----
 .../tests/emailValidatorTests.mxml              |  16 ----
 .../Danish/tests/emailValidatorTests.mxml       |  16 ----
 .../Dutch/tests/emailValidatorTests.mxml        |  16 ----
 .../Finnish/tests/emailValidatorTests.mxml      |  16 ----
 .../French/tests/emailValidatorTests.mxml       |  16 ----
 .../German/tests/emailValidatorTests.mxml       |  16 ----
 .../Italian/tests/emailValidatorTests.mxml      |  16 ----
 .../JA_EmailValidator_invalidDomainError.png    | Bin 2100 -> 0 bytes
 .../Japanese/tests/emailValidatorTests.mxml     |  16 ----
 .../Korean/tests/emailValidatorTests.mxml       |  16 ----
 .../Norwegian/tests/emailValidatorTests.mxml    |  16 ----
 .../Portuguese/tests/emailValidatorTests.mxml   |  16 ----
 .../Russian/tests/emailValidatorTests.mxml      |  16 ----
 .../Spanish/tests/emailValidatorTests.mxml      |  16 ----
 .../Swedish/tests/emailValidatorTests.mxml      |  16 ----
 .../Properties/Validators_Email_IPV6.mxml       |  82 +++++++++---------
 .../Properties/Validators_Email_IPV6_spark.mxml |  82 +++++++++---------
 .../Properties/Validators_Email_Properties.mxml |  86 +++++++++----------
 .../Validators_Email_Properties_spark.mxml      |  74 ++++++++--------
 .../Properties/baselines/invalidDomainError.png | Bin 4918 -> 2746 bytes
 .../baselines/invalidDomainError_spark.png      | Bin 5439 -> 3009 bytes
 .../baselines/ipv6_invalidDomainError.png       | Bin 4444 -> 2641 bytes
 .../baselines/ipv6_invalidDomainError_spark.png | Bin 4667 -> 2796 bytes
 27 files changed, 165 insertions(+), 415 deletions(-)
----------------------------------------------------------------------



[04/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34450 remove now redundant email domain length checks from locale unit tests

Posted by mi...@apache.org.
FLEX-34450 remove now redundant email domain length checks from locale unit tests


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/881908ff
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/881908ff
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/881908ff

Branch: refs/heads/FLEX-34119
Commit: 881908ffae0cd0b6d8a11da8de155d58f5c9e8de
Parents: 2f8c8f5
Author: Tom Chiverton <fa...@wopr.house>
Authored: Mon Aug 4 19:19:11 2014 +0100
Committer: Tom Chiverton <fa...@wopr.house>
Committed: Mon Aug 4 19:19:11 2014 +0100

----------------------------------------------------------------------
 .../tests/emailValidatorTests.mxml                  | 16 ----------------
 .../tests/emailValidatorTests.mxml                  | 16 ----------------
 .../LangPacks/Danish/tests/emailValidatorTests.mxml | 16 ----------------
 .../LangPacks/Dutch/tests/emailValidatorTests.mxml  | 16 ----------------
 .../Finnish/tests/emailValidatorTests.mxml          | 16 ----------------
 .../LangPacks/French/tests/emailValidatorTests.mxml | 16 ----------------
 .../LangPacks/German/tests/emailValidatorTests.mxml | 16 ----------------
 .../Italian/tests/emailValidatorTests.mxml          | 16 ----------------
 .../LangPacks/Korean/tests/emailValidatorTests.mxml | 16 ----------------
 .../Norwegian/tests/emailValidatorTests.mxml        | 16 ----------------
 .../Portuguese/tests/emailValidatorTests.mxml       | 16 ----------------
 .../Russian/tests/emailValidatorTests.mxml          | 16 ----------------
 .../Spanish/tests/emailValidatorTests.mxml          | 16 ----------------
 .../Swedish/tests/emailValidatorTests.mxml          | 16 ----------------
 14 files changed, 224 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/ChineseSimplified/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/ChineseSimplified/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/ChineseSimplified/tests/emailValidatorTests.mxml
index 6751b1a..8c7c034 100644
--- a/mustella/tests/LangPacks/ChineseSimplified/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/ChineseSimplified/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="CN_EmailValidator_invalidDomainError" description="Test error message when the suffix (the top level domain) is not 2, 3, 4 or 6 characters long. " keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="CN_EmailValidator_missingAtSignError" description="Test error message when there is no at sign in the email address. " keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/ChineseTraditional/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/ChineseTraditional/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/ChineseTraditional/tests/emailValidatorTests.mxml
index 073b6e4..4f23780 100644
--- a/mustella/tests/LangPacks/ChineseTraditional/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/ChineseTraditional/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="TW_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="TW_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Danish/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Danish/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Danish/tests/emailValidatorTests.mxml
index aa3b21e..909d136 100644
--- a/mustella/tests/LangPacks/Danish/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Danish/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="DA_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="DA_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Dutch/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Dutch/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Dutch/tests/emailValidatorTests.mxml
index 6f4e1b9..292b244 100644
--- a/mustella/tests/LangPacks/Dutch/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Dutch/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="NL_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="NL_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Finnish/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Finnish/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Finnish/tests/emailValidatorTests.mxml
index 0577ab3..875519e 100644
--- a/mustella/tests/LangPacks/Finnish/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Finnish/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="FI_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="FI_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/French/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/French/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/French/tests/emailValidatorTests.mxml
index 8ea4962..a547a28 100644
--- a/mustella/tests/LangPacks/French/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/French/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="FR_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="FR_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/German/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/German/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/German/tests/emailValidatorTests.mxml
index 832536e..957beac 100644
--- a/mustella/tests/LangPacks/German/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/German/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="DE_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="DE_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Italian/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Italian/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Italian/tests/emailValidatorTests.mxml
index b305147..80db063 100644
--- a/mustella/tests/LangPacks/Italian/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Italian/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="IT_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="IT_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Korean/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Korean/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Korean/tests/emailValidatorTests.mxml
index 1c3b345..a917ab4 100644
--- a/mustella/tests/LangPacks/Korean/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Korean/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="KO_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="KO_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Norwegian/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Norwegian/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Norwegian/tests/emailValidatorTests.mxml
index 17f5a84..14b906d 100644
--- a/mustella/tests/LangPacks/Norwegian/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Norwegian/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="NO_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="NO_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Portuguese/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Portuguese/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Portuguese/tests/emailValidatorTests.mxml
index 46dd16d..2e72d91 100644
--- a/mustella/tests/LangPacks/Portuguese/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Portuguese/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="PT_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="PT_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Russian/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Russian/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Russian/tests/emailValidatorTests.mxml
index 8484d66..e04e964 100644
--- a/mustella/tests/LangPacks/Russian/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Russian/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="RU_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="RU_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Spanish/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Spanish/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Spanish/tests/emailValidatorTests.mxml
index 6576d0f..5fb30dc 100644
--- a/mustella/tests/LangPacks/Spanish/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Spanish/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="ES_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="ES_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/881908ff/mustella/tests/LangPacks/Swedish/tests/emailValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/LangPacks/Swedish/tests/emailValidatorTests.mxml b/mustella/tests/LangPacks/Swedish/tests/emailValidatorTests.mxml
index 247d137..1daedf1 100644
--- a/mustella/tests/LangPacks/Swedish/tests/emailValidatorTests.mxml
+++ b/mustella/tests/LangPacks/Swedish/tests/emailValidatorTests.mxml
@@ -87,22 +87,6 @@
 				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
 			</body>  
 		</TestCase>
-		<TestCase testID="SV_EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
-			<setup>
-				
-				<ResetComponent target="ct" className="components.CustomTester" waitEvent="updateComplete" waitTarget="ct" />
-				<SetProperty target="ct.myEmailV.myEm" propertyName="property" value="text"/>
-				<SetProperty target="ct.myEmailV.ti1" propertyName="text" value="mavenki@yahoo.hello" waitEvent="updateComplete" waitTarget="ct.myEmailV.ti1"/>
-			</setup>
-			<body>
-				<RunCode code="application.ct.myEmailV.myEm.validate(application.ct.myEmailV.ti1.text)"/> 
-				<AssertEvent target="ct.myEmailV.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="ct.myEmailV.myEm" eventName="valid" />
-				<DispatchMouseEvent target="ct.myEmailV.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="ct.myEmailV.ti1"/>
-				<RunCode code="getErrorTip()" />
-				<CompareBitmap target="script:curTip" url="../tests/baselines/$testID.png"  />				
-			</body>  
-		</TestCase>
 		<TestCase testID="SV_EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
 				


[09/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34458 Added a unit test which reproduces the bug (which means it currently fails).

Posted by mi...@apache.org.
FLEX-34458 Added a unit test which reproduces the bug (which means it currently fails).


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/979c7a8f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/979c7a8f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/979c7a8f

Branch: refs/heads/FLEX-34119
Commit: 979c7a8f69fb1f4697c11874e94220fe5c2106aa
Parents: 04bb0b2
Author: Mihai Chira <mi...@apache.org>
Authored: Fri Aug 8 15:44:21 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri Aug 8 15:44:21 2014 +0100

----------------------------------------------------------------------
 ...hicalCollectionViewCursor_FLEX_34458_Test.as | 111 +++++++++++++++++++
 1 file changed, 111 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/979c7a8f/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
----------------------------------------------------------------------
diff --git a/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
new file mode 100644
index 0000000..e875291
--- /dev/null
+++ b/frameworks/tests/unitTests/mx/collections/HierarchicalCollectionViewCursor_FLEX_34458_Test.as
@@ -0,0 +1,111 @@
+package mx.collections
+{
+import flash.events.UncaughtErrorEvent;
+
+import mx.collections.ArrayCollection;
+import mx.collections.CursorBookmark;
+import mx.collections.HierarchicalCollectionView;
+import mx.collections.HierarchicalCollectionViewCursor;
+import mx.core.FlexGlobals;
+
+    import org.flexunit.asserts.assertEquals;
+
+    import org.flexunit.asserts.assertNotNull;
+import org.flexunit.asserts.assertTrue;
+import org.flexunit.runners.Parameterized;
+
+import spark.components.WindowedApplication;
+
+public class HierarchicalCollectionViewCursor_FLEX_34458_Test
+	{
+        private static var _utils:HierarchicalCollectionViewTestUtils = new HierarchicalCollectionViewTestUtils();
+        private static var _noErrorsThrown:Boolean = true;
+        private static var _currentHierarchy:HierarchicalCollectionView;
+        private static var _sut:HierarchicalCollectionViewCursor;
+        private static var _operationCursor:HierarchicalCollectionViewCursor;
+
+		[BeforeClass]
+		public static function setUpBeforeClass():void
+		{
+            (FlexGlobals.topLevelApplication as WindowedApplication).loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtClientError);
+        }
+		
+		[AfterClass]
+		public static function tearDownAfterClass():void
+		{
+			(FlexGlobals.topLevelApplication as WindowedApplication).loaderInfo.uncaughtErrorEvents.removeEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, onUncaughtClientError);
+		}
+		
+		[Before]
+		public function setUp():void
+		{
+			_currentHierarchy = _utils.generateOpenHierarchyFromRootListWithAllNodesMethod(_utils.generateHierarchySourceFromString(HIERARCHY_STRING));
+			_sut = _currentHierarchy.createCursor() as HierarchicalCollectionViewCursor;
+		}
+		
+		[After]
+		public function tearDown():void
+		{
+			_sut = null;
+			_currentHierarchy = null;
+			_operationCursor = null;
+		}
+
+       	[Test]
+        public function testReproduce_FLEX_34458():void
+        {
+			//WHEN
+			//1. Select a specific node
+			_sut.moveToLast();
+            _sut.movePrevious(); //Region(2)->City(3), with currentChildBookmark == CursorBookmark.LAST
+			
+            var selectedNode:DataNode = DataNode(_sut.current);
+            assertNotNull(selectedNode);
+		    selectedNode.isSelected = true;
+
+            //2. Remove previous region
+            _operationCursor = _currentHierarchy.createCursor() as HierarchicalCollectionViewCursor;
+            _operationCursor.seek(CursorBookmark.FIRST, 3); //Region(2)->City(1)
+            performRemoval(_operationCursor);
+
+            //THEN
+            assertTrue(_noErrorsThrown);
+            assertEquals(selectedNode, _sut.current);
+        }
+
+
+        private static function performRemoval(where:HierarchicalCollectionViewCursor):void
+        {
+            var itemToBeRemoved:DataNode = where.current as DataNode;
+            assertNotNull(itemToBeRemoved);
+
+            var parentOfReplacementLocation:DataNode = _currentHierarchy.getParentItem(itemToBeRemoved) as DataNode;
+            var collectionToChange:ArrayCollection = parentOfReplacementLocation ? parentOfReplacementLocation.children : _utils.getRoot(_currentHierarchy) as ArrayCollection;
+            var removedItemIndex:int = collectionToChange.getItemIndex(itemToBeRemoved);
+            collectionToChange.removeItemAt(removedItemIndex);
+        }
+
+		
+		
+		private static function onUncaughtClientError(event:UncaughtErrorEvent):void
+		{
+			event.preventDefault();
+			event.stopImmediatePropagation();
+			_noErrorsThrown = false;
+			
+			trace("\n FAIL: " + event.error);
+			_utils.printHCollectionView(_currentHierarchy);
+		}
+
+
+        private static const HIERARCHY_STRING:String = (<![CDATA[
+         Region(1)
+         Region(2)
+		 Region(2)->City(0)
+         Region(2)->City(1)
+         Region(2)->City(2)
+         Region(2)->City(3)
+         Region(3)
+       ]]>).toString();
+	}
+}
\ No newline at end of file


[10/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34458 CAUSE: Because HierarchicalCollectionViewCursor uses both relative and absolute bookmarks in the various collections of the hierarchy, there needs to be special treatment for these two c

Posted by mi...@apache.org.
FLEX-34458
CAUSE:
Because HierarchicalCollectionViewCursor uses both relative and absolute bookmarks in the various collections of the hierarchy, there needs to be special treatment for these two cases. Namely, while it works great with absolute bookmarks to call .movePrevious on the bookmark when something is deleted in the same collection before the selected item, it doesn't work well for the relative CursorBookmark.LAST currentChildBookmark value. Because HierarchicalCollectionViewCursor.collectionChangeHandler() did not make any difference between absolute and relative bookmarks, it used to call .movePrevious() on the bookmark even if it was the absolute value CursorBookmark.LAST.

SOLUTION:
In this situation we don't need to .movePrevious() when items above are deleted, because CursorBookmark.LAST will always point to the last item in the collection, no matter what changes happened to that collection.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/2f1b7682
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/2f1b7682
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/2f1b7682

Branch: refs/heads/FLEX-34119
Commit: 2f1b76827763b32988b1a1ccc73e603d9d7d788a
Parents: 979c7a8
Author: Mihai Chira <mi...@apache.org>
Authored: Fri Aug 8 15:54:05 2014 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri Aug 8 16:11:59 2014 +0100

----------------------------------------------------------------------
 .../src/mx/collections/HierarchicalCollectionViewCursor.as    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/2f1b7682/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
index ef89479..1f3244d 100644
--- a/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
+++ b/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as
@@ -1261,6 +1261,9 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
 
                     if (parentOfChangingNode == parentOfCurrentNode)
                     {
+                        if(currentChildBookmark == CursorBookmark.LAST)
+                            break;
+
                         if (changingNodeAndSiblings != null)
                         {
                             changingCollectionCursor = changingNodeAndSiblings.createCursor();
@@ -1285,6 +1288,10 @@ public class HierarchicalCollectionViewCursor extends EventDispatcher
                                 changingNodeCollectionBookmarkIndex = parentOfChangingNodeIndex + 1;
                                 changingCollectionCursor = changingNodeAndSiblings.createCursor();
                                 bookmarkInChangingCollection = parentBookmarkStack[changingNodeCollectionBookmarkIndex];
+
+                                if(bookmarkInChangingCollection == CursorBookmark.LAST)
+                                    break;
+
                                 try
                                 {
                                     changingCollectionCursor.seek(bookmarkInChangingCollection);


[02/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - Fix FLEX-34450 by removing the length checks for the last part of an email domain Update Mustella tests to mathc new behaviour i.e. the tests should now return valid

Posted by mi...@apache.org.
Fix FLEX-34450 by removing the length checks for the last part of an email domain
Update Mustella tests to mathc new behaviour i.e. the tests should now return valid


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ed6da554
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ed6da554
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ed6da554

Branch: refs/heads/FLEX-34119
Commit: ed6da554e931c317717f8e8673e1f698140b0be1
Parents: 6b1330f
Author: Tom Chiverton <to...@apache.org>
Authored: Fri Aug 1 18:41:05 2014 +0100
Committer: Tom Chiverton <to...@apache.org>
Committed: Fri Aug 1 18:41:05 2014 +0100

----------------------------------------------------------------------
 .../src/mx/validators/EmailValidator.as         |  10 ---
 .../Properties/Validators_Email_IPV6.mxml       |  82 +++++++++---------
 .../Properties/Validators_Email_IPV6_spark.mxml |  82 +++++++++---------
 .../Properties/Validators_Email_Properties.mxml |  86 +++++++++----------
 .../Validators_Email_Properties_spark.mxml      |  74 ++++++++--------
 .../Properties/baselines/invalidDomainError.png | Bin 4918 -> 2746 bytes
 .../baselines/ipv6_invalidDomainError.png       | Bin 4444 -> 2641 bytes
 .../baselines/ipv6_invalidDomainError_spark.png | Bin 4667 -> 2796 bytes
 8 files changed, 162 insertions(+), 172 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/frameworks/projects/framework/src/mx/validators/EmailValidator.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/validators/EmailValidator.as b/frameworks/projects/framework/src/mx/validators/EmailValidator.as
index f928371..9776db3 100644
--- a/frameworks/projects/framework/src/mx/validators/EmailValidator.as
+++ b/frameworks/projects/framework/src/mx/validators/EmailValidator.as
@@ -217,16 +217,6 @@ public class EmailValidator extends Validator
 				if (nextPeriodPos == -1)
 				{
 					lastDomain = domain.substring(periodPos + 1);
-					if (lastDomain.length != 3 &&
-						lastDomain.length != 2 &&
-						lastDomain.length != 4 &&
-						lastDomain.length != 6)
-					{
-						results.push(new ValidationResult(
-							true, baseField, "invalidDomain",
-							validator.invalidDomainError));
-						return results;
-					}
 					break;
 				}
 				else if (nextPeriodPos == periodPos + 1)

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6.mxml b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6.mxml
index b6c153e..f782ac1 100644
--- a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6.mxml
+++ b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6.mxml
@@ -48,7 +48,7 @@
     <testCases>
         <TestCase testID="EmailValidator_tooManyAtSignsError"  keywords="[tooManyAtSignsError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -58,7 +58,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="first@name@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -69,12 +69,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_tooManyAtSignsError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_missingUsernameError"  keywords="[missingUsernameError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -84,7 +84,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -95,12 +95,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingUsernameError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_missingUsernameError2"  keywords="[missingPeriodInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -110,7 +110,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@domaincom" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -121,12 +121,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingPeriodInDomainError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -136,23 +136,23 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@domain.invalid" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
                 <DispatchKeyEvent keys="[TAB, TAB]"/>
 
-                <AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-                <AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-                <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
+                <AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
+                <AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
+                <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10" />
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidDomainError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidPeriodsInDomainError"  keywords="[invalidPeriodsInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -162,7 +162,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@..domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -173,12 +173,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidPeriodsInDomainError.png" timeout="5000" />
-            </body>  
-        </TestCase>     
+            </body>
+        </TestCase>
 
         <TestCase testID="EmailValidator_invalidIPDomainError"  keywords="[invalidIPDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -188,7 +188,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@[.0]" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -199,13 +199,13 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidIPDomainError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
-    
+
+
         <TestCase testID="EmailValidator_InvalidPeriodsInDomainError"  keywords="[InvalidPeriodsInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -215,7 +215,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@..domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -226,12 +226,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidPeriodsInDomainError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_InvalidIPDomainError_2"  keywords="[InvalidIPDomainError_2, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -241,7 +241,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@[5000.0.0.0]" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -252,12 +252,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidIPDomainError_2.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -267,7 +267,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="namedomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -278,12 +278,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingAtSignError.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidCharError"  keywords="[invalidCharError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -293,7 +293,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="n*me@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -304,7 +304,7 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidCharError.png" timeout="5000" />
-            </body>  
-        </TestCase>     
+            </body>
+        </TestCase>
     </testCases>
 </UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6_spark.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6_spark.mxml b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6_spark.mxml
index b5b6765..a06925f 100644
--- a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6_spark.mxml
+++ b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_IPV6_spark.mxml
@@ -48,7 +48,7 @@
     <testCases>
         <TestCase testID="EmailValidator_tooManyAtSignsError_spark" keywords="[tooManyAtSignsError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -58,7 +58,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="first@name@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -69,12 +69,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_tooManyAtSignsError_spark.png" timeout="5000" numColorVariances="4" ignoreMaxColorVariance="true"/>
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_missingUsernameError_spark" keywords="[missingUsernameError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -84,7 +84,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -95,12 +95,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingUsernameError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_missingUsernameError2_spark" keywords="[missingPeriodInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -110,7 +110,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@domaincom" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -121,12 +121,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingPeriodInDomainError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidDomainError_spark" keywords="[invalidDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -136,23 +136,23 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@domain.invalid" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
                 <DispatchKeyEvent keys="[TAB, TAB]"/>
 
-                <AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-                <AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-                <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
+                <AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
+                <AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
+                <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10" />
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidDomainError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidPeriodsInDomainError_spark" keywords="[invalidPeriodsInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -162,7 +162,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@..domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -173,12 +173,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidPeriodsInDomainError_spark.png" timeout="5000" />
-            </body>  
-        </TestCase>     
+            </body>
+        </TestCase>
 
         <TestCase testID="EmailValidator_invalidIPDomainError_spark" keywords="[invalidIPDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -188,7 +188,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@[.0]" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -199,13 +199,13 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidIPDomainError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
-    
+
+
         <TestCase testID="EmailValidator_InvalidPeriodsInDomainError_spark" keywords="[InvalidPeriodsInDomainError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -215,7 +215,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@..domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -226,12 +226,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidPeriodsInDomainError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
 
         <TestCase testID="EmailValidator_InvalidIPDomainError_2_spark" keywords="[InvalidIPDomainError_2, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -241,7 +241,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="name@[5000.0.0.0]" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -252,12 +252,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidIPDomainError_2_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_missingAtSignError_spark" keywords="[missingAtSignError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -267,7 +267,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="namedomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -278,12 +278,12 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_missingAtSignError_spark.png" timeout="5000" />
-            </body>  
+            </body>
         </TestCase>
-        
+
         <TestCase testID="EmailValidator_invalidCharError_spark" keywords="[invalidCharError, EmailValidator]">
             <setup>
-                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+                <ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
                 <SetProperty target="myCustomEm.myEm" propertyName="tooManyAtSignsError" value="TooManyAtSignsError: Email value has too many @ signs."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingUsernameError" value="MissingUsernameError: Value missing username."/>
@@ -293,7 +293,7 @@
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidIPDomainError" value="InvalidIPDomainError: Incorrect IP Domain format."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="missingAtSignError" value="MissingAtSignError: Email address should have @ character."/>
                 <SetProperty target="myCustomEm.myEm" propertyName="invalidCharError" value="InvalidCharError: Invalid character(s) in the email address."/>
-                
+
             </setup>
             <body>
                 <SetProperty target="myCustomEm.ti1" propertyName="text" value="n*me@domain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -304,7 +304,7 @@
                 <DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
                 <WaitForEffectsToEnd />
                 <CompareBitmap target="" url="../Properties/baselines/ipv6_invalidCharError_spark.png" timeout="5000" numColorVariances="6" ignoreMaxColorVariance="true"/>
-            </body>  
-        </TestCase>     
+            </body>
+        </TestCase>
     </testCases>
 </UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties.mxml b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties.mxml
index 9eda33d..ae32f1a 100644
--- a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties.mxml
+++ b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties.mxml
@@ -48,16 +48,16 @@
 	<testCases>
 		<TestCase testID="EmailValidator_valid"  keywords="[valid, EmailValidator]">
 			<setup>
-				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
-				
+
 			</setup>
 			<body>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="sarvatanayadatta@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
-			</body>  
+			</body>
 		</TestCase>
 
 		<TestCase testID="EmailValidator_invalidCharError1"  keywords="[invalidCharError, EmailValidator]">
@@ -71,11 +71,11 @@
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-			</body>  
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidCharError2"  keywords="[invalidCharError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki!ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -87,12 +87,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidCharError.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidCharError.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidDomainError"  keywords="[invalidDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki@ydomain.hello" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -100,16 +100,16 @@
 			</setup>
 			<body>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
-				<AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
+				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
+				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
+				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10" />
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_missingAtSignError"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkiydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -121,12 +121,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingAtSignError.png" timeout="2000" />				
-			</body>  
-		</TestCase>	
+				<CompareBitmap target="" url="../Properties/baselines/missingAtSignError.png" timeout="2000" />
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_missingUsernameError"  keywords="[missingUsernameError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkiydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -138,12 +138,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingUsernameError.png" timeout="2000" />				
-			</body>  
-		</TestCase>  
+				<CompareBitmap target="" url="../Properties/baselines/missingUsernameError.png" timeout="2000" />
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_tooManyAtSignsError"  keywords="[tooManyAtSignsError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki@satd@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -155,12 +155,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/tooManyAtSignsError.png" timeout="2000" />				
-			</body>  
-		</TestCase>		
+				<CompareBitmap target="" url="../Properties/baselines/tooManyAtSignsError.png" timeout="2000" />
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_invalidPeriodsInDomainError"  keywords="[invalidPeriodsInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkisatd@ydomain..com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -172,12 +172,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidPeriodsInDomainError.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidPeriodsInDomainError.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidHyphensInDomainError1"  keywords="[invalidHyphensInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkisatd@-ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -189,12 +189,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidHyphensInDomainError1.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidHyphensInDomainError1.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidHyphensInDomainError2"  keywords="[invalidHyphensInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkisatd@ydomain-.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -206,8 +206,8 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidHyphensInDomainError2.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidHyphensInDomainError2.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_validHyphensInDomain"  keywords="[EmailValidator]">
 			<setup>
@@ -220,11 +220,11 @@
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
-			</body>  
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_missingPeriodInDomainError"  keywords="[missingPeriodInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="satd@ydomaincom" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -236,23 +236,23 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingPeriodInDomainError.png" timeout="2000" />				
-			</body>  
-		</TestCase>	
+				<CompareBitmap target="" url="../Properties/baselines/missingPeriodInDomainError.png" timeout="2000" />
+			</body>
+		</TestCase>
 
 		<TestCase testID="EmailValidator_plusSign"  keywords="[valid, EmailValidator]">
 			<setup>
-				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
-				
+
 			</setup>
 			<body>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="sarvata+nayadatta@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
-			</body>  
+			</body>
 		</TestCase>
-		
+
 	</testCases>
 </UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties_spark.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties_spark.mxml b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties_spark.mxml
index e05d554..e488b91 100644
--- a/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties_spark.mxml
+++ b/mustella/tests/Validators/EmailValidator/Properties/Validators_Email_Properties_spark.mxml
@@ -48,16 +48,16 @@
 	<testCases>
 		<TestCase testID="EmailValidator_valid_spark"  keywords="[valid, EmailValidator]">
 			<setup>
-				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
-				
+
 			</setup>
 			<body>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="sarvatanayadatta@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
-			</body>  
+			</body>
 		</TestCase>
 
 		<TestCase testID="EmailValidator_invalidCharError1_spark"  keywords="[invalidCharError, EmailValidator]">
@@ -71,11 +71,11 @@
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-			</body>  
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidCharError2_spark"  keywords="[invalidCharError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki!ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -87,12 +87,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidCharError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidCharError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_invalidDomainError_spark"  keywords="[invalidDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki@ydomain.hello" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -100,16 +100,16 @@
 			</setup>
 			<body>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
-				<AssertEvent target="myCustomEm.myEm" eventName="invalid" eventClass="mx.events::ValidationResultEvent" />
-				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
-				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
+				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
+				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
+				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError_spark.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError_spark.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_missingAtSignError_spark"  keywords="[missingAtSignError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkiydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -121,12 +121,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingAtSignError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true"/>				
-			</body>  
-		</TestCase>	
+				<CompareBitmap target="" url="../Properties/baselines/missingAtSignError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true"/>
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_missingUsernameError_spark"  keywords="[missingUsernameError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkiydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -138,12 +138,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingUsernameError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true"/>				
-			</body>  
-		</TestCase>  
+				<CompareBitmap target="" url="../Properties/baselines/missingUsernameError_spark.png" timeout="2000" numColorVariances="4" ignoreMaxColorVariance="true"/>
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_tooManyAtSignsError_spark"  keywords="[tooManyAtSignsError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenki@satd@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -155,12 +155,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/tooManyAtSignsError_spark.png" timeout="2000" numColorVariances="6" ignoreMaxColorVariance="true"/>				
-			</body>  
-		</TestCase>		
+				<CompareBitmap target="" url="../Properties/baselines/tooManyAtSignsError_spark.png" timeout="2000" numColorVariances="6" ignoreMaxColorVariance="true"/>
+			</body>
+		</TestCase>
 		<TestCase testID="EmailValidator_invalidPeriodsInDomainError_spark"  keywords="[invalidPeriodsInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="mavenkisatd@ydomain..com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -172,12 +172,12 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/invalidPeriodsInDomainError_spark.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/invalidPeriodsInDomainError_spark.png" timeout="2000" />
+			</body>
 		</TestCase>
 		<TestCase testID="EmailValidator_missingPeriodInDomainError_spark"  keywords="[missingPeriodInDomainError, EmailValidator]">
 			<setup>
-				
+
 				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="satd@ydomaincom" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
@@ -189,23 +189,23 @@
 				<AssertNoEvent target="myCustomEm.myEm" eventName="valid" />
 				<DispatchMouseEvent target="myCustomEm.ti1" type="mouseOver" localX="10" localY="10"  waitEvent="toolTipShown" waitTarget="myCustomEm.ti1"/>
 				<WaitForEffectsToEnd />
-				<CompareBitmap target="" url="../Properties/baselines/missingPeriodInDomainError_spark.png" timeout="2000" />				
-			</body>  
+				<CompareBitmap target="" url="../Properties/baselines/missingPeriodInDomainError_spark.png" timeout="2000" />
+			</body>
 		</TestCase>
-		
+
 		<TestCase testID="EmailValidator_plusSign_spark"  keywords="[valid, EmailValidator]">
 			<setup>
-				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/> 
+				<ResetComponent target="myCustomEm" className="CustomEm"  waitEvent="updateComplete" waitTarget="myCustomEm"/>
 				<SetProperty target="myCustomEm.myEm" propertyName="property" value="text"/>
-				
+
 			</setup>
 			<body>
 				<SetProperty target="myCustomEm.ti1" propertyName="text" value="sarvat+anayadatta@ydomain.com" waitEvent="updateComplete" waitTarget="myCustomEm.ti1"/>
 				<DispatchKeyEvent keys="[TAB, TAB]"/>
 				<AssertEvent target="myCustomEm.myEm" eventName="valid" eventClass="mx.events::ValidationResultEvent" />
 				<AssertNoEvent target="myCustomEm.myEm" eventName="invalid" />
-			</body>  
-		</TestCase>		
-		
+			</body>
+		</TestCase>
+
 	</testCases>
 </UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError.png b/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError.png
index a500e73..6673124 100644
Binary files a/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError.png and b/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError.png differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError.png b/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError.png
index 98ad05b..a4f302b 100644
Binary files a/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError.png and b/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError.png differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed6da554/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError_spark.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError_spark.png b/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError_spark.png
index 8a31cdd..1b4bb89 100644
Binary files a/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError_spark.png and b/mustella/tests/Validators/EmailValidator/Properties/baselines/ipv6_invalidDomainError_spark.png differ


[05/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - FLEX-34450 updated baseline image

Posted by mi...@apache.org.
FLEX-34450 updated baseline image


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3ba58bec
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3ba58bec
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3ba58bec

Branch: refs/heads/FLEX-34119
Commit: 3ba58beca62781341ea89e9a6967df22df6644f1
Parents: 881908f
Author: Tom Chiverton <fa...@wopr.house>
Authored: Tue Aug 5 22:31:10 2014 +0100
Committer: Tom Chiverton <fa...@wopr.house>
Committed: Tue Aug 5 22:31:10 2014 +0100

----------------------------------------------------------------------
 .../baselines/invalidDomainError_spark.png       | Bin 5439 -> 3009 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3ba58bec/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError_spark.png
----------------------------------------------------------------------
diff --git a/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError_spark.png b/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError_spark.png
index 4758a8a..a898ac5 100644
Binary files a/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError_spark.png and b/mustella/tests/Validators/EmailValidator/Properties/baselines/invalidDomainError_spark.png differ


[06/10] git commit: [flex-sdk] [refs/heads/FLEX-34119] - correct case for osmf.swc so compiles on Linux work

Posted by mi...@apache.org.
correct case for osmf.swc so compiles on Linux work


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/cecd8e46
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/cecd8e46
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/cecd8e46

Branch: refs/heads/FLEX-34119
Commit: cecd8e464b6121eaf45f2596bd9dbaebd439165b
Parents: 3ba58be
Author: Tom Chiverton <fa...@wopr.house>
Authored: Tue Aug 5 22:43:35 2014 +0100
Committer: Tom Chiverton <fa...@wopr.house>
Committed: Tue Aug 5 22:43:35 2014 +0100

----------------------------------------------------------------------
 frameworks/flex-config-template.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/cecd8e46/frameworks/flex-config-template.xml
----------------------------------------------------------------------
diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml
index 53776fd..b9395dc 100644
--- a/frameworks/flex-config-template.xml
+++ b/frameworks/flex-config-template.xml
@@ -406,7 +406,7 @@
 	    Flex Library project, FlashBuilder will allow "Link Type" to be external.
     -->
     <runtime-shared-library-path>
-		<path-element>libs/OSMF.swc</path-element>
+		<path-element>libs/osmf.swc</path-element>
 		<rsl-url>osmf_${build.number}.swf</rsl-url>
 	</runtime-shared-library-path>