gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/misc-swfc.all movieclip_destruc...
Date: Wed, 05 Sep 2007 10:01:59 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/05 10:01:59

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

Log message:
        more tests for init actions, init actions should not be added twice for 
the same sprites. gnash ignores the id information, fails.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: movieclip_destruction_test1.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- movieclip_destruction_test1.sc      5 Sep 2007 08:11:50 -0000       1.11
+++ movieclip_destruction_test1.sc      5 Sep 2007 10:01:59 -0000       1.12
@@ -218,6 +218,16 @@
   
   .put mc7    // Place the movieclip
   
+
+.frame 15
+  .initaction mc6: //Add initactions for mc6 again.
+    x = 0;
+    // This check should not be executed.
+    // We should ignore the second init actions for the same sprite.
+    // It is here just for detecting some bogus implementation
+    _root.xcheck_equals(x, 1);
+  .end
+
   .action:
     stop();
     totals();




reply via email to

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