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 <falken@wopr.house>
Authored: Mon Aug 4 19:19:11 2014 +0100
Committer: Tom Chiverton <falken@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>
                                

Reply via email to