gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/actionscript.all MovieClip.as
Date: Wed, 26 Dec 2007 09:50:05 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/26 09:50:05

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

Log message:
        additional test for _lockroot. Seems a getter-setter, returning 
undefined
        if called on the prototype itself (makes sense..)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.108&r2=1.109

Patches:
Index: MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -b -r1.108 -r1.109
--- MovieClip.as        26 Dec 2007 09:45:56 -0000      1.108
+++ MovieClip.as        26 Dec 2007 09:50:05 -0000      1.109
@@ -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.108 2007/12/26 09:45:56 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.109 2007/12/26 09:50:05 strk Exp $";
 
 #include "check.as"
 
@@ -255,7 +255,7 @@
 check(mc._y != undefined);
 check(mc._ymouse != undefined);
 check(mc._yscale != undefined);
-xcheck(mc._lockroot != undefined);
+check_equals(typeof(MovieClip.prototype._lockroot), 'undefined');
 xcheck_equals(typeof(mc._lockroot), 'boolean');
 xcheck_equals(mc._lockroot, false);
 




reply via email to

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