You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2015/05/22 19:02:16 UTC

[04/10] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34852 FLEX-34837 Making sure that flexunit tests are run for the framework project, in which ListCollectionView resides. Note that this will introduce some failing tests in the nightly build unti

FLEX-34852 FLEX-34837 Making sure that flexunit tests are run for the framework project, in which ListCollectionView resides. Note that this will introduce some failing tests in the nightly build until this ticket is closed.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/06fcb1f6
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/06fcb1f6
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/06fcb1f6

Branch: refs/heads/develop
Commit: 06fcb1f6c24846909478f4c13ff1807741fecc49
Parents: cae5f40
Author: Mihai Chira <mi...@apache.org>
Authored: Fri May 22 13:14:54 2015 +0200
Committer: Mihai Chira <mi...@apache.org>
Committed: Fri May 22 18:18:32 2015 +0200

----------------------------------------------------------------------
 frameworks/build.xml                    | 4 ++++
 frameworks/projects/framework/build.xml | 6 ++++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/06fcb1f6/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index ce5205f..7be8a53 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -141,6 +141,7 @@
         <antcall target="apache-test"/>
         <antcall target="spark-test"/>
         <antcall target="advancedgrids-test"/>
+        <antcall target="framework-test"/>
     </target>
 
 	<target name="flex-config" depends="playerglobal-setswfversion" description="Copy the flex/air/airmobile config templates to flex/air/airmobile-config.xml and inject version numbers">
@@ -526,6 +527,9 @@
     <target name="advancedgrids-test" description="Tests for 'advancedgrids' project">
         <ant dir="${basedir}/projects/advancedgrids" target="test"/>
     </target>
+    <target name="framework-test" description="Tests for 'framework' project">
+        <ant dir="${basedir}/projects/framework" target="test"/>
+    </target>
 
     <target name="experimental" description="Clean build of experimental.swc">
         <ant dir="${basedir}/projects/experimental"/>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/06fcb1f6/frameworks/projects/framework/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/build.xml b/frameworks/projects/framework/build.xml
index a308bee..7e1504a 100644
--- a/frameworks/projects/framework/build.xml
+++ b/frameworks/projects/framework/build.xml
@@ -321,4 +321,10 @@
         <delete dir="${FLEX_HOME}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
         <delete file="${basedir}/bundles/en_US/packages.dita" failonerror="false"/>
     </target>
+
+    <target name="test" description="Runs the FlexUnit tests for this project">
+        <ant antfile="${FLEX_HOME}/flexunit-tests.xml">
+            <property name="project.root" value="${basedir}"/>
+        </ant>
+    </target>
 </project>