flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From espensko...@apache.org
Subject svn commit: r1374613 - in /incubator/flex/whiteboard/espenskogen/classloader/src: main/flex/flex/classloader/ test/flex/flex/classloader/
Date Sat, 18 Aug 2012 17:09:42 GMT
Author: espenskogen
Date: Sat Aug 18 17:09:41 2012
New Revision: 1374613

URL: http://svn.apache.org/viewvc?rev=1374613&view=rev
Log:
flex-33085 - cleanup

Added:
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCClassLoaderTest.as
      - copied, changed from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcClassLoaderTest.as
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCExtractorTest.as
      - copied, changed from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcExtractorTest.as
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWFClassLoaderTest.as
      - copied, changed from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwfClassLoaderTest.as
Removed:
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcClassLoaderTest.as
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcExtractorTest.as
    incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwfClassLoaderTest.as
Modified:
    incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWCClassLoader.as
    incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWFClassLoader.as

Modified: incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWCClassLoader.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWCClassLoader.as?rev=1374613&r1=1374612&r2=1374613&view=diff
==============================================================================
--- incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWCClassLoader.as
(original)
+++ incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWCClassLoader.as
Sat Aug 18 17:09:41 2012
@@ -25,12 +25,12 @@ import flash.utils.ByteArray;
  * explicitly remove the resource file asset from the SWC, to avoid storing the asset twice
i.e. once for the file
  * and once of the Asset class wrapping the file.</p>
  */
-public class SwcClassLoader extends ClassLoader
+public class SWCClassLoader extends ClassLoader
 {
     /**
      * Constructor
      */
-    public function SwcClassLoader(swcURL:String, parent:ClassLoader = null, domain:ApplicationDomain
= null)
+    public function SWCClassLoader(swcURL:String, parent:ClassLoader = null, domain:ApplicationDomain
= null)
     {
         super(parent, domain);
 

Modified: incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWFClassLoader.as
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWFClassLoader.as?rev=1374613&r1=1374612&r2=1374613&view=diff
==============================================================================
--- incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWFClassLoader.as
(original)
+++ incubator/flex/whiteboard/espenskogen/classloader/src/main/flex/flex/classloader/SWFClassLoader.as
Sat Aug 18 17:09:41 2012
@@ -16,12 +16,12 @@ import flash.system.LoaderContext;
 /**
  * Implements a Class Loader which loads Classes within a SWF container from a URL
  */
-public class SwfClassLoader extends ClassLoader
+public class SWFClassLoader extends ClassLoader
 {
     /**
      * Constructor
      */
-    public function SwfClassLoader(swfURL:String, parent:ClassLoader = null, domain:ApplicationDomain
= null)
+    public function SWFClassLoader(swfURL:String, parent:ClassLoader = null, domain:ApplicationDomain
= null)
     {
         super(parent, domain);
 

Copied: incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCClassLoaderTest.as
(from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcClassLoaderTest.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCClassLoaderTest.as?p2=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCClassLoaderTest.as&p1=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcClassLoaderTest.as&r1=1374612&r2=1374613&rev=1374613&view=diff
==============================================================================
--- incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcClassLoaderTest.as
(original)
+++ incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCClassLoaderTest.as
Sat Aug 18 17:09:41 2012
@@ -13,12 +13,12 @@ import org.flexunit.async.Async;
 /**
  *  SwcClassLoader Tests
  */
-public class SwcClassLoaderTest
+public class SWCClassLoaderTest
 {
     /**
      * Constructor
      */
-    public function SwcClassLoaderTest()
+    public function SWCClassLoaderTest()
     {
     }
 
@@ -42,7 +42,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testConstructWithMissingSWF():void
     {
-        classLoader = new SwcClassLoader("dependencies/nowhere.swc");
+        classLoader = new SWCClassLoader("dependencies/nowhere.swc");
         classLoader.load();
         Async.proceedOnEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_ERROR);
     }
@@ -50,7 +50,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testConstructWithSWF():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         classLoader.load();
         Async.proceedOnEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED,
10000);
     }
@@ -59,7 +59,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testLoadClass():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         const tickCount:int = getTimer();
         classLoader.load();
 
@@ -79,7 +79,7 @@ public class SwcClassLoaderTest
     [Test(async, expects="ReferenceError")]
     public function testClassNotFound():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -93,7 +93,7 @@ public class SwcClassLoaderTest
     [Test(expects="ReferenceError")]
     public function testClassNotLoaded():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         const RuntimeClass:Class = classLoader.getClass("com.jpmorgan.ib.cfpe.classloader.runtime.RuntimeClass");
     }
 
@@ -101,7 +101,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testLoadFunction():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -118,7 +118,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testLoadNamespace():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -134,7 +134,7 @@ public class SwcClassLoaderTest
     [Test(async)]
     public function testLoadBitmapAsset():void
     {
-        classLoader = new SwcClassLoader("dependencies/RuntimeClass.swc");
+        classLoader = new SWCClassLoader("dependencies/RuntimeClass.swc");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void

Copied: incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCExtractorTest.as
(from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcExtractorTest.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCExtractorTest.as?p2=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCExtractorTest.as&p1=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcExtractorTest.as&r1=1374612&r2=1374613&rev=1374613&view=diff
==============================================================================
--- incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwcExtractorTest.as
(original)
+++ incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWCExtractorTest.as
Sat Aug 18 17:09:41 2012
@@ -15,12 +15,12 @@ import org.flexunit.async.Async;
 /**
  * SwcExtractor Tests
  */
-public class SwcExtractorTest
+public class SWCExtractorTest
 {
     /**
      * Constructor
      */
-    public function SwcExtractorTest()
+    public function SWCExtractorTest()
     {
     }
 

Copied: incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWFClassLoaderTest.as
(from r1374612, incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwfClassLoaderTest.as)
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWFClassLoaderTest.as?p2=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWFClassLoaderTest.as&p1=incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwfClassLoaderTest.as&r1=1374612&r2=1374613&rev=1374613&view=diff
==============================================================================
--- incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SwfClassLoaderTest.as
(original)
+++ incubator/flex/whiteboard/espenskogen/classloader/src/test/flex/flex/classloader/SWFClassLoaderTest.as
Sat Aug 18 17:09:41 2012
@@ -14,12 +14,12 @@ import org.flexunit.async.Async;
 /**
  * Tests for SwfClassLoader
  */
-public class SwfClassLoaderTest
+public class SWFClassLoaderTest
 {
     /**
      * Constructor
      */
-    public function SwfClassLoaderTest()
+    public function SWFClassLoaderTest()
     {
     }
 
@@ -41,7 +41,7 @@ public class SwfClassLoaderTest
     [Test(async)]
     public function testConstructWithMissingSWF():void
     {
-        classLoader = new SwfClassLoader("dependencies/nowhere.swf");
+        classLoader = new SWFClassLoader("dependencies/nowhere.swf");
         classLoader.load();
         Async.proceedOnEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_ERROR);
     }
@@ -49,7 +49,7 @@ public class SwfClassLoaderTest
     [Test(async)]
     public function testConstructWithSWF():void
     {
-        classLoader = new SwfClassLoader("dependencies/RuntimeClass.swf");
+        classLoader = new SWFClassLoader("dependencies/RuntimeClass.swf");
         classLoader.load();
         Async.proceedOnEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED,
10000);
     }
@@ -58,7 +58,7 @@ public class SwfClassLoaderTest
     [Test(async)]
     public function testLoadClass():void
     {
-        classLoader = new SwfClassLoader("dependencies/RuntimeClass.swf");
+        classLoader = new SWFClassLoader("dependencies/RuntimeClass.swf");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -75,7 +75,7 @@ public class SwfClassLoaderTest
     [Test(async)]
     public function testLoadImportedClass():void
     {
-        classLoader = new SwfClassLoader("dependencies/RuntimeClass.swf");
+        classLoader = new SWFClassLoader("dependencies/RuntimeClass.swf");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -94,7 +94,7 @@ public class SwfClassLoaderTest
     {
         assertFalse(ApplicationDomain.currentDomain.hasDefinition("com.jpmorgan.ib.cfpe.classloader.runtime.RuntimeClass"));
 
-        classLoader = new SwfClassLoader("dependencies/RuntimeClass.swf");
+        classLoader = new SWFClassLoader("dependencies/RuntimeClass.swf");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void
@@ -116,7 +116,7 @@ public class SwfClassLoaderTest
     [Test(async)]
     public function testLoadBitmapAsset():void
     {
-        classLoader = new SwfClassLoader("dependencies/RuntimeClass.swf");
+        classLoader = new SWFClassLoader("dependencies/RuntimeClass.swf");
         classLoader.load();
 
         Async.handleEvent(this, classLoader, ClassLoaderEvent.CLASS_CONTAINER_LOADED, function
():void



Mime
View raw message