gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/actionscript.all setProperty.as
Date: Wed, 14 May 2008 08:28:46 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  08/05/14 08:28:46

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

Log message:
        one more test.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/setProperty.as?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: setProperty.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/setProperty.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- setProperty.as      14 May 2008 08:14:25 -0000      1.7
+++ setProperty.as      14 May 2008 08:28:45 -0000      1.8
@@ -19,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: setProperty.as,v 1.7 2008/05/14 08:14:25 zoulunkai Exp $";
+rcsid="$Id: setProperty.as,v 1.8 2008/05/14 08:28:45 zoulunkai Exp $";
 #include "check.as"
 
 #ifdef MING_SUPPORTS_ASM
@@ -144,14 +144,19 @@
        // for swf5, mc4 is the top of the scope chain.
        xcheck_equals(checkpoint, var_in_mc4);
        xcheck_equals(_target, "/mc4");
+    checkpoint = 0;
+    xcheck_equals(this.checkpoint, 0);
 #else
        // for swf6 and above, current target is the top of the scope chain.
        check_equals(checkpoint, "var_in_root");
        check_equals(_target, "/");
+    checkpoint = 0;
+    check_equals(_root.checkpoint, 0);
 #endif
 };
 mc4.func();
 
+_root.checkpoint = "var_in_root";
 obj.checkpoint = "var_in_obj";
 obj = new Object();
 obj.func = function () {
@@ -162,6 +167,6 @@
 };
 obj.func();
 
-check_totals(14); 
+check_totals(15); 
 
 #endif //MING_SUPPORTS_ASM




reply via email to

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