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: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
Date: Thu, 24 May 2007 09:00:49 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/24 09:00:49

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

Log message:
                * testsuite/actionscript.all/MovieClip.as:
                  Add test for _root.getDepth() being static-0.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3330&r2=1.3331
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.69&r2=1.70

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3330
retrieving revision 1.3331
diff -u -b -r1.3330 -r1.3331
--- ChangeLog   24 May 2007 08:48:01 -0000      1.3330
+++ ChangeLog   24 May 2007 09:00:48 -0000      1.3331
@@ -1,5 +1,10 @@
 2007-05-24 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/MovieClip.as:
+         Add test for _root.getDepth() being static-0.
+
+2007-05-24 Sandro Santilli <address@hidden>
+
        * backend/sound_handler.h, backend/sound_handler_gst.cpp,
          backend/sound_handler_gst.h, backend/sound_handler_sdl.cpp,
          backend/sound_handler_sdl.h, server/execute_tag.h,

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- testsuite/actionscript.all/MovieClip.as     10 May 2007 10:08:32 -0000      
1.69
+++ testsuite/actionscript.all/MovieClip.as     24 May 2007 09:00:48 -0000      
1.70
@@ -22,7 +22,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.69 2007/05/10 10:08:32 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.70 2007/05/24 09:00:48 strk Exp $";
 
 #include "check.as"
 
@@ -553,6 +553,10 @@
 // getDepth was not available as of SWF5
 #if OUTPUT_VERSION > 5
 
+// _level0 is at depth 0 !
+// _level1 is at depth 1 ! (and so on)..
+xcheck_equals(_root.getDepth(), -16384);
+
 static_clip_name = "__shared_assets";
 static_clip = eval(static_clip_name);
 if ( typeof(static_clip) == 'movieclip' )




reply via email to

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