You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2014/10/26 21:51:06 UTC

[1/2] git commit: [flex-tlf] [refs/heads/develop] - Add property minimalTests to make MinimalTestsSuite runnable

Repository: flex-tlf
Updated Branches:
  refs/heads/develop 7b546ef77 -> 92989fb0c


Add property minimalTests to make MinimalTestsSuite runnable


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

Branch: refs/heads/develop
Commit: db7894f979d22438d19127c4fdcf2d7f24e2ff61
Parents: 7b546ef
Author: piotrz <pi...@gmail.com>
Authored: Sun Oct 26 21:49:29 2014 +0100
Committer: piotrz <pi...@gmail.com>
Committed: Sun Oct 26 21:49:29 2014 +0100

----------------------------------------------------------------------
 automation_apps/src/UnitTest/TestDescriptorRunner.mxml | 10 ++++------
 automation_apps/src/VellumUnit.mxml                    |  7 ++-----
 build.properties                                       |  1 +
 build.xml                                              |  1 +
 4 files changed, 8 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/db7894f9/automation_apps/src/UnitTest/TestDescriptorRunner.mxml
----------------------------------------------------------------------
diff --git a/automation_apps/src/UnitTest/TestDescriptorRunner.mxml b/automation_apps/src/UnitTest/TestDescriptorRunner.mxml
index 7d7253c..c9edada 100644
--- a/automation_apps/src/UnitTest/TestDescriptorRunner.mxml
+++ b/automation_apps/src/UnitTest/TestDescriptorRunner.mxml
@@ -35,14 +35,12 @@
             core.addListener(new CIListener());
             core.addListener(testRunner);
 
-            if (isMinimalTests)
-            {
+            CONFIG::minimaltests {
                 core.run(new MinimalTestsSuite());
+                return;
             }
-            else
-            {
-                core.run(new AllTestsSuite());
-            }
+
+            core.run(new AllTestsSuite());
         }
         ]]>
 	</fx:Script>

http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/db7894f9/automation_apps/src/VellumUnit.mxml
----------------------------------------------------------------------
diff --git a/automation_apps/src/VellumUnit.mxml b/automation_apps/src/VellumUnit.mxml
index 7478275..9f41b3b 100644
--- a/automation_apps/src/VellumUnit.mxml
+++ b/automation_apps/src/VellumUnit.mxml
@@ -161,7 +161,7 @@
              Font.registerFont(arialFontRoundedMTBold);     */
         }
 
-        private function loadAndRunTests(isMinimialTests:Boolean = false):void
+        private function loadAndRunTests():void
         {
             var config:TestConfig = TestConfig.getInstance();
             config.baseURL = normalizedURL;
@@ -188,7 +188,7 @@
 
             testRunDate = MakeMySQLDate(new Date());
 
-            testRunner.startTest(isMinimialTests);
+            testRunner.startTest();
         }
 
         private var xmlRoot:XML = null;
@@ -353,9 +353,6 @@
         private function startRangeTests():void
         {
             useTestSelectDialog = true;	// we select the range in the XML for this dialog
-            /* if (testXMLStore == null)
-             FileRepository.readFile(normalizedURL, "../../test/testSuites.xml", onSuiteFileRead, onSuiteFileReadError, onSuiteFileSecurityError, true);
-             else    */
             loadAndRunTests();
         }
 

http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/db7894f9/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
index a698964..925d779 100644
--- a/build.properties
+++ b/build.properties
@@ -27,6 +27,7 @@ src.depend = true
 src.debug = on
 
 forkValue = true
+minimalTests = false
 
 # JVM options for <compc> and <mxmlc> tasks
 jvm.args = ${local.d32} -Xms64m -Xmx1024m -XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -ea -Dapple.awt.UIElement=true

http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/db7894f9/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index e6c7eaf..6feb0e3 100644
--- a/build.xml
+++ b/build.xml
@@ -349,6 +349,7 @@
 
 			<define name="CONFIG::debug" 			value="${dbg}"/>
 			<define name="CONFIG::release" 			value="${rel}"/>
+            <define name="CONFIG::minimaltests" value="${minimalTests}"/>
 		</mxmlc>
 		<html-wrapper title="VellumUnit" file="VellumUnit.html" 
 		            application="VellumUnit" 


[2/2] git commit: [flex-tlf] [refs/heads/develop] - Set minimalTests property to true just for check ContainerTypeTest

Posted by pi...@apache.org.
Set minimalTests property to true just for check ContainerTypeTest


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/92989fb0
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/92989fb0
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/92989fb0

Branch: refs/heads/develop
Commit: 92989fb0c22d44625ba973e7b7e6e458793655e9
Parents: db7894f
Author: piotrz <pi...@gmail.com>
Authored: Sun Oct 26 21:50:31 2014 +0100
Committer: piotrz <pi...@gmail.com>
Committed: Sun Oct 26 21:50:31 2014 +0100

----------------------------------------------------------------------
 automation_tests/src/MinimalTestsSuite.as | 4 ++--
 build.properties                          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/92989fb0/automation_tests/src/MinimalTestsSuite.as
----------------------------------------------------------------------
diff --git a/automation_tests/src/MinimalTestsSuite.as b/automation_tests/src/MinimalTestsSuite.as
index 93ef569..7f4b558 100644
--- a/automation_tests/src/MinimalTestsSuite.as
+++ b/automation_tests/src/MinimalTestsSuite.as
@@ -19,13 +19,13 @@
 package
 {
 
-    import UnitTest.Tests.FactoryImportTest;
+    import UnitTest.Tests.ContainerTypeTest;
 
     [Suite]
     [RunWith("org.flexunit.runners.Suite")]
     public dynamic class MinimalTestsSuite
     {
-        public var factoryImportTest:FactoryImportTest;
+        public var containerTypeTest:ContainerTypeTest;
     }
 
 }

http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/92989fb0/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
index 925d779..23f4561 100644
--- a/build.properties
+++ b/build.properties
@@ -27,7 +27,7 @@ src.depend = true
 src.debug = on
 
 forkValue = true
-minimalTests = false
+minimalTests = true
 
 # JVM options for <compc> and <mxmlc> tasks
 jvm.args = ${local.d32} -Xms64m -Xmx1024m -XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -ea -Dapple.awt.UIElement=true