gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/VarAndC...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/VarAndC...
Date: Wed, 13 Dec 2006 02:04:47 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/12/13 02:04:47

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: VarAndCharClashTest.as 

Log message:
                * testsuite/misc-ming.all/VarAndCharClashTest.as:
                  added more tests, dissipating some of the cloud...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1924&r2=1.1925
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1924
retrieving revision 1.1925
diff -u -b -r1.1924 -r1.1925
--- ChangeLog   13 Dec 2006 00:10:23 -0000      1.1924
+++ ChangeLog   13 Dec 2006 02:04:47 -0000      1.1925
@@ -1,3 +1,8 @@
+2006-12-13 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/VarAndCharClashTest.as:
+         added more tests, dissipating some of the cloud...
+
 2006-12-12 Sandro Santilli <address@hidden>
 
        * testsuite/misc-ming.all/: Makefile.am, VarAndCharClashTest.as:

Index: testsuite/misc-ming.all/VarAndCharClashTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/VarAndCharClashTest.as      13 Dec 2006 00:10:23 
-0000      1.1
+++ testsuite/misc-ming.all/VarAndCharClashTest.as      13 Dec 2006 02:04:47 
-0000      1.2
@@ -8,17 +8,23 @@
 // and a display list character name
 //
 
-// hide the 'green' character so that Dejagnu.swf xtrace window is visible
-green._visible = false;
+// Move the 'green' character on the right 
+// so that Dejagnu.swf xtrace window is visible
+green._x = 200;
+
+// Verify that 'green' character is a MovieClip
+check(green instanceOf MovieClip);
+check_equals(typeof(green), 'movieclip');
 
 // "create" a 'green' variable.
 // The name of this variable will "clash" with the name of the
 // existing character (added in frame2).
-green = 1;
+green = new Number(1);
 
-// We expect that getting the 'green' label returns
-// our "variable" rather then the character.
-xcheck_equals(green, 1);
+// The *new* 'green' variable is no more a movieclip
+check(green instanceOf Number);
+xcheck_equals(typeof(green), 'object');
+xcheck_equals(green._y, undefined);
 
 // print totals and stop to avoid infinite loops
 totals();




reply via email to

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