gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
Date: Thu, 27 Sep 2007 07:18:16 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/27 07:18:15

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: MovieClip.as XML.as 

Log message:
        * testsuite/actionscript.all/Movieclip.as, XML.as: fix a few unstable 
checks.
          and a few more tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4435&r2=1.4436
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.89&r2=1.90
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XML.as?cvsroot=gnash&r1=1.37&r2=1.38

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4435
retrieving revision 1.4436
diff -u -b -r1.4435 -r1.4436
--- ChangeLog   27 Sep 2007 06:46:32 -0000      1.4435
+++ ChangeLog   27 Sep 2007 07:18:15 -0000      1.4436
@@ -1,3 +1,8 @@
+2007-09-27 Zou Lunkai <address@hidden>
+       
+       * testsuite/actionscript.all/Movieclip.as, XML.as: fix a few unstable 
checks.
+         and a few more tests.
+
 2007-09-27 Sandro Santilli <address@hidden>
 
        * server/parser/action_buffer.cpp (disasm_instruction): neater output.

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- testsuite/actionscript.all/MovieClip.as     12 Sep 2007 05:43:44 -0000      
1.89
+++ testsuite/actionscript.all/MovieClip.as     27 Sep 2007 07:18:15 -0000      
1.90
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.89 2007/09/12 05:43:44 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.90 2007/09/27 07:18:15 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -43,6 +43,17 @@
 check_equals(typeof(this['_root']), 'movieclip');
 check_equals(typeof(this['_level0']), 'movieclip');
 check_equals(typeof(this['this']), 'undefined');
+check_equals(_root['_root'], _root);
+check_equals(_level0['_root'], _root);
+check_equals(_root['_level0'], _root);
+#if OUTPUT_VERSION >= 6
+check_equals(typeof(_root['_global']), 'object');
+check_equals(_root.hasOwnProperty('_root'), false);
+#endif
+check_equals(typeof(_global['_root']), 'undefined');
+x = new Object();
+check_equals(x['_root'], undefined);
+
 
 // Check inheritance
 check(MovieClip);
@@ -188,7 +199,7 @@
 check(! mc.hasOwnProperty('onData'));
 check(! mc.hasOwnProperty('onDragOut'));
 check(! mc.hasOwnProperty('onDragOver'));
-check(! mc.hasOwnProperty('onEnterFrame')); 
+check_equals(mc.hasOwnProperty('onEnterFrame'), false); 
 check(! mc.hasOwnProperty('onKeyDown'));
 check(! mc.hasOwnProperty('onKeyUp'));
 check(! mc.hasOwnProperty('onKillFocus'));

Index: testsuite/actionscript.all/XML.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XML.as,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- testsuite/actionscript.all/XML.as   24 Sep 2007 12:34:50 -0000      1.37
+++ testsuite/actionscript.all/XML.as   27 Sep 2007 07:18:15 -0000      1.38
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XML.as,v 1.37 2007/09/24 12:34:50 strk Exp $";
+rcsid="$Id: XML.as,v 1.38 2007/09/27 07:18:15 zoulunkai Exp $";
 
 #include "dejagnu.as"
 #include "utils.as"
@@ -119,13 +119,13 @@
 o = new Object;
 tmp.status = o; 
 check_equals(typeof(tmp.status), 'number');
-check_equals(tmp.status, -2147483648); // 0xFFFFFFFF
+check_equals(tmp.status, -2147483648.0); // 0xFFFFFFFF
 tmp.status = 7;
 returnFour = function() { return 4; };
 o.toString = returnFour;
 tmp.status = o;
 check_equals(typeof(tmp.status), 'number');
-check_equals(tmp.status, -2147483648); // 0xFFFFFFFF
+check_equals(tmp.status, -2147483648.0); // 0xFFFFFFFF
 
 check_equals(typeof(tmp.loaded), 'undefined');
 check(! tmp.hasOwnProperty("loaded"));




reply via email to

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