flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cza...@apache.org
Subject [08/41] removed adobe copyright header
Date Wed, 22 May 2013 13:50:28 GMT
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as
index a71525e..865e047 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as
@@ -1,4 +1,215 @@
-/*
   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 TestTestCase extends TestCase
   {
       public function TestTestCase(name : String = null)
       {
           super(name);
       }
   
       public function testCaseToString() : void
       {
           Assert.assertEquals( "testCaseToString (flexUnitTests.flexUnit1.framework::TestTestCase)", toString() );
       }
   
   //------------------------------------------------------------------------------
   
       public function testError() : void
       {
           var error : ErrorTestCase = new ErrorTestCase("throwError");
           verifyError( error );
       }
   
   //------------------------------------------------------------------------------
   
       public function testRunAndTearDownFails() : void
       {
           var fails : TearDownErrorTestCase = new TearDownErrorTestCase("throwError");
           //MATT: because of the asynchronous support an error in tearDow
 n will now be an additional
           //error instead of overwriting the error that was thrown in the test run
           verifyError( fails, 2 );
           Assert.assertTrue( fails.expectedResult );
       }
   
   //------------------------------------------------------------------------------
   
       public function testSetupFails() : void
       {
           var fails : SetupErrorTestCase = new SetupErrorTestCase( "throwError" )
           verifyError( fails, 1 );
       }
   
   //------------------------------------------------------------------------------
   
       public function testSuccess() : void
       {
           var success : TestCase = new SuccessTestCase( "testSuccess" )
           verifySuccess( success );
       }
   
   //------------------------------------------------------------------------------
   
       public function testFailure() : void
       {
           var failure : TestCase = new FailureTestCase( "testFailure" )
           verifyFailure( fa
 ilure );
       }
   
   //------------------------------------------------------------------------------
   
       public function testTearDownAfterError() : void
       {
           var fails : TearDownTestCase = new TearDownTestCase("throwError");
           verifyError( fails );
           Assert.assertTrue( fails.expectedResult );
       }
   
   //------------------------------------------------------------------------------
   
       public function testTearDownFails() : void
       {
           var fails : TearDownErrorTestCase = new TearDownErrorTestCase( "testSuccess" )
           verifyError( fails );
       }
   
-   //------------------------------------------------------------------------------
   
-       public function testTearDownSetupFails() : void
       {
           var fails : SetupErrorTearDownTestCase = new SetupErrorTearDownTestCase("testSuccess");
           verifyError( fails );
           Assert.assertFalse( fails.expectedResult );
       }
   
   //------------------------------------------------------------------------------
   
       public function testWasRun() : void
       {
           var test : SuccessTestCase = new SuccessTestCase("testSuccess");
           test.run();
           Assert.assertTrue( test.expectedResult );
       }
   
   //------------------------------------------------------------------------------
   
       public function testExceptionRunningAndTearDown() : void
       {
           var t : TestCase = new TearDownErrorTestCase("testSuccess");
           var result : TestResult = new TestResult();
           t.runWithResult( result );
           var failure : TestFailure = TestFailure ( result.errorsIterator().next() );
           Asse
 rt.assertEquals( "tearDown", failure.thrownException().message );
       }
   
   //------------------------------------------------------------------------------
   
   //MATT: since the automatic test creation doesn't work anymore and we've verified other no-arg tests (in SuccessTestCase)
   //we should be cool without this one
   /*
       public function testNoArgTestCasePasses() : void
       {
           var t : Test = new TestSuite( NoArgTestCase );
           var result : TestResult = new TestResult();
           
           t.runWithResult(  result );
   
           Assert.assertEquals( 1, result.runCount() );
           Assert.assertEquals( 0, result.failureCount() );
           Assert.assertEquals( 0, result.errorCount() );
   
       }
   */
   
   //------------------------------------------------------------------------------
   
       public function testNamelessTestCase() : void
       {
           var test : TestCase = new TestCase();
           var result : TestRe
 sult = test.run();
           Assert.assertEquals( 
                     "result.runCount() is not correct", 
                     1, 
                     result.runCount() );
           Assert.assertEquals( 
                     "result.failureCount() is not correct", 
                     1, 
                     result.failureCount() );
           Assert.assertEquals( 
                     "result.errorCount() is not correct", 
                     0, 
                     result.errorCount()  );
           Assert.assertEquals( 
                     "No test method to run",
                     TestFailure( result.failuresIterator().next() ).thrownException().message );
           /*
           try
           {
               t.run();
               fail();
           }
           catch ( e: AssertionFailedError )
           {
           }
           */
       }
   
   //------------------------------------------------------------------------------
   
       private function ve
 rifyError( test : TestCase , errorCount : int = 1) : void
       {
           var result : TestResult = test.run();
           Assert.assertEquals( 
                     "result.runCount() is not correct", 
                     1, 
                     result.runCount() );
           Assert.assertEquals( 
                     "result.failureCount() is not correct", 
                     0, 
                     result.failureCount() );
           Assert.assertEquals( 
                     "result.errorCount() is not correct", 
                     errorCount, 
                     result.errorCount()  );
       }
       
   //------------------------------------------------------------------------------
   
       private function  verifyFailure( test : TestCase ) : void
       {
           var result : TestResult = test.run();
           Assert.assertEquals( 
                     "result.runCount() is not correct", 
                     1,  
                     result.runCount() )
 ;
           Assert.assertEquals( 
                     "result.failureCount() is not correct", 
                     1, 
                     result.failureCount()  );
           Assert.assertEquals(  
                     "result.errorCount() is not correct", 
                     0, 
                     result.errorCount() );
       }
   
   //------------------------------------------------------------------------------
   
       private function  verifySuccess( test : TestCase ) : void
       {
           var result : TestResult = test.run();
           Assert.assertEquals(  
                     "result.runCount() is not correct", 
                     1, 
                     result.runCount() );
           Assert.assertEquals( 
                     "result.failureCount() is not correct", 
                     0, 
                     result.failureCount() );
           Assert.assertEquals(   
                     "result.errorCount() is not correct", 
                     
 0, 
                     result.errorCount() );
       }
   }
}
\ No newline at end of file
+package flexUnitTests.flexUnit1.framework
+{
+   import flexunit.framework.*;
+   
+   public class TestTestCase extends TestCase
+   {
+       public function TestTestCase(name : String = null)
+       {
+           super(name);
+       }
+   
+       public function testCaseToString() : void
+       {
+           Assert.assertEquals( "testCaseToString (flexUnitTests.flexUnit1.framework::TestTestCase)", toString() );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testError() : void
+       {
+           var error : ErrorTestCase = new ErrorTestCase("throwError");
+           verifyError( error );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testRunAndTearDownFails() : void
+       {
+           var fails : TearDownErrorTestCase = new TearDownErrorTestCase("throwError");
+           //MATT: because of the asynchronous support an error in tearDown will now be an additional
+           //error instead of overwriting the error that was thrown in the test run
+           verifyError( fails, 2 );
+           Assert.assertTrue( fails.expectedResult );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testSetupFails() : void
+       {
+           var fails : SetupErrorTestCase = new SetupErrorTestCase( "throwError" )
+           verifyError( fails, 1 );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testSuccess() : void
+       {
+           var success : TestCase = new SuccessTestCase( "testSuccess" )
+           verifySuccess( success );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testFailure() : void
+       {
+           var failure : TestCase = new FailureTestCase( "testFailure" )
+           verifyFailure( failure );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testTearDownAfterError() : void
+       {
+           var fails : TearDownTestCase = new TearDownTestCase("throwError");
+           verifyError( fails );
+           Assert.assertTrue( fails.expectedResult );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testTearDownFails() : void
+       {
+           var fails : TearDownErrorTestCase = new TearDownErrorTestCase( "testSuccess" )
+           verifyError( fails );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testTearDownSetupFails() : void
+       {
+           var fails : SetupErrorTearDownTestCase = new SetupErrorTearDownTestCase("testSuccess");
+           verifyError( fails );
+           Assert.assertFalse( fails.expectedResult );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testWasRun() : void
+       {
+           var test : SuccessTestCase = new SuccessTestCase("testSuccess");
+           test.run();
+           Assert.assertTrue( test.expectedResult );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       public function testExceptionRunningAndTearDown() : void
+       {
+           var t : TestCase = new TearDownErrorTestCase("testSuccess");
+           var result : TestResult = new TestResult();
+           t.runWithResult( result );
+           var failure : TestFailure = TestFailure ( result.errorsIterator().next() );
+           Assert.assertEquals( "tearDown", failure.thrownException().message );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+   //MATT: since the automatic test creation doesn't work anymore and we've verified other no-arg tests (in SuccessTestCase)
+   //we should be cool without this one
+   /*
+       public function testNoArgTestCasePasses() : void
+       {
+           var t : Test = new TestSuite( NoArgTestCase );
+           var result : TestResult = new TestResult();
+           
+           t.runWithResult(  result );
+   
+           Assert.assertEquals( 1, result.runCount() );
+           Assert.assertEquals( 0, result.failureCount() );
+           Assert.assertEquals( 0, result.errorCount() );
+   
+       }
+   */
+   
+   //------------------------------------------------------------------------------
+   
+       public function testNamelessTestCase() : void
+       {
+           var test : TestCase = new TestCase();
+           var result : TestResult = test.run();
+           Assert.assertEquals( 
+                     "result.runCount() is not correct", 
+                     1, 
+                     result.runCount() );
+           Assert.assertEquals( 
+                     "result.failureCount() is not correct", 
+                     1, 
+                     result.failureCount() );
+           Assert.assertEquals( 
+                     "result.errorCount() is not correct", 
+                     0, 
+                     result.errorCount()  );
+           Assert.assertEquals( 
+                     "No test method to run",
+                     TestFailure( result.failuresIterator().next() ).thrownException().message );
+           /*
+           try
+           {
+               t.run();
+               fail();
+           }
+           catch ( e: AssertionFailedError )
+           {
+           }
+           */
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       private function verifyError( test : TestCase , errorCount : int = 1) : void
+       {
+           var result : TestResult = test.run();
+           Assert.assertEquals( 
+                     "result.runCount() is not correct", 
+                     1, 
+                     result.runCount() );
+           Assert.assertEquals( 
+                     "result.failureCount() is not correct", 
+                     0, 
+                     result.failureCount() );
+           Assert.assertEquals( 
+                     "result.errorCount() is not correct", 
+                     errorCount, 
+                     result.errorCount()  );
+       }
+       
+   //------------------------------------------------------------------------------
+   
+       private function  verifyFailure( test : TestCase ) : void
+       {
+           var result : TestResult = test.run();
+           Assert.assertEquals( 
+                     "result.runCount() is not correct", 
+                     1,  
+                     result.runCount() );
+           Assert.assertEquals( 
+                     "result.failureCount() is not correct", 
+                     1, 
+                     result.failureCount()  );
+           Assert.assertEquals(  
+                     "result.errorCount() is not correct", 
+                     0, 
+                     result.errorCount() );
+       }
+   
+   //------------------------------------------------------------------------------
+   
+       private function  verifySuccess( test : TestCase ) : void
+       {
+           var result : TestResult = test.run();
+           Assert.assertEquals(  
+                     "result.runCount() is not correct", 
+                     1, 
+                     result.runCount() );
+           Assert.assertEquals( 
+                     "result.failureCount() is not correct", 
+                     0, 
+                     result.failureCount() );
+           Assert.assertEquals(   
+                     "result.errorCount() is not correct", 
+                     0, 
+                     result.errorCount() );
+       }
+   }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
index 590068e..f9bc3b2 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
+++ b/FlexUnit4Turnkey/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/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
index 62b58c0..7b7a81c 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
+++ b/FlexUnit4Turnkey/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/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
index 78665fc..5cb174f 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?>

<!--
   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.
-->

<mx:Panel
   xmlns:mx="http://www.adobe.com/2006/mxml"
   xmlns="*"
   xmlns:data="org.flexunit.flexui.data.*"
   xmlns:controls="org.flexunit.flexui.controls.*"
   styleName="mainPanel"
   width="100%"
   height="100%"
   minHeight="500"
   minWidth="850"
   verticalScrollPolicy="off"
   horizontalScrollPolicy="off"
   modalTransparencyBlur="0"
   
 modalTransparency="0"
   implements="org.flexunit.runner.notification.ITemporalRunListener"
   creationComplete="handleCreationComplete()" >

   <mx:Metadata>
      [Event( name="testsComplete", type="org.flexunit.flexui.event.TestsCompleteEvent")]
   </mx:Metadata>
	<mx:Style>
		@font-face {
			font-family: "Myriad Pro SemiCond";
			src: url("/fonts/fonts.swf");
		}
		
		/* Font for anything else */
		@font-face {
			font-family: "Myriad Pro";
			src: url("/fonts/fonts.swf");
		}
		
		@font-face {
			font-family: "Myriad Pro";
			font-weight: bold;
			src: url("/fonts/fonts.swf");
		}
		
		/* Class-selectors are the only way to apply styles to components */
		.flexUnitApplication {
			backgroundColor: #3872b2;
			backgroundGradientColors: #3872b2, #0c1a3d;
			backgroundGradientAlphas: 1, 1;
			themeColor: #ffffff;
			color: #444444;
			fontFamily: "Myriad Pro";
			fontSize: 12;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
			
 modal-transparency-blur: 0;
			modal-transparency: 0;   
		}
		
		.myToolTip {
			fontFamily: "Myriad Pro";
			background-color: #3872b2;
			leading: 5;
		}
		
		.flexUnitVBox {
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.flexUnitScrollBar
		{
			downArrowDisabledSkin: Embed(source="/skins/VScrollBar_downArrowDisabledSkin.png");
			downArrowDownSkin: Embed(source="/skins/VScrollBar_downArrowDownSkin.png");
			downArrowOverSkin: Embed(source="/skins/VScrollBar_downArrowOverSkin.png");
			downArrowUpSkin: Embed(source="/skins/VScrollBar_downArrowUpSkin.png");
			thumbIcon: Embed(source="/skins/VScrollBar_thumbIcon.png");
			trackSkin: Embed(source="/skins/VScrollBar_trackSkin.png");
			upArrowDisabledSkin: Embed(source="/skins/VScrollBar_upArrowDisabledSkin.png");
			upArrowDownSkin: Embed(source="/skins/VScrollBar_upArrowDownSkin.png");
			upArrowOverSkin: Embed(source="/skins/VScrollBar_upArrowOverSkin.png");
			upA
 rrowUpSkin: Embed(source="/skins/VScrollBar_upArrowUpSkin.png");
			thumbDownSkin: Embed(
				source="/skins/VScrollBar_thumbDownSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
			thumbOverSkin: Embed(
				source="/skins/VScrollBar_thumbOverSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
			thumbUpSkin: Embed(
				source="/skins/VScrollBar_thumbUpSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
		}
		
		.flexUnitDataGrid {
			alternatingItemColors: #ffffff, #f6f6f6;
			headerColors: #fcfcfc, #e5e5e5;
			verticalGridLineColor: #dcdcdc;
			useRollOver: false;
			rollOverColor: #cccccc;
			selectionColor: #2863b4;
			textSelectedColor: #ffffff;
		}
		
		.flexUnitSlider {
			themeColor: #2863b4;
		}
		
		.flexUnitTree {
			alternatingItemColors: #ffffff, #f6f6f6;
			headerColors: #fcfcfc, #e5e5e5;
			verticalGridLineColor: #dcdcdc;
 
			useRollOver: false;
			rollOverColor: #cccccc;
			selectionColor: #2863b4;
			textSelectedColor: #ffffff;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.mainPanel {
			header-height: 0;
			vertical-gap: 2;
			borderSkin: Embed( 
				source="/skins/Panel_borderSkin.png", 
				scaleGridLeft="12", scaleGridTop="31", 
				scaleGridRight="265", scaleGridBottom="189" );	
			padding-top: 20;
			padding-left: 8;
			padding-right: 8;
		}
		
		.flexUnitTextInput {
			themeColor: #ffffff;
		}
		
		.flexUnitTextAreaWithBorder {
			borderSkin: Embed(
				source="/skins/TextArea_borderSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="150", scaleGridBottom="18" );
			paddingTop: 10;
			leading: 0;
			fontSize: 11;
			wordWrap: false;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.flexUnitTextArea {
			borderStyle: none;
			backgroundAlpha: 0;
 			paddingTop: 10;
			leading: 0;
			fontSize: 11;
			wordWrap: false;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.panelTitleStyle {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 24;
			textIndent: 20;
		}
		
		.panelTitleSubStyle {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 16;
		}
		
		.flexUnitHRule {
			strokeColor: #b9b9b9;
			strokeWidth: 2;
			shadowColor: #FFFFFF; 
		}
		
		.h1 {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 18;
		}
		
		.h2 {
			fontSize: 13;
		}
		
		.flexUnitComboBox {
			upSkin: Embed(
				source="/skins/ComboBox_upSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			overSkin: Embed(
				source="/skins/ComboBox_overSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			downSkin: Embed(
				source="/skins/ComboBox_downSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
 				scaleGridRight="64", scaleGridBottom="18" );
			disabledSkin: Embed(
				source="/skins/ComboBox_disabledSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			themeColor: #2863b4;
		}
		
		.flexUnitProgressBar
		{
			barColor: #51C148;
			trackSkin: Embed(
				source="/skins/ProgressBar_trackSkin.png",
				scaleGridLeft="1", scaleGridTop="0", 
				scaleGridRight="149", scaleGridBottom="3" );
			trackHeight: 11;
		}
		
		.flexUnitForm {
			paddingTop: 0;
			paddingBottom: 0;
			paddingLeft: 0;
			paddingRight: 0;
			verticalGap: -2;
		}
		
		.flexUnitFormItemLabel {
			color: #777777;
		}
		
		.flexUnitFormItemValue {
			color: #444444;
		}
		
		.flexUnitButtonBar
		{
			horizontalGap: -1;
			firstButtonStyleName: "firstButtonBarButton";
			lastButtonStyleName: "lastButtonBarButton";
		}
		
		.firstButtonBarButton
		{
			disabledSkin: Embed(
				source="/skins/ButtonBarFirstButton_disabledSkin.png",
				scaleGridLeft="6", scaleGr
 idTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			downSkin: Embed(
				source="/skins/ButtonBarFirstButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			overSkin: Embed(
				source="/skins/ButtonBarFirstButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDisabledSkin: Embed(
				source="/skins/ButtonBarFirstButton_selectedDisabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDownSkin: Embed(
				source="/skins/ButtonBarFirstButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedOverSkin: Embed(
				source="/skins/ButtonBarFirstButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedUpSkin: Embed(
				source="/skins/ButtonBarFirstButton_
 selectedUpSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			upSkin: Embed(
				source="/skins/ButtonBarFirstButton_upSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
		}
		
		.lastButtonBarButton
		{
			disabledSkin: Embed(
				source="/skins/ButtonBarLastButton_disabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			downSkin: Embed(
				source="/skins/ButtonBarLastButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			overSkin: Embed(
				source="/skins/ButtonBarLastButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDisabledSkin: Embed(
				source="/skins/ButtonBarLastButton_disabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			se
 lectedDownSkin: Embed(
				source="/skins/ButtonBarLastButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedOverSkin: Embed(
				source="/skins/ButtonBarLastButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedUpSkin: Embed(
				source="/skins/ButtonBarLastButton_selectedUpSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			upSkin: Embed(
				source="/skins/ButtonBarLastButton_upSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
		}
		
		.flexUnitControlBar {
			paddingTop: 5;
			paddingBottom: 2;
			paddingLeft: 4;
			paddingRight: 12;
			borderSkin: Embed(
				source="/skins/Panel_controlBarBackgroundSkin.png",
				scaleGridLeft="8", scaleGridTop="1", 
				scaleGridRight="270", scaleGridBottom="17" );
		}
	</mx:Style>
	   
   <mx:Script>
 
      <![CDATA[
		  import flash.net.navigateToURL;
		  
		  import mx.controls.ToolTip;
		  import mx.controls.listClasses.ListBase;
		  import mx.core.ScrollPolicy;
		  import mx.managers.ToolTipManager;
		  
		  import org.flexunit.Assert;
		  import flexunit.framework.Assert;
		  import org.flexunit.flexui.controls.FlexUnitLabels;
		  import org.flexunit.flexui.data.TestFunctionRowData;
		  import org.flexunit.flexui.event.TestsCompleteEvent;
		  import org.flexunit.runner.Description;
		  import org.flexunit.runner.Descriptor;
		  import org.flexunit.runner.FlexUnitCore;
		  import org.flexunit.runner.IDescription;
		  import org.flexunit.runner.Result;
		  import org.flexunit.runner.notification.Failure;

         public var test : *;// TODO: [XB] was  Test;
		
		
		/* JT 5/28/09 - added lastFailedTest to handle bugreport FXU-38, the testFinished method of this class
		*  mistakenly assumed that any test which finished was successful.  This is not the case, as failures and 
		*
   successes are both valid cases for a finished test.  With this variable, we can now prevent counting
		*  finished failures as successes.
		*/
		private var lastFailedTest:IDescription;
         private function handleCreationComplete() : void
         {
            ToolTip.maxWidth = 900;
            rightHandSide.model = model;
            leftHandSide.model = model;

            model.filterSectionEnabled = false;
         }

         public function startTest() : void
         {
            // if( test != null )
            {
               // model.totalTests = test.countTestCases(); // TODO: [XB] reenable this

               model.launchTests();

               rightHandSide.launchTests();
               leftHandSide.launchTests();
            }
         }

         private function addTestToList(
                     description : IDescription,
                     failure : Failure = null,
                     ignored : Boolean = false,
					 assertionsMade: uint= 0 ) : v
 oid
         {
               var rowAdded : TestFunctionRowData;

               rowAdded = model.addTestRowToHierarchicalList( description, failure, ignored, lastRunTime, assertionsMade );
               
               leftHandSide.testCasesContainer.allTestsHierarchyTree.verticalScrollPosition 
                     = leftHandSide.testCasesContainer.allTestsHierarchyTree.maxVerticalScrollPosition;
               
               /*if( ! success )
               {
                  model.rowSelected = rowAdded;
//               }*/
         }

         //---------------------------------------------------------------------
         // IFlexWriter Methods
         //---------------------------------------------------------------------
		public function testRunStarted( description:IDescription ):void {
			model.totalTests = description.testCount;
			this.startTest();
		}
		
		public function testRunFinished( result:Result ):void {
			rightHandSide.onAllTestsEnd();
            leftHan
 dSide.onAllTestsEnd();

            dispatchEvent( new TestsCompleteEvent() );
		}
		
		private var lastRunTime:Number = 0;
		public function testStarted( description:IDescription ):void {
		}
	
		public function testFinished( description:IDescription ):void {
			if( ! leftHandSide.testCasesContainer.allTestsHierarchyTree.selectable )
            {
               model.numTestsRun++;
               /* JT 5/28/09 - added this conditional to handle bugreport FXU-38, the testFinished method of 
               *  this class mistakenly assumed that any test which finished was successful.  This is not the 
               *  case, as failures and successes are both valid cases for a finished test.  
			   */
               if(!lastFailedTest || description.displayName != lastFailedTest.displayName){
				   var totalAssertions:uint = flexunit.framework.Assert.assetionsMade + org.flexunit.Assert.assertionsMade;
	               addTestToList( description, null, false, totalAssertions );
	    
        }

               rightHandSide.onTestEnd();
               
               //removed until we can make this work correctly across all cases
               rightHandSide.selectedTestCaseForm.assertionsPerTest.invalidateProperties();
            }
		}
	
		public function testFailure( failure:Failure ):void {
			/* JT 5/28/09 - added lastFailedTest to handle bugreport FXU-38, the testFinished method of this class
			*  mistakenly assumed that any test which finished was successful.  This is not the case, as failures and 
			*  successes are both valid cases for a finished test.  With this variable, we can now prevent counting
			*  finished failures as successes.
			*/
			lastFailedTest = failure.description;
			model.addFailure();

			var totalAssertions:uint = flexunit.framework.Assert.assetionsMade + org.flexunit.Assert.assertionsMade;
            addTestToList( failure.description, failure, false, totalAssertions );

            rightHandSide.selectedTestCaseViewStack.selec
 tedIndex = 1;
		}
	
		public function testAssumptionFailure( failure:Failure ):void {
		}
	
		/**
		 * Called when a test will not be run, generally because a test method is annotated 
		 * with {@link org.junit.Ignore}.
		 * 
		 * @param description describes the test that will not be run
		 */
		public function testIgnored( description:IDescription ):void {
			model.addIgnore();

            addTestToList( description, null, true );
		}
		
		public function testTimed( description:IDescription, runTime:Number ):void {
			lastRunTime = runTime;
		}
		  
         /*
         public function onSuccess( test : Test ) : void
         {
            if( ! leftHandSide.testCasesContainer.allTestsHierarchyTree.selectable )
            {
               addTestToList( true, test );
            }
         }

         public function onError( test : Test, error : Error ) : void
         {
            model.addError();
            
            addTestToList( false, test, error );

            ri
 ghtHandSide.selectedTestCaseViewStack.selectedIndex = 1;
         }

         public function onFailure(
                     test : Test,
                     error : AssertionFailedError ) : void
         {
            model.addFailure();

            addTestToList( false, test, error, true );

            rightHandSide.selectedTestCaseViewStack.selectedIndex = 1;
         }*/

         // To replace Binding MetaTag
         private function updateRowSummaryToDisplay() : void
         {
            rightHandSide.updateRowSummaryToDisplay();
            leftHandSide.updateScrollPosition();
         }

      ]]>
   </mx:Script>

   <data:TestRunnerBasePresentationModel
      id="model"
      rowSelectedChanged="updateRowSummaryToDisplay()"
      testSuiteRunDurationChanged="rightHandSide.updateRunDuration()"
      totalErrorsChanged="rightHandSide.updateTotalErrorUI()"
      totalFailuresChanged="rightHandSide.updateTotalFailureUI()"
	  totalIgnoredChanged="rightHandSide.updateTotal
 IgnoredUI()"
      progressChanged="rightHandSide.onTestEnd()"
      filterEnableChanged="leftHandSide.updateFilterSectionEnable()"
      filterChanged="leftHandSide.refreshTree()"
      />
   
   <mx:HBox
      verticalAlign="bottom"
      horizontalGap="0">

      <controls:Title
         text="{ FlexUnitLabels.FLEXUNIT } {FlexUnitCore.version} { FlexUnitLabels.RUNNER }"
         styleName="panelTitleStyle"
         width="275"
         />
      
      <controls:Title
         text="{ FlexUnitLabels.POWERED_BY_ADOBE_CONSULTING }"
         styleName="panelTitleSubStyle"
         useHandCursor="true"
         buttonMode="true"
         mouseChildren= "false"
         click="navigateToURL( new URLRequest( 'http://www.adobe.com/consulting/' ) )"
         />
      
   </mx:HBox>
      
   <mx:HRule
      styleName="flexUnitHRule"
      width="100%"
      />
   
   <mx:HDividedBox
      width="100%" height="100%"
      horizontalGap="30"
      paddingTop="5"
      paddingBottom="30"
   
    paddingLeft="25"
      paddingRight="25">
   
      <controls:LeftHandSide
         id="leftHandSide"
         />
      
      <controls:RightHandSide
         id="rightHandSide"
         />
   
   </mx:HDividedBox>

</mx:Panel>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
<mx:Panel
   xmlns:mx="http://www.adobe.com/2006/mxml"
   xmlns="*"
   xmlns:data="org.flexunit.flexui.data.*"
   xmlns:controls="org.flexunit.flexui.controls.*"
   styleName="mainPanel"
   width="100%"
   height="100%"
   minHeight="500"
   minWidth="850"
   verticalScrollPolicy="off"
   horizontalScrollPolicy="off"
   modalTransparencyBlur="0"
   modalTransparency="0"
   implements="org.flexunit.runner.notification.ITemporalRunListener"
   creationComplete="handleCreationComplete()" >

   <mx:Metadata>
      [Event( name="testsComplete", type="org.flexunit.flexui.event.TestsCompleteEvent")]
   </mx:Metadata>
	<mx:Style>
		@font-face {
			font-family: "Myriad Pro SemiCond";
			src: url("/fonts/fonts.swf");
		}
		
		/* Font for anything else */
		@font-face {
			font-family: "Myriad Pro";
			src: url("/fonts/fonts.swf");
		}
		
		@font-face {
			font-family: "Myriad Pro";
			font-weight: bold;
			src: url("/fonts/fonts.swf");
		}
		
		/* Class-
 selectors are the only way to apply styles to components */
		.flexUnitApplication {
			backgroundColor: #3872b2;
			backgroundGradientColors: #3872b2, #0c1a3d;
			backgroundGradientAlphas: 1, 1;
			themeColor: #ffffff;
			color: #444444;
			fontFamily: "Myriad Pro";
			fontSize: 12;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
			modal-transparency-blur: 0;
			modal-transparency: 0;   
		}
		
		.myToolTip {
			fontFamily: "Myriad Pro";
			background-color: #3872b2;
			leading: 5;
		}
		
		.flexUnitVBox {
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.flexUnitScrollBar
		{
			downArrowDisabledSkin: Embed(source="/skins/VScrollBar_downArrowDisabledSkin.png");
			downArrowDownSkin: Embed(source="/skins/VScrollBar_downArrowDownSkin.png");
			downArrowOverSkin: Embed(source="/skins/VScrollBar_downArrowOverSkin.png");
			downArrowUpSkin: Embed(source="/skins/VScrollBa
 r_downArrowUpSkin.png");
			thumbIcon: Embed(source="/skins/VScrollBar_thumbIcon.png");
			trackSkin: Embed(source="/skins/VScrollBar_trackSkin.png");
			upArrowDisabledSkin: Embed(source="/skins/VScrollBar_upArrowDisabledSkin.png");
			upArrowDownSkin: Embed(source="/skins/VScrollBar_upArrowDownSkin.png");
			upArrowOverSkin: Embed(source="/skins/VScrollBar_upArrowOverSkin.png");
			upArrowUpSkin: Embed(source="/skins/VScrollBar_upArrowUpSkin.png");
			thumbDownSkin: Embed(
				source="/skins/VScrollBar_thumbDownSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
			thumbOverSkin: Embed(
				source="/skins/VScrollBar_thumbOverSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
			thumbUpSkin: Embed(
				source="/skins/VScrollBar_thumbUpSkin.png",
				scaleGridLeft="1", scaleGridTop="5", 
				scaleGridRight="8", scaleGridBottom="44" );
		}
		
		.flexUnitDataGrid {
			alternatingItemColo
 rs: #ffffff, #f6f6f6;
			headerColors: #fcfcfc, #e5e5e5;
			verticalGridLineColor: #dcdcdc;
			useRollOver: false;
			rollOverColor: #cccccc;
			selectionColor: #2863b4;
			textSelectedColor: #ffffff;
		}
		
		.flexUnitSlider {
			themeColor: #2863b4;
		}
		
		.flexUnitTree {
			alternatingItemColors: #ffffff, #f6f6f6;
			headerColors: #fcfcfc, #e5e5e5;
			verticalGridLineColor: #dcdcdc;
			useRollOver: false;
			rollOverColor: #cccccc;
			selectionColor: #2863b4;
			textSelectedColor: #ffffff;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.mainPanel {
			header-height: 0;
			vertical-gap: 2;
			borderSkin: Embed( 
				source="/skins/Panel_borderSkin.png", 
				scaleGridLeft="12", scaleGridTop="31", 
				scaleGridRight="265", scaleGridBottom="189" );	
			padding-top: 20;
			padding-left: 8;
			padding-right: 8;
		}
		
		.flexUnitTextInput {
			themeColor: #ffffff;
		}
		
		.flexUnitTextAreaWithBorder {
			borderSkin: E
 mbed(
				source="/skins/TextArea_borderSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="150", scaleGridBottom="18" );
			paddingTop: 10;
			leading: 0;
			fontSize: 11;
			wordWrap: false;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.flexUnitTextArea {
			borderStyle: none;
			backgroundAlpha: 0;
			paddingTop: 10;
			leading: 0;
			fontSize: 11;
			wordWrap: false;
			verticalScrollBarStyleName: flexUnitScrollBar;
			horizontalScrollBarStyleName: flexUnitScrollBar;
		}
		
		.panelTitleStyle {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 24;
			textIndent: 20;
		}
		
		.panelTitleSubStyle {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 16;
		}
		
		.flexUnitHRule {
			strokeColor: #b9b9b9;
			strokeWidth: 2;
			shadowColor: #FFFFFF; 
		}
		
		.h1 {
			fontFamily: "Myriad Pro SemiCond";
			fontSize: 18;
		}
		
		.h2 {
			fontSize: 13;
		}
		
		.flexUnitComboBox {
			upSkin: Embed(
	
 			source="/skins/ComboBox_upSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			overSkin: Embed(
				source="/skins/ComboBox_overSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			downSkin: Embed(
				source="/skins/ComboBox_downSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			disabledSkin: Embed(
				source="/skins/ComboBox_disabledSkin.png",
				scaleGridLeft="4", scaleGridTop="4", 
				scaleGridRight="64", scaleGridBottom="18" );
			themeColor: #2863b4;
		}
		
		.flexUnitProgressBar
		{
			barColor: #51C148;
			trackSkin: Embed(
				source="/skins/ProgressBar_trackSkin.png",
				scaleGridLeft="1", scaleGridTop="0", 
				scaleGridRight="149", scaleGridBottom="3" );
			trackHeight: 11;
		}
		
		.flexUnitForm {
			paddingTop: 0;
			paddingBottom: 0;
			paddingLeft: 0;
			paddingRight: 0;
			verticalGap: -2;
		}
		
		.flex
 UnitFormItemLabel {
			color: #777777;
		}
		
		.flexUnitFormItemValue {
			color: #444444;
		}
		
		.flexUnitButtonBar
		{
			horizontalGap: -1;
			firstButtonStyleName: "firstButtonBarButton";
			lastButtonStyleName: "lastButtonBarButton";
		}
		
		.firstButtonBarButton
		{
			disabledSkin: Embed(
				source="/skins/ButtonBarFirstButton_disabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			downSkin: Embed(
				source="/skins/ButtonBarFirstButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			overSkin: Embed(
				source="/skins/ButtonBarFirstButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDisabledSkin: Embed(
				source="/skins/ButtonBarFirstButton_selectedDisabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDownSkin: Emb
 ed(
				source="/skins/ButtonBarFirstButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedOverSkin: Embed(
				source="/skins/ButtonBarFirstButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedUpSkin: Embed(
				source="/skins/ButtonBarFirstButton_selectedUpSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			upSkin: Embed(
				source="/skins/ButtonBarFirstButton_upSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
		}
		
		.lastButtonBarButton
		{
			disabledSkin: Embed(
				source="/skins/ButtonBarLastButton_disabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			downSkin: Embed(
				source="/skins/ButtonBarLastButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleG
 ridRight="40", scaleGridBottom="16" );
			overSkin: Embed(
				source="/skins/ButtonBarLastButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDisabledSkin: Embed(
				source="/skins/ButtonBarLastButton_disabledSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedDownSkin: Embed(
				source="/skins/ButtonBarLastButton_downSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedOverSkin: Embed(
				source="/skins/ButtonBarLastButton_overSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			selectedUpSkin: Embed(
				source="/skins/ButtonBarLastButton_selectedUpSkin.png",
				scaleGridLeft="6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
			upSkin: Embed(
				source="/skins/ButtonBarLastButton_upSkin.png",
				scaleGridLeft="
 6", scaleGridTop="6", 
				scaleGridRight="40", scaleGridBottom="16" );
		}
		
		.flexUnitControlBar {
			paddingTop: 5;
			paddingBottom: 2;
			paddingLeft: 4;
			paddingRight: 12;
			borderSkin: Embed(
				source="/skins/Panel_controlBarBackgroundSkin.png",
				scaleGridLeft="8", scaleGridTop="1", 
				scaleGridRight="270", scaleGridBottom="17" );
		}
	</mx:Style>
	   
   <mx:Script>
      <![CDATA[
		  import flash.net.navigateToURL;
		  
		  import mx.controls.ToolTip;
		  import mx.controls.listClasses.ListBase;
		  import mx.core.ScrollPolicy;
		  import mx.managers.ToolTipManager;
		  
		  import org.flexunit.Assert;
		  import flexunit.framework.Assert;
		  import org.flexunit.flexui.controls.FlexUnitLabels;
		  import org.flexunit.flexui.data.TestFunctionRowData;
		  import org.flexunit.flexui.event.TestsCompleteEvent;
		  import org.flexunit.runner.Description;
		  import org.flexunit.runner.Descriptor;
		  import org.flexunit.runner.FlexUnitCore;
		  import org.flexunit.r
 unner.IDescription;
		  import org.flexunit.runner.Result;
		  import org.flexunit.runner.notification.Failure;

         public var test : *;// TODO: [XB] was  Test;
		
		
		/* JT 5/28/09 - added lastFailedTest to handle bugreport FXU-38, the testFinished method of this class
		*  mistakenly assumed that any test which finished was successful.  This is not the case, as failures and 
		*  successes are both valid cases for a finished test.  With this variable, we can now prevent counting
		*  finished failures as successes.
		*/
		private var lastFailedTest:IDescription;
         private function handleCreationComplete() : void
         {
            ToolTip.maxWidth = 900;
            rightHandSide.model = model;
            leftHandSide.model = model;

            model.filterSectionEnabled = false;
         }

         public function startTest() : void
         {
            // if( test != null )
            {
               // model.totalTests = test.countTestCases(); // TODO: 
 [XB] reenable this

               model.launchTests();

               rightHandSide.launchTests();
               leftHandSide.launchTests();
            }
         }

         private function addTestToList(
                     description : IDescription,
                     failure : Failure = null,
                     ignored : Boolean = false,
					 assertionsMade: uint= 0 ) : void
         {
               var rowAdded : TestFunctionRowData;

               rowAdded = model.addTestRowToHierarchicalList( description, failure, ignored, lastRunTime, assertionsMade );
               
               leftHandSide.testCasesContainer.allTestsHierarchyTree.verticalScrollPosition 
                     = leftHandSide.testCasesContainer.allTestsHierarchyTree.maxVerticalScrollPosition;
               
               /*if( ! success )
               {
                  model.rowSelected = rowAdded;
//               }*/
         }

         //---------------------------------------------
 ------------------------
         // IFlexWriter Methods
         //---------------------------------------------------------------------
		public function testRunStarted( description:IDescription ):void {
			model.totalTests = description.testCount;
			this.startTest();
		}
		
		public function testRunFinished( result:Result ):void {
			rightHandSide.onAllTestsEnd();
            leftHandSide.onAllTestsEnd();

            dispatchEvent( new TestsCompleteEvent() );
		}
		
		private var lastRunTime:Number = 0;
		public function testStarted( description:IDescription ):void {
		}
	
		public function testFinished( description:IDescription ):void {
			if( ! leftHandSide.testCasesContainer.allTestsHierarchyTree.selectable )
            {
               model.numTestsRun++;
               /* JT 5/28/09 - added this conditional to handle bugreport FXU-38, the testFinished method of 
               *  this class mistakenly assumed that any test which finished was successful.  This is not the 
 
               *  case, as failures and successes are both valid cases for a finished test.  
			   */
               if(!lastFailedTest || description.displayName != lastFailedTest.displayName){
				   var totalAssertions:uint = flexunit.framework.Assert.assetionsMade + org.flexunit.Assert.assertionsMade;
	               addTestToList( description, null, false, totalAssertions );
	           }

               rightHandSide.onTestEnd();
               
               //removed until we can make this work correctly across all cases
               rightHandSide.selectedTestCaseForm.assertionsPerTest.invalidateProperties();
            }
		}
	
		public function testFailure( failure:Failure ):void {
			/* JT 5/28/09 - added lastFailedTest to handle bugreport FXU-38, the testFinished method of this class
			*  mistakenly assumed that any test which finished was successful.  This is not the case, as failures and 
			*  successes are both valid cases for a finished test.  With this variab
 le, we can now prevent counting
			*  finished failures as successes.
			*/
			lastFailedTest = failure.description;
			model.addFailure();

			var totalAssertions:uint = flexunit.framework.Assert.assetionsMade + org.flexunit.Assert.assertionsMade;
            addTestToList( failure.description, failure, false, totalAssertions );

            rightHandSide.selectedTestCaseViewStack.selectedIndex = 1;
		}
	
		public function testAssumptionFailure( failure:Failure ):void {
		}
	
		/**
		 * Called when a test will not be run, generally because a test method is annotated 
		 * with {@link org.junit.Ignore}.
		 * 
		 * @param description describes the test that will not be run
		 */
		public function testIgnored( description:IDescription ):void {
			model.addIgnore();

            addTestToList( description, null, true );
		}
		
		public function testTimed( description:IDescription, runTime:Number ):void {
			lastRunTime = runTime;
		}
		  
         /*
         public function onSuccess(
  test : Test ) : void
         {
            if( ! leftHandSide.testCasesContainer.allTestsHierarchyTree.selectable )
            {
               addTestToList( true, test );
            }
         }

         public function onError( test : Test, error : Error ) : void
         {
            model.addError();
            
            addTestToList( false, test, error );

            rightHandSide.selectedTestCaseViewStack.selectedIndex = 1;
         }

         public function onFailure(
                     test : Test,
                     error : AssertionFailedError ) : void
         {
            model.addFailure();

            addTestToList( false, test, error, true );

            rightHandSide.selectedTestCaseViewStack.selectedIndex = 1;
         }*/

         // To replace Binding MetaTag
         private function updateRowSummaryToDisplay() : void
         {
            rightHandSide.updateRowSummaryToDisplay();
            leftHandSide.updateScrollPosition();
         
 }

      ]]>
   </mx:Script>

   <data:TestRunnerBasePresentationModel
      id="model"
      rowSelectedChanged="updateRowSummaryToDisplay()"
      testSuiteRunDurationChanged="rightHandSide.updateRunDuration()"
      totalErrorsChanged="rightHandSide.updateTotalErrorUI()"
      totalFailuresChanged="rightHandSide.updateTotalFailureUI()"
	  totalIgnoredChanged="rightHandSide.updateTotalIgnoredUI()"
      progressChanged="rightHandSide.onTestEnd()"
      filterEnableChanged="leftHandSide.updateFilterSectionEnable()"
      filterChanged="leftHandSide.refreshTree()"
      />
   
   <mx:HBox
      verticalAlign="bottom"
      horizontalGap="0">

      <controls:Title
         text="{ FlexUnitLabels.FLEXUNIT } {FlexUnitCore.version} { FlexUnitLabels.RUNNER }"
         styleName="panelTitleStyle"
         width="275"
         />
      
      <controls:Title
         text="{ FlexUnitLabels.POWERED_BY_ADOBE_CONSULTING }"
         styleName="panelTitleSubStyle"
         useHandCursor="true"
 
         buttonMode="true"
         mouseChildren= "false"
         click="navigateToURL( new URLRequest( 'http://www.adobe.com/consulting/' ) )"
         />
      
   </mx:HBox>
      
   <mx:HRule
      styleName="flexUnitHRule"
      width="100%"
      />
   
   <mx:HDividedBox
      width="100%" height="100%"
      horizontalGap="30"
      paddingTop="5"
      paddingBottom="30"
      paddingLeft="25"
      paddingRight="25">
   
      <controls:LeftHandSide
         id="leftHandSide"
         />
      
      <controls:RightHandSide
         id="rightHandSide"
         />
   
   </mx:HDividedBox>

</mx:Panel>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as
index f38d87f..daf89ac 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.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 org.flexunit.flexui.controls
 {
    import mx.utils.StringUtil;

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
index 55c13e2..c0a429f 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
+
 
 <mx:VBox
    xmlns:mx="http://www.adobe.com/2006/mxml"

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
index 65167ce..14c593e 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
+
 
 <mx:VBox
    xmlns:mx="http://www.adobe.com/2006/mxml"

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
index 48dd40b..6586f84 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
 
 <mx:Label 
    xmlns:mx="http://www.adobe.com/2006/mxml"

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
index 287efbb..65bcc1d 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
+
 
 <mx:VBox
    xmlns:mx="http://www.adobe.com/2006/mxml"

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
index a8bfa1f..0b8d371 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
+
 
 <mx:VBox
    xmlns:mx="http://www.adobe.com/2006/mxml"

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
index 344588c..040e36b 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
@@ -1,31 +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 org.flexunit.flexui.controls.left.events
 {
    import flash.events.Event;

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
index 22c07ac..acaf1a7 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
@@ -1,31 +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 org.flexunit.flexui.controls.left.itemRenderer
 {
    import flash.display.DisplayObject;

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
index 5c904ec..3950112 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
 
 <mx:VBox 
    xmlns:mx="http://www.adobe.com/2006/mxml" 

http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/0f812e35/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
index a5b6a42..69c953a 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
@@ -1,33 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<!--
-   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.
--->
+
 
 <mx:Form
    xmlns:mx="http://www.adobe.com/2006/mxml"


Mime
View raw message