gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10985: fixed dummy compression algo


From: Ben Limmer
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10985: fixed dummy compression algorithm testsuite
Date: Wed, 03 Jun 2009 11:05:28 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 10985
committer: Ben Limmer <address@hidden>
branch nick: trunk
timestamp: Wed 2009-06-03 11:05:28 -0600
message:
  fixed dummy compression algorithm testsuite
modified:
  testsuite/as3/classes.all/utils/CompressionAlgorithm_as.hx
    ------------------------------------------------------------
    revno: 10982.1.1
    committer: Ben Limmer <address@hidden>
    branch nick: branch_3
    timestamp: Wed 2009-06-03 11:00:38 -0600
    message:
      fixed compression algorithm
    modified:
      testsuite/as3/classes.all/utils/CompressionAlgorithm_as.hx
=== modified file 'testsuite/as3/classes.all/utils/CompressionAlgorithm_as.hx'
--- a/testsuite/as3/classes.all/utils/CompressionAlgorithm_as.hx        
2009-05-21 00:17:43 +0000
+++ b/testsuite/as3/classes.all/utils/CompressionAlgorithm_as.hx        
2009-06-03 17:00:38 +0000
@@ -24,11 +24,8 @@
 //  DejaGnu.hx header file for the testing framework support.
 
 #if flash9
-import flash.utils.CompressionAlgorithm;
+//import flash.utils.CompressionAlgorithm;
 import flash.display.MovieClip;
-#else
-import flash.CompressionAlgorithm;
-import flash.MovieClip;
 #end
 import flash.Lib;
 import Type;
@@ -39,19 +36,25 @@
 // Class must be named with the _as suffix, as that's the same name as the 
file.
 class CompressionAlgorithm_as {
     static function main() {
-        var x1:CompressionAlgorithm = new CompressionAlgorithm();
+        #if !flash9
+                       DejaGnu.note("this is not a valid test for this version 
of flash");
+               #end
+               #if flash9
+                       DejaGnu.note("this is unimplemented in haxe, no tests 
will be conducted");
+               
+               //var x1:CompressionAlgorithm = new CompressionAlgorithm();
 
         // Make sure we actually get a valid class        
-        if (x1 != null) {
-            DejaGnu.pass("CompressionAlgorithm class exists");
-        } else {
-            DejaGnu.fail("CompressionAlgorithm class doesn't exist");
-        }
+        //if (x1 != null) {
+        //    DejaGnu.pass("CompressionAlgorithm class exists");
+        //} else {
+        //    DejaGnu.fail("CompressionAlgorithm class doesn't exist");
+        //}
 
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This
 // is primarily useful only to test completeness of the API implementation.
-
+       #end
         // Call this after finishing all tests. It prints out the totals.
         DejaGnu.done();
     }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]