You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cz...@apache.org on 2013/05/22 15:50:34 UTC
[14/41] added Apache license header
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 5cb174f..c099b0b 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/TestRunnerBase.mxml
@@ -1 +1,16 @@
-<?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
+<?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><!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 daf89ac..c72e877 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/FlexUnitLabels.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.controls
{
import mx.utils.StringUtil;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 c0a429f..fbe3392 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/LeftHandSide.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 14c593e..5500d20 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/RightHandSide.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 6586f84..61e0eae 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/Title.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 65bcc1d..0bf8504 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/FilterArea.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 0b8d371..3cf4491 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/TestCasesTree.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 040e36b..06a412d 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/events/SearchBarEvent.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.controls.left.events
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 acaf1a7..3a4fc08 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/left/itemRenderer/TestResultTreeItemRenderer.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.controls.left.itemRenderer
{
import flash.display.DisplayObject;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 3950112..767a72f 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/RunningTests.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 69c953a..bae0cc0 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/SelectedTestCaseForm.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/StackTraceContainer.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/StackTraceContainer.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/StackTraceContainer.mxml
index 1d8f3c8..1db71e1 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/StackTraceContainer.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/StackTraceContainer.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/TestsComplete.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/TestsComplete.mxml b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/TestsComplete.mxml
index fb0f911..454d9ce 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/TestsComplete.mxml
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/controls/right/TestsComplete.mxml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/AbstractRowData.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/AbstractRowData.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/AbstractRowData.as
index 2207548..230f7ce 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/AbstractRowData.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/AbstractRowData.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data
{
import org.flexunit.flexui.controls.FlexUnitLabels;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/FilterTestsModel.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/FilterTestsModel.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/FilterTestsModel.as
index dfec556..e979af6 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/FilterTestsModel.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/FilterTestsModel.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data
{
import flash.events.EventDispatcher;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestCaseData.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestCaseData.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestCaseData.as
index 40a144a..3d4d1fe 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestCaseData.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestCaseData.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data
{
import mx.collections.ArrayCollection;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestFunctionRowData.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestFunctionRowData.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestFunctionRowData.as
index 6d1a655..8467e42 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestFunctionRowData.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestFunctionRowData.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data
{
import mx.formatters.NumberFormatter;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestRunnerBasePresentationModel.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestRunnerBasePresentationModel.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestRunnerBasePresentationModel.as
index 4a6f86f..2c6c3ca 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestRunnerBasePresentationModel.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestRunnerBasePresentationModel.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/AllTestFunctionStatus.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/AllTestFunctionStatus.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/AllTestFunctionStatus.as
index 1d7852b..d0250a0 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/AllTestFunctionStatus.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/AllTestFunctionStatus.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
import org.flexunit.flexui.controls.FlexUnitLabels;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/EmptyTestFunctionStatus.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/EmptyTestFunctionStatus.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/EmptyTestFunctionStatus.as
index 7d588a9..4aba6a1 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/EmptyTestFunctionStatus.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/EmptyTestFunctionStatus.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
import org.flexunit.flexui.controls.FlexUnitLabels;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ErrorTestFunctionStatus.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ErrorTestFunctionStatus.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ErrorTestFunctionStatus.as
index 7743cf6..597563c 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ErrorTestFunctionStatus.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ErrorTestFunctionStatus.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
import org.flexunit.flexui.controls.FlexUnitLabels;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ITestFunctionStatus.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ITestFunctionStatus.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ITestFunctionStatus.as
index 77a497b..33b3d87 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ITestFunctionStatus.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/ITestFunctionStatus.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
import org.flexunit.flexui.data.TestFunctionRowData;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/IgnoredTestFunctionStatus.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/IgnoredTestFunctionStatus.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/IgnoredTestFunctionStatus.as
index 07e6f04..a734806 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/IgnoredTestFunctionStatus.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/IgnoredTestFunctionStatus.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
import org.flexunit.flexui.controls.FlexUnitLabels;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/TestfFunctionStatuses.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/TestfFunctionStatuses.as b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/TestfFunctionStatuses.as
index df96745..46d8b9d 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/TestfFunctionStatuses.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/data/filter/TestfFunctionStatuses.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.data.filter
{
public class TestfFunctionStatuses
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestRunnerBasePresentationModelProperyChangedEvent.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestRunnerBasePresentationModelProperyChangedEvent.as b/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestRunnerBasePresentationModelProperyChangedEvent.as
index b49bc42..4fcdb48 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestRunnerBasePresentationModelProperyChangedEvent.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestRunnerBasePresentationModelProperyChangedEvent.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.event
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestsCompleteEvent.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestsCompleteEvent.as b/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestsCompleteEvent.as
index 8c0ea6f..22ab0f7 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestsCompleteEvent.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/event/TestsCompleteEvent.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.event
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AbstractPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AbstractPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AbstractPattern.as
index 8c2b7b5..a558a80 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AbstractPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AbstractPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import org.flexunit.flexui.data.TestFunctionRowData;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertContainedPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertContainedPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertContainedPattern.as
index f37e2f6..50c585f 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertContainedPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertContainedPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEqualsPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEqualsPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEqualsPattern.as
index ff896aa..47a1948 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEqualsPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEqualsPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEventOcurredPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEventOcurredPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEventOcurredPattern.as
index 88081cb..1fa2778 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEventOcurredPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertEventOcurredPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertMatchPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertMatchPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertMatchPattern.as
index a7162b5..5989dc4 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertMatchPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertMatchPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNoMatchPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNoMatchPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNoMatchPattern.as
index e32aa60..c4d0114 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNoMatchPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNoMatchPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotContainedPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotContainedPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotContainedPattern.as
index 6190e0e..0209def 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotContainedPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotContainedPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotNullPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotNullPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotNullPattern.as
index d647892..c12ef1f 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotNullPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotNullPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotUndefinedPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotUndefinedPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotUndefinedPattern.as
index c0e36d5..6fff9ed 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotUndefinedPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNotUndefinedPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNullPattern.as
----------------------------------------------------------------------
diff --git a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNullPattern.as b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNullPattern.as
index 8b15c40..0b8f4a6 100644
--- a/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNullPattern.as
+++ b/FlexUnit4UIListener/src/org/flexunit/flexui/patterns/AssertNullPattern.as
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.flexunit.flexui.patterns
{
import flexunit.framework.AssertStringFormats;