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: Sun, 27 Apr 2008 21:50:10 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/27 21:50:10

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

Log message:
        test that only a sprite own properties hide child characters,
        but not inherited properties.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6422&r2=1.6423
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6422
retrieving revision 1.6423
diff -u -b -r1.6422 -r1.6423
--- ChangeLog   27 Apr 2008 18:13:13 -0000      1.6422
+++ ChangeLog   27 Apr 2008 21:50:08 -0000      1.6423
@@ -1,5 +1,11 @@
 2008-04-27 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/VarAndCharClashTest.as: test that
+         only a sprite own properties hide child characters, but
+         not inherited properties.
+
+2008-04-27 Sandro Santilli <address@hidden>
+
        * server/as_object.{cpp,h}, array.{cpp,h},
          edit_text_character.{cpp,h}, sprite_instance.{cpp,h},
          asobj/xml.{cpp,h}:

Index: testsuite/misc-ming.all/VarAndCharClashTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/VarAndCharClashTest.as      21 Dec 2006 08:13:27 
-0000      1.5
+++ testsuite/misc-ming.all/VarAndCharClashTest.as      27 Apr 2008 21:50:09 
-0000      1.6
@@ -10,7 +10,8 @@
 
 // Move the 'green' character on the right 
 // so that Dejagnu.swf xtrace window is visible
-green._x = 200;
+green._x = 500;
+green._xscale = green._yscale = 50;
 
 // Verify that 'green' character is a MovieClip
 check(green instanceOf MovieClip);
@@ -37,6 +38,12 @@
 greenref._name = "stealth";
 check_equals(typeof(greenref), 'movieclip');
 
+MovieClip.prototype.stealth = 12;
+// Only own properties hide chars, not inherited ones
+xcheck_equals(typeof(stealth), 'movieclip'); 
+greenref._name = "stealth2";
+check_equals(typeof(stealth), 'number'); 
+
 // print totals and stop to avoid infinite loops
-totals();
+totals(10);
 stop();




reply via email to

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