gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11512: Fix more of the haxe testsui


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11512: Fix more of the haxe testsuite.
Date: Tue, 15 Sep 2009 10:07:28 +0200
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11512 [merge]
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2009-09-15 10:07:28 +0200
message:
  Fix more of the haxe testsuite.
modified:
  libbase/GnashAlgorithm.h
  testsuite/misc-haxe.all/classes.all/accessibility/Accessibility_as.hx
=== modified file 'libbase/GnashAlgorithm.h'
--- a/libbase/GnashAlgorithm.h  2009-07-30 15:20:46 +0000
+++ b/libbase/GnashAlgorithm.h  2009-09-15 06:35:30 +0000
@@ -114,7 +114,7 @@
 struct CheckedDeleter<T*>
 {
     void operator()(T* p) const {
-        boost::checked_delete<typename RemovePointer<T>::value_type>(p);
+        boost::checked_delete<T>(p);
     }
 };
 

=== modified file 
'testsuite/misc-haxe.all/classes.all/accessibility/Accessibility_as.hx'
--- a/testsuite/misc-haxe.all/classes.all/accessibility/Accessibility_as.hx     
2009-08-13 20:51:30 +0000
+++ b/testsuite/misc-haxe.all/classes.all/accessibility/Accessibility_as.hx     
2009-09-15 06:35:44 +0000
@@ -154,6 +154,7 @@
            DejaGnu.fail("[ln:"+here.lineNumber+"]System.security 'isActive' is 
not a function");
        }
     
+#if !flash6
     // This was set to xfail in the ming, but seems to pass now in both the pp
     // and gnash
     //xcheck_equals ( typeof(Accessibility.isActive()), 'boolean' );
@@ -165,6 +166,7 @@
            DejaGnu.fail("[ln:"+here.lineNumber+"]Accessibility.isActive is not 
a Bool.");
        }
 #end
+#end
 
        if (untyped Accessibility.hasOwnProperty("updateProperties")) {
        DejaGnu.pass("[ln:"+here.lineNumber+"]Accessibility.prototype. 
'updateProperties' property exists");
@@ -216,6 +218,7 @@
     // instantiated
     
     // Accessibility object can't be instantiated !
+#if !flash6
     var accObj = untyped __new__(Accessibility);
     //check_equals(accObj, undefined);
     if (untyped __typeof__(accObj == 'undefined')) {
@@ -224,6 +227,7 @@
         DejaGnu.fail("[ln:"+here.lineNumber+"]Unexpected return with call to 
new on Accessibility");
     }
 #end
+#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]