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:37 UTC
[17/41] added Apache license header
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Test/src/tests/org/flexunit/token/TokenSuite.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/tests/org/flexunit/token/TokenSuite.as b/FlexUnit4Test/src/tests/org/flexunit/token/TokenSuite.as
index 4f22998..93fa9f9 100644
--- a/FlexUnit4Test/src/tests/org/flexunit/token/TokenSuite.as
+++ b/FlexUnit4Test/src/tests/org/flexunit/token/TokenSuite.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 tests.org.flexunit.token {
[Suite]
[RunWith("org.flexunit.runners.Suite")]
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Test/src/tests/org/flexunit/token/helper/PendingStub.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/tests/org/flexunit/token/helper/PendingStub.as b/FlexUnit4Test/src/tests/org/flexunit/token/helper/PendingStub.as
index ac69302..a82a2a1 100644
--- a/FlexUnit4Test/src/tests/org/flexunit/token/helper/PendingStub.as
+++ b/FlexUnit4Test/src/tests/org/flexunit/token/helper/PendingStub.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 tests.org.flexunit.token.helper {
import org.flexunit.runner.IRunner;
import org.flexunit.token.ChildResult;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Test/src/tests/org/flexunit/utils/ClassNameUtilCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/tests/org/flexunit/utils/ClassNameUtilCase.as b/FlexUnit4Test/src/tests/org/flexunit/utils/ClassNameUtilCase.as
index 410d8e4..09c797f 100644
--- a/FlexUnit4Test/src/tests/org/flexunit/utils/ClassNameUtilCase.as
+++ b/FlexUnit4Test/src/tests/org/flexunit/utils/ClassNameUtilCase.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 tests.org.flexunit.utils {
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertTrue;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Test/src/tests/org/flexunit/utils/UtilsSuite.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Test/src/tests/org/flexunit/utils/UtilsSuite.as b/FlexUnit4Test/src/tests/org/flexunit/utils/UtilsSuite.as
index 875d358..f0a316b 100644
--- a/FlexUnit4Test/src/tests/org/flexunit/utils/UtilsSuite.as
+++ b/FlexUnit4Test/src/tests/org/flexunit/utils/UtilsSuite.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 tests.org.flexunit.utils
{
[Suite]
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/.actionScriptProperties
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/.actionScriptProperties b/FlexUnit4Turnkey/.actionScriptProperties
index fcc0fcd..23d341b 100644
--- a/FlexUnit4Turnkey/.actionScriptProperties
+++ b/FlexUnit4Turnkey/.actionScriptProperties
@@ -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.
+-->
<actionScriptProperties mainApplicationPath="FlexUnit4Turnkey.mxml" version="3">
<compiler additionalCompilerArguments="-locale en_US" copyDependentFiles="true" enableModuleDebug="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.124" htmlPlayerVersionCheck="true" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/.flexProperties
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/.flexProperties b/FlexUnit4Turnkey/.flexProperties
index 8ced38d..e34d472 100644
--- a/FlexUnit4Turnkey/.flexProperties
+++ b/FlexUnit4Turnkey/.flexProperties
@@ -1,2 +1,18 @@
<?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.
+-->
<flexProperties flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="1"/>
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/.project
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/.project b/FlexUnit4Turnkey/.project
index 89af1d9..c90b2da 100644
--- a/FlexUnit4Turnkey/.project
+++ b/FlexUnit4Turnkey/.project
@@ -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.
+-->
<projectDescription>
<name>FlexUnit4Turnkey</name>
<comment></comment>
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/.settings/org.eclipse.core.resources.prefs
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/.settings/org.eclipse.core.resources.prefs b/FlexUnit4Turnkey/.settings/org.eclipse.core.resources.prefs
index 93deab2..9fcf28c 100644
--- a/FlexUnit4Turnkey/.settings/org.eclipse.core.resources.prefs
+++ b/FlexUnit4Turnkey/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,18 @@
+# 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.
+
#Sun May 03 20:19:53 CDT 2009
eclipse.preferences.version=1
encoding/<project>=utf-8
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/html-template/history/history.css
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/html-template/history/history.css b/FlexUnit4Turnkey/html-template/history/history.css
index dbc47c6..8716330 100644
--- a/FlexUnit4Turnkey/html-template/history/history.css
+++ b/FlexUnit4Turnkey/html-template/history/history.css
@@ -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.
+ */
/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */
#ie_historyFrame { width: 0px; height: 0px; display:none }
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/html-template/history/history.js
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/html-template/history/history.js b/FlexUnit4Turnkey/html-template/history/history.js
index 3279a53..c6d88d5 100644
--- a/FlexUnit4Turnkey/html-template/history/history.js
+++ b/FlexUnit4Turnkey/html-template/history/history.js
@@ -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.
+ */
BrowserHistoryUtils = {
addEvent: function(elm, evType, fn, useCapture) {
useCapture = useCapture || false;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/html-template/history/historyFrame.html
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/html-template/history/historyFrame.html b/FlexUnit4Turnkey/html-template/history/historyFrame.html
index 07e3806..c8af338 100644
--- a/FlexUnit4Turnkey/html-template/history/historyFrame.html
+++ b/FlexUnit4Turnkey/html-template/history/historyFrame.html
@@ -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.
+-->
<html>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/html-template/index.template.html
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/html-template/index.template.html b/FlexUnit4Turnkey/html-template/index.template.html
index 20ee809..eaa3a12 100644
--- a/FlexUnit4Turnkey/html-template/index.template.html
+++ b/FlexUnit4Turnkey/html-template/index.template.html
@@ -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.
+-->
<!-- saved from url=(0014)about:internet -->
<html lang="en">
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/FlexUnit4Turnkey.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/FlexUnit4Turnkey.mxml b/FlexUnit4Turnkey/src/FlexUnit4Turnkey.mxml
index 739b7d5..e9f9cd0 100644
--- a/FlexUnit4Turnkey/src/FlexUnit4Turnkey.mxml
+++ b/FlexUnit4Turnkey/src/FlexUnit4Turnkey.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.
+-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="runMe()" xmlns:flexUnitUIRunner="http://www.adobe.com/2009/flexUnitUIRunner"
styleName="flexUnitApplication" >
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/TestingTester.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/TestingTester.as b/FlexUnit4Turnkey/src/flexUnitTests/TestingTester.as
index 00edd62..a41f270 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/TestingTester.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/TestingTester.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 flexUnitTests
{
import flashx.textLayout.debug.assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
index 37422bc..c81bde8 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AllFrameworkTests.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 flexUnitTests.flexUnit1.framework
{
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
index 1ef7756..15ab6fd 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousTestCase.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 flexUnitTests.flexUnit1.framework
{
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
index d1e60c1..9095ca3 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/AsynchronousValueDispatcher.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 flexUnitTests.flexUnit1.framework
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
index d9ac0b7..f8c024c 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ErrorTestCase.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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
index d22fe0d..f734809 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/FailureTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class FailureTestCase extends TestCase
{
public function FailureTestCase(name : String):void
{
super(name);
}
public function testFailure():void
{
fail("intentional failure");
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
index f6b7ed5..73349c7 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTearDownTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class SetupErrorTearDownTestCase extends TearDownTestCase
{
public function SetupErrorTearDownTestCase(name : String)
{
super(name);
}
override public function setUp() : void
{
throw new Error();
}
public function testSuccess():void
{
assertTrue( true );
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
index 53e77ee..c0025a9 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SetupErrorTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class SetupErrorTestCase extends ErrorTestCase
{
public function SetupErrorTestCase(name : String)
{
super(name);
}
override public function setUp() : void
{
throw new Error();
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
index d81f74d..2432081 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/SuccessTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class SuccessTestCase extends TestCase
{
public function SuccessTestCase(name : String):void
{
super(name);
}
public function testSuccess():void
{
expectedResult = true;
assertTrue( expectedResult );
}
public var expectedResult : Boolean = false;
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
index 2b98218..d8dded3 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownErrorTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class TearDownErrorTestCase extends TearDownTestCase
{
public function TearDownErrorTestCase(name : String)
{
super(name);
}
public function testSuccess() : void
{
assertTrue( true );
}
override public function tearDown() : void
{
super.tearDown();
throw new Error("tearDown");
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
index 4b52d56..6eb82fd 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TearDownTestCase.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
public class TearDownTestCase extends ErrorTestCase
{
public function TearDownTestCase(name : String)
{
super(name);
}
override public function tearDown() : void
{
expectedResult = true;
}
public var expectedResult : Boolean = false;
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
index 447ff89..97656b9 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAssert.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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
index 34ac69e..edc508e 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestAsynchronous.as
@@ -1 +1,17 @@
+/*
+ * 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 flexUnitTests.flexUnit1.framework
{
import flash.events.Event;
import flash.events.TimerEvent;
import flash.utils.Timer;
import flexunit.framework.Assert;
import flexunit.framework.TestCase;
import flexunit.framework.TestResult;
public class TestAsynchronous extends TestCase
{
public function TestAsynchronous(name : String = null)
{
super(name);
}
public function testInTimePass() : void
{
var test : TestCase = new AsynchronousTestCase("testInTimePass");
var result : TestResult = test.run();
initAsync(result, 1, 0, 0);
}
public function testInTimeFail() : void
{
var test : TestCase = new AsynchronousTestCase("testInTimeFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
//this test won't be run right now because the Error that is thrown propagates up and creates a dia
log
//and if the dialog isn't closed in time it screws up the timer in here. however if you run it manaully and close
//the dialog in time it should be ok
public function STOPtestInTimeError() : void
{
var test : TestCase = new AsynchronousTestCase("testInTimeError");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testTooLatePass() : void
{
var test : TestCase = new AsynchronousTestCase("testTooLatePass");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testTooLateFail() : void
{
var test : TestCase = new AsynchronousTestCase("testTooLateFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
//this test won't be run right now because the Error that is thrown propagates up and creates a dialog
//and if the dialog isn't closed in time it screws up the timer in here. however if you run it manaully and close
//the dialog in time it should be ok
public function STOPtestTooLateError() : void
{
var test : TestCase = new AsynchronousTestCase("testTooLateError");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testSecondInTimePass() : void
{
var test : TestCase = new AsynchronousTestCase("testSecondInTimePass");
var result : TestResult = test.run();
initAsync(result, 1, 0, 0);
}
public function testSecondInTimeFail() : void
{
var test : TestCase = new AsynchronousTestCase("testSecondInTimeFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testSecondTooLatePass() : void
{
var test : TestCase = new As
ynchronousTestCase("testSecondTooLatePass");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testSecondTooLateFail() : void
{
var test : TestCase = new AsynchronousTestCase("testSecondTooLateFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testTimeoutFunctionPass() : void
{
var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionPass");
var result : TestResult = test.run();
initAsync(result, 1, 0, 0);
}
public function testTimeoutFunctionFail() : void
{
var test : TestCase = new AsynchronousTestCase("testTimeoutFunctionFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function testNotReallyAsynchronousPass() : void
{
var test : TestCa
se = new AsynchronousTestCase("testNotReallyAsynchronousPass");
var result : TestResult = test.run();
initAsync(result, 1, 0, 0);
}
public function testNotReallyAsynchronousFail() : void
{
var test : TestCase = new AsynchronousTestCase("testNotReallyAsynchronousFail");
var result : TestResult = test.run();
initAsync(result, 1, 1, 0);
}
public function shouldBeRun(event : Event, passedData : Object) : void
{
var result : TestResult = passedData.result;
var expectedRun : int = passedData.expectedRun;
var expectedFail : int = passedData.expectedFail;
var expectedError : int = passedData.expectedError;
Assert.assertEquals("result.runCount() is not correct", expectedRun, result.runCount());
Assert.assertEquals("result.failureCount() is not correct",expectedFail, result.failureCount());
Assert.assertEquals
("result.errorCount() is not correct", expectedError, result.errorCount());
}
private function initAsync(result : TestResult, expectedRun : int, expectedFail : int, expectedError : int):void
{
var data : Object = new Object();
data.result = result;
data.expectedRun = expectedRun;
data.expectedFail = expectedFail;
data.expectedError = expectedError;
var t : Timer = new Timer(1000, 1);
var helper : Function = addAsync(shouldBeRun, 1500, data, function():void { fail('shouldBeRun did not fire')} );
t.addEventListener( TimerEvent.TIMER, helper );
t.start();
}
}
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
index e2831a0..22a6526 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestEventfulTestCase.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 flexUnitTests.flexUnit1.framework
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 865e047..6b1cd59 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestCase.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 flexUnitTests.flexUnit1.framework
{
import flexunit.framework.*;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/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 f9bc3b2..ce2c034 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/TestTestListener.as
@@ -1 +1,17 @@
+/*
+ * 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 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/3b173d72/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 7b7a81c..85ccdf2 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit1/framework/ValueEvent.as
@@ -1 +1,17 @@
+/*
+ * 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 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/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/FlexUnit4Suite.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/FlexUnit4Suite.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/FlexUnit4Suite.as
index e77a866..5e9ca5f 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/FlexUnit4Suite.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/FlexUnit4Suite.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 flexUnitTests.flexUnit4.suites.frameworkSuite
{
import flexUnitTests.flexUnit1.framework.AllFrameworkTests;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestASComponentUse.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestASComponentUse.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestASComponentUse.as
index ec87f5b..92201f4 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestASComponentUse.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestASComponentUse.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as
index d383e71..8180289 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAssert.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flexunit.framework.AssertionFailedError;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronous.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronous.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronous.as
index 0c213f7..85d5511 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronous.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronous.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases {
import flash.events.DataEvent;
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronousSetUpTearDown.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronousSetUpTearDown.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronousSetUpTearDown.as
index b8f73cc..aa18b59 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronousSetUpTearDown.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestAsynchronousSetUpTearDown.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrder.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrder.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrder.as
index dc8b47d..d168a1c 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrder.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrder.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import org.flexunit.Assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrderAsync.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrderAsync.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrderAsync.as
index 40b98d3..ad3d227 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrderAsync.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterClassOrderAsync.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.TimerEvent;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrder.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrder.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrder.as
index 9eb5ca5..9e9d7f7 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrder.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrder.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import org.flexunit.Assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrderAsync.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrderAsync.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrderAsync.as
index 87a0912..57623c0 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrderAsync.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBeforeAfterOrderAsync.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.TimerEvent;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBindingUse.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBindingUse.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBindingUse.as
index 6d46e86..d44d6ad 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBindingUse.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestBindingUse.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestIgnore.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestIgnore.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestIgnore.as
index 27ee830..3b01ba4 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestIgnore.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestIgnore.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import org.flexunit.Assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMXMLComponentUse.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMXMLComponentUse.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMXMLComponentUse.as
index a7b4862..caac6dd 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMXMLComponentUse.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMXMLComponentUse.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMethodOrder.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMethodOrder.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMethodOrder.as
index 164a742..b779b87 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMethodOrder.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestMethodOrder.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import org.flexunit.Assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestSynchronousSetUpTearDown.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestSynchronousSetUpTearDown.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestSynchronousSetUpTearDown.as
index 122be2e..9c6dffa 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestSynchronousSetUpTearDown.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/TestSynchronousSetUpTearDown.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases
{
import org.flexunit.Assert;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/mxml/SimpleMXMLLoginComponent.mxml
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/mxml/SimpleMXMLLoginComponent.mxml b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/mxml/SimpleMXMLLoginComponent.mxml
index 1e42eda..e6e9df0 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/mxml/SimpleMXMLLoginComponent.mxml
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/mxml/SimpleMXMLLoginComponent.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.
+-->
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" title="Please Login" height="168">
<mx:Metadata>
[Event('loginRequested')]
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/valueObject/Person.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/valueObject/Person.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/valueObject/Person.as
index 1a07105..bbc1592 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/valueObject/Person.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/cases/valueObject/Person.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 flexUnitTests.flexUnit4.suites.frameworkSuite.cases.valueObject
{
import flash.events.Event;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/theorySuite/TheorySuite.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/theorySuite/TheorySuite.as b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/theorySuite/TheorySuite.as
index 28d32cc..3663d42 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/theorySuite/TheorySuite.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/flexUnit4/suites/frameworkSuite/theorySuite/TheorySuite.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 flexUnitTests.flexUnit4.suites.frameworkSuite.theorySuite {
import org.flexunit.assertThat;
import org.flexunit.assumeThat;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/flexUnitTests/hamcrest/HamcrestSuite.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/flexUnitTests/hamcrest/HamcrestSuite.as b/FlexUnit4Turnkey/src/flexUnitTests/hamcrest/HamcrestSuite.as
index 4af5158..4a26fa4 100644
--- a/FlexUnit4Turnkey/src/flexUnitTests/hamcrest/HamcrestSuite.as
+++ b/FlexUnit4Turnkey/src/flexUnitTests/hamcrest/HamcrestSuite.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 flexUnitTests.hamcrest
{
import org.hamcrest.BaseMatcherTest;
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/math/SimpleMath.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/math/SimpleMath.as b/FlexUnit4Turnkey/src/math/SimpleMath.as
index 2ef0859..7e3cdfe 100644
--- a/FlexUnit4Turnkey/src/math/SimpleMath.as
+++ b/FlexUnit4Turnkey/src/math/SimpleMath.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 math {
public class SimpleMath {
public function add( n1:Number, n2:Number ):Number {
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/org/hamcrest/AbstractMatcherTestCase.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/org/hamcrest/AbstractMatcherTestCase.as b/FlexUnit4Turnkey/src/org/hamcrest/AbstractMatcherTestCase.as
index 7ad8ab9..bf57e9f 100644
--- a/FlexUnit4Turnkey/src/org/hamcrest/AbstractMatcherTestCase.as
+++ b/FlexUnit4Turnkey/src/org/hamcrest/AbstractMatcherTestCase.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.hamcrest
{
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/org/hamcrest/BaseMatcherTest.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/org/hamcrest/BaseMatcherTest.as b/FlexUnit4Turnkey/src/org/hamcrest/BaseMatcherTest.as
index a9d96f7..296d582 100644
--- a/FlexUnit4Turnkey/src/org/hamcrest/BaseMatcherTest.as
+++ b/FlexUnit4Turnkey/src/org/hamcrest/BaseMatcherTest.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.hamcrest
{
http://git-wip-us.apache.org/repos/asf/flex-flexunit/blob/3b173d72/FlexUnit4Turnkey/src/org/hamcrest/CustomMatcherTest.as
----------------------------------------------------------------------
diff --git a/FlexUnit4Turnkey/src/org/hamcrest/CustomMatcherTest.as b/FlexUnit4Turnkey/src/org/hamcrest/CustomMatcherTest.as
index 2dc5f8b..95b27d7 100644
--- a/FlexUnit4Turnkey/src/org/hamcrest/CustomMatcherTest.as
+++ b/FlexUnit4Turnkey/src/org/hamcrest/CustomMatcherTest.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.hamcrest
{