flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cza...@apache.org
Subject [09/41] removed adobe copyright header
Date Wed, 22 May 2013 13:50:29 GMT
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/TestTestListener.as b/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
index 590068e..f9bc3b2 100644
--- a/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
+++ b/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
@@ -1,2 +1 @@
-/*
   Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCH
 ANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TestTestListener extends TestCase implements TestListener
   {
       public function TestTestListener(name : String = null)
       {
           super(name);
       }
   
   	public function addError( test : Test, e : Error ) : void
   	{
   		errorCount++;
   	}
   
   //------------------------------------------------------------------------------
   
   	public function addFailure( test : Test , e : AssertionFailedError ) : void
   	{
   		failureCount++;
   	}
   	
   //------------------------------------------------------------------------------
   
   	public function startTest( test : Test ) : void 
   	{
   		startCount++;
   	}
   
   //------------------------------------------------------------------------------
   
   	public function endTest( test : Test ) : void 
   	{
   		endCount++;
   	}
   	
   //---------------------------------------------------------------------
 ---------
   
   	override public function setUp() : void
   	{
   		result = new TestResult();
   		result.addListener( TestListener(this) );
   	
   		startCount = 0;
   		endCount = 0;
   		failureCount = 0;
   		errorCount = 0;
   	}
   	
   //------------------------------------------------------------------------------
   	
   	public function testError():void 
   	{
   		var test : TestCase = new ErrorTestCase( "throwError" )
   		test.runWithResult( result );
   		Assert.assertEquals("error", 1, errorCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("failure", 0, failureCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	public function testFailure():void 
   	{
   		var test : TestCase = new FailureTestCase( "testFailure" )
   		test.runWithResult( result );
   		Assert.assertEquals("failure", 1, failureCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("e
 rror", 0, errorCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	public function testStartStop():void 
   	{
   		var test : TestCase = new SuccessTestCase( "testSuccess" )
   		test.runWithResult( result );
   		Assert.assertEquals("start", 1, startCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("error", 0, errorCount);
   		Assert.assertEquals("failure", 0, failureCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	private var result : TestResult;
   	private var startCount : Number;
   	private var endCount : Number;
   	private var failureCount : Number;
   	private var errorCount : Number;
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TestTestListener extends TestCase implements TestListener
   {
       public function TestTestListener(name : String = null)
       {
           super(name);
       }
   
   	public function addError( test : Test, e : Error ) : void
   	{
   		errorCount++;
   	}
   
   //------------------------------------------------------------------------------
   
   	public function addFailure( test : Test , e : AssertionFailedError ) : void
   	{
   		failureCount++;
   	}
   	
   //------------------------------------------------------------------------------
   
   	public function startTest( test : Test ) : void 
   	{
   		startCount++;
   	}
   
   //------------------------------------------------------------------------------
   
   	public function endTest( test : Test ) : void 
   	{
   		endCount++;
   	}
   	
   //----------------------------------------------------------------------
 --------
   
   	override public function setUp() : void
   	{
   		result = new TestResult();
   		result.addListener( TestListener(this) );
   	
   		startCount = 0;
   		endCount = 0;
   		failureCount = 0;
   		errorCount = 0;
   	}
   	
   //------------------------------------------------------------------------------
   	
   	public function testError():void 
   	{
   		var test : TestCase = new ErrorTestCase( "throwError" )
   		test.runWithResult( result );
   		Assert.assertEquals("error", 1, errorCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("failure", 0, failureCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	public function testFailure():void 
   	{
   		var test : TestCase = new FailureTestCase( "testFailure" )
   		test.runWithResult( result );
   		Assert.assertEquals("failure", 1, failureCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("er
 ror", 0, errorCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	public function testStartStop():void 
   	{
   		var test : TestCase = new SuccessTestCase( "testSuccess" )
   		test.runWithResult( result );
   		Assert.assertEquals("start", 1, startCount );
   		Assert.assertEquals("end", 1, endCount );
   		Assert.assertEquals("error", 0, errorCount);
   		Assert.assertEquals("failure", 0, failureCount);
   	}
   
   //------------------------------------------------------------------------------
   	
   	private var result : TestResult;
   	private var startCount : Number;
   	private var endCount : Number;
   	private var failureCount : Number;
   	private var errorCount : Number;
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/ValueEvent.as b/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
index 62b58c0..7b7a81c 100644
--- a/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
+++ b/FlexUnit4Test/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
@@ -1,2 +1 @@
-/*
Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABI
 LITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flash.events.Event;
   
   public class ValueEvent extends Event
   {
       public function ValueEvent(value : String)
       {
           super("value");
           this.value = value;
       }
   
       public var value : String;
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flash.events.Event;
   
   public class ValueEvent extends Event
   {
       public function ValueEvent(value : String)
       {
           super("value");
           this.value = value;
       }
   
       public var value : String;
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
index 5130393..37422bc 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
@@ -1,33 +1,4 @@
-/*
-	Copyright (c) 2008. Adobe Systems Incorporated.
-   All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice,
-       this list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation
-       and/or other materials provided with the distribution.
-     * Neither the name of Adobe Systems Incorporated nor the names of its
-       contributors may be used to endorse or promote products derived from this
-       software without specific prior written permission.
-
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-   POSSIBILITY OF SUCH DAMAGE.
-*/
-
-package flexUnitTests.flexUnit1.framework
+package flexUnitTests.flexUnit1.framework
 {
 
    import flexunit.framework.TestSuite;

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
index b2fb01e..1ef7756 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
@@ -1,3 +1,159 @@
-/*
	Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTAB
 ILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
*/

package flexUnitTests.flexUnit1.framework
{

   import flexunit.framework.*;
   
   public class AsynchronousTestCase extends TestCase
   {   
       public function AsynchronousTestCase(name : String)
       {
           super(name);
       }
   
       override public function setUp() : void
       {
           dispatcher = new AsynchronousValueDispatcher();
       }
   
       public functi
 on testInTimePass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function testInTimeFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_2, TIME_PASS);
       }
   
       public function testInTimeError() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
           dispatcher.dispatchError(TIME_PASS);
       }
   
       public function testTooLatePass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
       }
   
       public function testTooLateFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
   
         dispatcher.dispatchValue(VALUE_2, TIME_FAIL);
       }
   
       public function testTooLateError() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
           dispatcher.dispatchError(TIME_FAIL);
       }
   
       public function handleValue(event : ValueEvent, expected : String) : void
       {
           var actual : String = event.value;
           Assert.assertEquals(expected, actual);
       }
   
-   
-       public function testSecondInTimePass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleFirstValueThenPassInTime, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function handleFirstValueThenPassInTime(event : ValueEvent, expected : String) : void
       {
           var actual : String = event.value;
           Assert.assertEquals(expected, actual);
           addAsync(handleValue, TIME_SYNC, VALUE_2);
           dispatcher.dispatchValue(VALUE_2, TIME_PASS);
       }
   
       public function testSecondInTimeFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleFirstValueThenFailInTime, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function handleFirstValueThenFailInTime(event : ValueEvent, expected : String) : void
       {
           var actual : String = event.value;
           Assert.assertEqu
 als(expected, actual);
           addAsync(handleValue, TIME_SYNC, VALUE_2);
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function testSecondTooLatePass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleFirstValueThenPassTooLate, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function handleFirstValueThenPassTooLate(event : ValueEvent, expected : String) : void
       {
           var actual : String = event.value;
           Assert.assertEquals(expected, actual);
           addAsync(handleValue, TIME_SYNC, VALUE_2);
           dispatcher.dispatchValue(VALUE_2, TIME_FAIL);
       }
   
       public function testSecondTooLateFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleFirstValueThenFailTooLate, TIME_SYNC, VALUE_1));
           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
       }
   
       public function handleF
 irstValueThenFailTooLate(event : ValueEvent, expected : String) : void
       {
           var actual : String = event.value;
           Assert.assertEquals(expected, actual);
           addAsync(handleValue, TIME_SYNC, VALUE_2);
           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
       }
   
       public function testTimeoutFunctionPass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleTimeoutPass));
           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
       }
   
       public function handleTimeoutPass(expected : String) : void
       {
           //do nothing, this should turn into a pass
       }
   
       public function testTimeoutFunctionFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleTimeoutFail));
           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
       }
   
       public function handleTimeoutFail(expected : String) : 
 void
       {
           fail("async method not called in time");
       }
   
       public function testNotReallyAsynchronousPass() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleValue));
           dispatcher.dispatchValue(VALUE_1, 0);
       }
   
       public function testNotReallyAsynchronousFail() : void
       {
           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleValue));
           dispatcher.dispatchValue(VALUE_2, 0);
       }
   
       private var dispatcher : AsynchronousValueDispatcher;
   
       private static var VALUE_1 : String = "value1";
       private static var VALUE_2 : String = "value2";
       public static var TIME_PASS : int = 50;
       public static var TIME_FAIL : int = 250;
       public static var TIME_SYNC : int = 100;
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
+{
+
+   import flexunit.framework.*;
+   
+   public class AsynchronousTestCase extends TestCase
+   {   
+       public function AsynchronousTestCase(name : String)
+       {
+           super(name);
+       }
+   
+       override public function setUp() : void
+       {
+           dispatcher = new AsynchronousValueDispatcher();
+       }
+   
+       public function testInTimePass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function testInTimeFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_2, TIME_PASS);
+       }
+   
+       public function testInTimeError() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchError(TIME_PASS);
+       }
+   
+       public function testTooLatePass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
+       }
+   
+       public function testTooLateFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_2, TIME_FAIL);
+       }
+   
+       public function testTooLateError() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchError(TIME_FAIL);
+       }
+   
+       public function handleValue(event : ValueEvent, expected : String) : void
+       {
+           var actual : String = event.value;
+           Assert.assertEquals(expected, actual);
+       }
+   
+   
+       public function testSecondInTimePass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleFirstValueThenPassInTime, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function handleFirstValueThenPassInTime(event : ValueEvent, expected : String) : void
+       {
+           var actual : String = event.value;
+           Assert.assertEquals(expected, actual);
+           addAsync(handleValue, TIME_SYNC, VALUE_2);
+           dispatcher.dispatchValue(VALUE_2, TIME_PASS);
+       }
+   
+       public function testSecondInTimeFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleFirstValueThenFailInTime, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function handleFirstValueThenFailInTime(event : ValueEvent, expected : String) : void
+       {
+           var actual : String = event.value;
+           Assert.assertEquals(expected, actual);
+           addAsync(handleValue, TIME_SYNC, VALUE_2);
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function testSecondTooLatePass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleFirstValueThenPassTooLate, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function handleFirstValueThenPassTooLate(event : ValueEvent, expected : String) : void
+       {
+           var actual : String = event.value;
+           Assert.assertEquals(expected, actual);
+           addAsync(handleValue, TIME_SYNC, VALUE_2);
+           dispatcher.dispatchValue(VALUE_2, TIME_FAIL);
+       }
+   
+       public function testSecondTooLateFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleFirstValueThenFailTooLate, TIME_SYNC, VALUE_1));
+           dispatcher.dispatchValue(VALUE_1, TIME_PASS);
+       }
+   
+       public function handleFirstValueThenFailTooLate(event : ValueEvent, expected : String) : void
+       {
+           var actual : String = event.value;
+           Assert.assertEquals(expected, actual);
+           addAsync(handleValue, TIME_SYNC, VALUE_2);
+           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
+       }
+   
+       public function testTimeoutFunctionPass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleTimeoutPass));
+           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
+       }
+   
+       public function handleTimeoutPass(expected : String) : void
+       {
+           //do nothing, this should turn into a pass
+       }
+   
+       public function testTimeoutFunctionFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleTimeoutFail));
+           dispatcher.dispatchValue(VALUE_1, TIME_FAIL);
+       }
+   
+       public function handleTimeoutFail(expected : String) : void
+       {
+           fail("async method not called in time");
+       }
+   
+       public function testNotReallyAsynchronousPass() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleValue));
+           dispatcher.dispatchValue(VALUE_1, 0);
+       }
+   
+       public function testNotReallyAsynchronousFail() : void
+       {
+           dispatcher.addEventListener("value", addAsync(handleValue, TIME_SYNC, VALUE_1, handleValue));
+           dispatcher.dispatchValue(VALUE_2, 0);
+       }
+   
+       private var dispatcher : AsynchronousValueDispatcher;
+   
+       private static var VALUE_1 : String = "value1";
+       private static var VALUE_2 : String = "value2";
+       public static var TIME_PASS : int = 50;
+       public static var TIME_FAIL : int = 250;
+       public static var TIME_SYNC : int = 100;
+   }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
index 071e7c1..d1e60c1 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
@@ -1,3 +1,58 @@
-/*
-	Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABILI
 TY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flash.events.Event;
   import flash.events.EventDispatcher;
   
   import flash.utils.Timer;
   
   public class AsynchronousValueDispatcher extends EventDispatcher
   {
       public function AsynchronousValueDispatcher()
       {
           timer = new Timer(100, 1);
           timer.addEventListener("timer", timeout);
       }
   
       public function dispatchValue(value : String, time : int) : void
       {
           this.value = value;
           if (time > 0)
           {
               //BUG 114824 WORKAROUND - This bug is marked as fixed, but removing
               //the workaround causes the unit tests to fail. Need to look into this.
               timer = new Timer(time, 1);
               timer.addEventListener("timer", timeout);
               //END WORKAROUND
               //timer.delay = time;
               timer.start();
           }
           else
           {
               timeout(null);
           }
 
       }
   
       public function dispatchError(time : int) : void
       {
           dispatchValue("ERROR", time);
       }
   
   
       public function timeout(event : Event) : void
       {
           if (value == "ERROR")
           {
               throw new Error();
           }
           else
           {
               dispatchEvent(new ValueEvent(value));
           }
       }
   
       private var timer : Timer;
       private var value : String;
   
   }

}
+package flexUnitTests.flexUnit1.framework
+{
+   import flash.events.Event;
+   import flash.events.EventDispatcher;
+   
+   import flash.utils.Timer;
+   
+   public class AsynchronousValueDispatcher extends EventDispatcher
+   {
+       public function AsynchronousValueDispatcher()
+       {
+           timer = new Timer(100, 1);
+           timer.addEventListener("timer", timeout);
+       }
+   
+       public function dispatchValue(value : String, time : int) : void
+       {
+           this.value = value;
+           if (time > 0)
+           {
+               //BUG 114824 WORKAROUND - This bug is marked as fixed, but removing
+               //the workaround causes the unit tests to fail. Need to look into this.
+               timer = new Timer(time, 1);
+               timer.addEventListener("timer", timeout);
+               //END WORKAROUND
+               //timer.delay = time;
+               timer.start();
+           }
+           else
+           {
+               timeout(null);
+           }
+       }
+   
+       public function dispatchError(time : int) : void
+       {
+           dispatchValue("ERROR", time);
+       }
+   
+   
+       public function timeout(event : Event) : void
+       {
+           if (value == "ERROR")
+           {
+               throw new Error();
+           }
+           else
+           {
+               dispatchEvent(new ValueEvent(value));
+           }
+       }
+   
+       private var timer : Timer;
+       private var value : String;
+   
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
index 0418636..d9ac0b7 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
@@ -1,5 +1,20 @@
-/*
-	Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABILI
 TY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class ErrorTestCase extends TestCase
   {
   
       public function ErrorTestCase(name : String):void
       {
           super(name);
       }
   
       public function throwError():void
       {
-          assertTrue( true ) 
          
-          throw new Error();
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
+{
+   import flexunit.framework.*;
+   
+   public class ErrorTestCase extends TestCase
+   {
+   
+       public function ErrorTestCase(name : String):void
+       {
+           super(name);
+       }
+   
+       public function throwError():void
+       {
+          assertTrue( true ) 
+          
+          throw new Error();
+       }
+   }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
index 064ce39..d22fe0d 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
@@ -1,2 +1 @@
-/*
Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABI
 LITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class FailureTestCase extends TestCase
   {
       public function FailureTestCase(name : String):void
       {
           super(name);
       }
   
       public function testFailure():void
       {
           fail("intentional failure");
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class FailureTestCase extends TestCase
   {
       public function FailureTestCase(name : String):void
       {
           super(name);
       }
   
       public function testFailure():void
       {
           fail("intentional failure");
       }
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
index 5985d10..f6b7ed5 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
@@ -1,2 +1 @@
-/*
Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABI
 LITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SetupErrorTearDownTestCase extends TearDownTestCase
   {
       public function SetupErrorTearDownTestCase(name : String)
       {
           super(name);
       }
   
       override public function setUp() : void
       {
           throw new Error();
       }
   
       public function testSuccess():void
       {
          assertTrue( true );
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SetupErrorTearDownTestCase extends TearDownTestCase
   {
       public function SetupErrorTearDownTestCase(name : String)
       {
           super(name);
       }
   
       override public function setUp() : void
       {
           throw new Error();
       }
   
       public function testSuccess():void
       {
          assertTrue( true );
       }
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
index 59ceeb9..53e77ee 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
@@ -1,2 +1 @@
-/*
Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABI
 LITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SetupErrorTestCase extends ErrorTestCase
   {
   
       public function SetupErrorTestCase(name : String)
       {
           super(name);
       }
   
       override public function setUp() : void
       {
           throw new Error();    
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SetupErrorTestCase extends ErrorTestCase
   {
   
       public function SetupErrorTestCase(name : String)
       {
           super(name);
       }
   
       override public function setUp() : void
       {
           throw new Error();    
       }
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
index f35bd45..d81f74d 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
@@ -1,2 +1 @@
-/*
   Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANT
 ABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SuccessTestCase extends TestCase
   {
       public function SuccessTestCase(name : String):void
       {
           super(name);
       }
   
       public function testSuccess():void
       {
           expectedResult = true;
           
           assertTrue( expectedResult );
       }
   
       public var expectedResult : Boolean = false;
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class SuccessTestCase extends TestCase
   {
       public function SuccessTestCase(name : String):void
       {
           super(name);
       }
   
       public function testSuccess():void
       {
           expectedResult = true;
           
           assertTrue( expectedResult );
       }
   
       public var expectedResult : Boolean = false;
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
index 52826c4..2b98218 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
@@ -1,2 +1 @@
-/*
Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANTABI
 LITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/

package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TearDownErrorTestCase extends TearDownTestCase
   {
   
       public function TearDownErrorTestCase(name : String)
       {
           super(name);
       }
   
       public function testSuccess() : void
       {
          assertTrue( true );
       }
   
       override public function tearDown() : void
       {
           super.tearDown();
           throw new Error("tearDown");
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TearDownErrorTestCase extends TearDownTestCase
   {
   
       public function TearDownErrorTestCase(name : String)
       {
           super(name);
       }
   
       public function testSuccess() : void
       {
          assertTrue( true );
       }
   
       override public function tearDown() : void
       {
           super.tearDown();
           throw new Error("tearDown");
       }
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
index fa7563f..4b52d56 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
@@ -1,2 +1 @@
-/*
   Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANT
 ABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/
package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TearDownTestCase extends ErrorTestCase
   {
   
       public function TearDownTestCase(name : String)
       {
           super(name);
       }
   
       override public function tearDown() : void
       {
           expectedResult = true;
       }
   
       public var expectedResult : Boolean = false;
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flexunit.framework.*;
   
   public class TearDownTestCase extends ErrorTestCase
   {
   
       public function TearDownTestCase(name : String)
       {
           super(name);
       }
   
       override public function tearDown() : void
       {
           expectedResult = true;
       }
   
       public var expectedResult : Boolean = false;
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
index f0c5e02..447ff89 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
@@ -1,33 +1,4 @@
-/*
-   Copyright (c) 2008. Adobe Systems Incorporated.
-   All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice,
-       this list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation
-       and/or other materials provided with the distribution.
-     * Neither the name of Adobe Systems Incorporated nor the names of its
-       contributors may be used to endorse or promote products derived from this
-       software without specific prior written permission.
-
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-   POSSIBILITY OF SUCH DAMAGE.
-*/
-
-package flexUnitTests.flexUnit1.framework
+package flexUnitTests.flexUnit1.framework
 {
    import flexunit.framework.*;
    

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
index 2092002..34ac69e 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
@@ -1,2 +1 @@
-/*
   Copyright (c) 2008. Adobe Systems Incorporated.
   All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation
       and/or other materials provided with the distribution.
     * Neither the name of Adobe Systems Incorporated nor the names of its
       contributors may be used to endorse or promote products derived from this
       software without specific prior written permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   IMPLIED WARRANTIES OF MERCHANT
 ABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGE.
-*/
package flexUnitTests.flexUnit1.framework
{
   import flash.events.Event;
   import flash.events.TimerEvent;
   import flash.utils.Timer;
   
   import flexunit.framework.Assert;
   import flexunit.framework.TestCase;
   import flexunit.framework.TestResult;

   public class TestAsynchronous extends TestCase
   {
       public function TestAsynchronous(name : String = null)
       {
           super(name);
       }
   
       public function testInTimePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testInTimeFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimeFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       //this test won't be run right now because the Error that is thrown propagates up and creates a 
 dialog
       //and if the dialog isn't closed in time it screws up the timer in here.  however if you run it manaully and close
       //the dialog in time it should be ok
       public function STOPtestInTimeError() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimeError");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTooLatePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLatePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTooLateFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLateFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       //this test won't be run right now because the Error that is thrown propagates up and creates a dialog
  
      //and if the dialog isn't closed in time it screws up the timer in here.  however if you run it manaully and close
       //the dialog in time it should be ok
       public function STOPtestTooLateError() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLateError");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondInTimePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondInTimePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testSecondInTimeFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondInTimeFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondTooLatePass() : void
       {
           var test : TestCase = new
  AsynchronousTestCase("testSecondTooLatePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondTooLateFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondTooLateFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTimeoutFunctionPass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionPass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testTimeoutFunctionFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testNotReallyAsynchronousPass() : void
       {
           var test : Tes
 tCase = new AsynchronousTestCase("testNotReallyAsynchronousPass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testNotReallyAsynchronousFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testNotReallyAsynchronousFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function shouldBeRun(event : Event, passedData : Object) : void
       {
           var result : TestResult = passedData.result;
           var expectedRun : int = passedData.expectedRun;
           var expectedFail : int = passedData.expectedFail;
           var expectedError : int = passedData.expectedError;
   
           Assert.assertEquals("result.runCount() is not correct", expectedRun, result.runCount());
           Assert.assertEquals("result.failureCount() is not correct",expectedFail, result.failureCount());
           Assert.assertEqu
 als("result.errorCount() is not correct", expectedError, result.errorCount());
       }
   
       private function initAsync(result : TestResult, expectedRun : int, expectedFail : int, expectedError : int):void
       {
           var data : Object = new Object();
           data.result = result;
           data.expectedRun = expectedRun;
           data.expectedFail = expectedFail;
           data.expectedError = expectedError;
           var t : Timer = new Timer(1000, 1);
           var helper : Function = addAsync(shouldBeRun, 1500, data, function():void { fail('shouldBeRun did not fire')} );
           t.addEventListener( TimerEvent.TIMER, helper );
           t.start();
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
{
   import flash.events.Event;
   import flash.events.TimerEvent;
   import flash.utils.Timer;
   
   import flexunit.framework.Assert;
   import flexunit.framework.TestCase;
   import flexunit.framework.TestResult;

   public class TestAsynchronous extends TestCase
   {
       public function TestAsynchronous(name : String = null)
       {
           super(name);
       }
   
       public function testInTimePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testInTimeFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimeFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       //this test won't be run right now because the Error that is thrown propagates up and creates a dia
 log
       //and if the dialog isn't closed in time it screws up the timer in here.  however if you run it manaully and close
       //the dialog in time it should be ok
       public function STOPtestInTimeError() : void
       {
           var test : TestCase = new AsynchronousTestCase("testInTimeError");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTooLatePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLatePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTooLateFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLateFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       //this test won't be run right now because the Error that is thrown propagates up and creates a dialog
     
   //and if the dialog isn't closed in time it screws up the timer in here.  however if you run it manaully and close
       //the dialog in time it should be ok
       public function STOPtestTooLateError() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTooLateError");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondInTimePass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondInTimePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testSecondInTimeFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondInTimeFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondTooLatePass() : void
       {
           var test : TestCase = new As
 ynchronousTestCase("testSecondTooLatePass");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testSecondTooLateFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testSecondTooLateFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testTimeoutFunctionPass() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionPass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testTimeoutFunctionFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function testNotReallyAsynchronousPass() : void
       {
           var test : TestCa
 se = new AsynchronousTestCase("testNotReallyAsynchronousPass");
           var result : TestResult = test.run();
           initAsync(result, 1, 0, 0);
       }
   
       public function testNotReallyAsynchronousFail() : void
       {
           var test : TestCase = new AsynchronousTestCase("testNotReallyAsynchronousFail");
           var result : TestResult = test.run();
           initAsync(result, 1, 1, 0);
       }
   
       public function shouldBeRun(event : Event, passedData : Object) : void
       {
           var result : TestResult = passedData.result;
           var expectedRun : int = passedData.expectedRun;
           var expectedFail : int = passedData.expectedFail;
           var expectedError : int = passedData.expectedError;
   
           Assert.assertEquals("result.runCount() is not correct", expectedRun, result.runCount());
           Assert.assertEquals("result.failureCount() is not correct",expectedFail, result.failureCount());
           Assert.assertEquals
 ("result.errorCount() is not correct", expectedError, result.errorCount());
       }
   
       private function initAsync(result : TestResult, expectedRun : int, expectedFail : int, expectedError : int):void
       {
           var data : Object = new Object();
           data.result = result;
           data.expectedRun = expectedRun;
           data.expectedFail = expectedFail;
           data.expectedError = expectedError;
           var t : Timer = new Timer(1000, 1);
           var helper : Function = addAsync(shouldBeRun, 1500, data, function():void { fail('shouldBeRun did not fire')} );
           t.addEventListener( TimerEvent.TIMER, helper );
           t.start();
       }
   }
}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
index 70f2d1e..e2831a0 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
@@ -1,32 +1,3 @@
-/*
-   Copyright (c) 2008. Adobe Systems Incorporated.
-   All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions are met:
-
-     * Redistributions of source code must retain the above copyright notice,
-       this list of conditions and the following disclaimer.
-     * Redistributions in binary form must reproduce the above copyright notice,
-       this list of conditions and the following disclaimer in the documentation
-       and/or other materials provided with the distribution.
-     * Neither the name of Adobe Systems Incorporated nor the names of its
-       contributors may be used to endorse or promote products derived from this
-       software without specific prior written permission.
-
-   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-   POSSIBILITY OF SUCH DAMAGE.
-*/
-
 package flexUnitTests.flexUnit1.framework
 {
    import flash.events.Event;


Mime
View raw message