gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl...


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl...
Date: Fri, 31 Aug 2007 07:40:00 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/08/31 07:40:00

Modified files:
        .              : ChangeLog 
        testsuite/misc-swfc.all: movieclip_destruction_test1.sc 

Log message:
        * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: few more 
tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4168&r2=1.4169
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4168
retrieving revision 1.4169
diff -u -b -r1.4168 -r1.4169
--- ChangeLog   31 Aug 2007 05:50:24 -0000      1.4168
+++ ChangeLog   31 Aug 2007 07:39:59 -0000      1.4169
@@ -1,5 +1,9 @@
 2007-08-31 Zou Lunkai <address@hidden>
        
+       * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: few more 
tests.
+       
+2007-08-31 Zou Lunkai <address@hidden>
+       
        * testsuite/misc-swfc.all/movieclip_destruction_test2.sc: testcase about
          movieclip destruction and soft references, more failures.
        * testsuite/misc-swfc.all/Makefile.am: enable testcase.

Index: testsuite/misc-swfc.all/movieclip_destruction_test1.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-swfc.all/movieclip_destruction_test1.sc      30 Aug 2007 
12:58:29 -0000      1.3
+++ testsuite/misc-swfc.all/movieclip_destruction_test1.sc      31 Aug 2007 
07:40:00 -0000      1.4
@@ -48,7 +48,7 @@
  */
 
 
-.flash  bbox=800x600 filename="movieclip_destruction_test1.swf" 
background=white version=6 fps=12
+.flash  bbox=800x600 filename="movieclip_destruction_test1.swf" 
background=white version=7 fps=12
 
 .frame 1
   .action:
@@ -68,6 +68,7 @@
       .put b1 x = 300 y = 300
     .frame 2    
       .action:
+        check_equals(mc1.getDepth(), -16383);
         _root.x = 0;
         _root.gotoAndStop(6);
         // AS below have no chance to be executed.
@@ -92,6 +93,8 @@
   .end
   
   .initaction mc2: // Add initactions for mc2(mc2 is not placed)
+    // mc1 is still alive here, _root.gotoAndStop(6) hasn't been executed yet.
+    // Note mc1 has 2 frames.
     check_equals(typeof(mc1), 'movieclip');
     check_equals(mc1.getDepth(), -16383);
   .end
@@ -107,6 +110,7 @@
   .initaction mc3: // Add initactions for mc3(mc3 is not placed)
     _root.xcheck_equals(mc1, null);
     _root.xcheck_equals(typeof(mc1), 'undefined');
+    _root.check_equals(typeof(_root.getInstanceAtDepth(-16386)), 'undefined');
   .end
 
   .del mc1  // Remove sprite mc1  




reply via email to

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