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/action_...


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_...
Date: Mon, 14 May 2007 05:17:19 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/05/14 05:17:19

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: action_execution_order_test8.c 

Log message:
        indent

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3183&r2=1.3184
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test8.c?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3183
retrieving revision 1.3184
diff -u -b -r1.3183 -r1.3184
--- ChangeLog   14 May 2007 03:17:16 -0000      1.3183
+++ ChangeLog   14 May 2007 05:17:18 -0000      1.3184
@@ -3,6 +3,8 @@
        * testsuite/misc-ming.all/: displaylist_depths_test9.c, Makefile.am
          new scenario for Timeline Control, gnash passes.
          But luckly, caught a bug in ActionDuplicateClip:)
+       * testsuite/misc-ming.all/action_execution_order_test8.c
+               indent
          
 2007-05-13  Rob Savoye  <address@hidden>
 

Index: testsuite/misc-ming.all/action_execution_order_test8.c
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test8.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/action_execution_order_test8.c      9 May 2007 
09:06:21 -0000       1.4
+++ testsuite/misc-ming.all/action_execution_order_test8.c      14 May 2007 
05:17:19 -0000      1.5
@@ -22,22 +22,22 @@
  * expected order(or behaviour) is like this(player version higher than 4):
  *
  * (1) execute actions in 2nd frame, since "check"!=1, then do nothing;
- * (2) set "check" to 1, jump back to the second frame; * (3) execute
- *     actions in 2nd frame, since "check"==1 now, jump to the 4th frame; * (4)
- *     "mc1" is placed in the 4th frame, frame1 actions of mc1 get executed,
- *     which is the "_root.gotoAndStop(6);" * (5) As "mc1" is removed in the
- *     5th frmae, and "mc2" is removed in the 6th frame, the 6th frame of
- *     _root should be visually empty.
+ * (2) set "check" to 1, jump back to the second frame; 
+ * (3) execute actions in 2nd frame, since "check"==1 now, jump to the 4th 
frame; 
+ * (4) "mc1" is placed in the 4th frame, frame1 actions of mc1 get executed,
+ *     which is the "_root.gotoAndStop(6);" 
+ * (5) As "mc1" is removed in the 5th frmae, and "mc2" is removed in the 6th 
frame, 
+ *     the 6th frame of _root should be visually empty.
  *
  * expected behaviour of player4:
  *
  * (1)(2)(3) are the same as the above;
  * (4) "mc1" is placed in the 4th frame, frame1 actions get executed
  *     but has no effect(player4 does not support mc.gotoAndStop). _root
- *     still advances to the 5th frame.  * (5) "mc1" is removed in the 5th
- *     frame. mc2 is placed in the 5th frame and frame1 actions of mc2 get
- *     executed. Then the message 'your player version is lower than 5' is
- *     printed on the screen.
+ *     still advances to the 5th frame.  
+ * (5) "mc1" is removed in the 5th frame. mc2 is placed in the 5th frame and 
+ *     frame1 actions of mc2 get executed. Then the message 'your player 
version 
+ *     is lower than 5' is printed on the screen.
  *
  *  TODO: generate SWF4 and SWF5 targets to automate test for both !
  *
@@ -89,7 +89,8 @@
   
   
   mc1 = newSWFMovieClip(); // will only exist in frame4
-  add_clip_actions(mc1, " _root.note('about to invoke _root.gotoAndStop(6)');"
+  add_clip_actions(mc1, 
+       " _root.note('about to invoke _root.gotoAndStop(6)');"
                        " _root.gotoAndStop(6);"
                        " _root.note('mc1 actions still running after 
_root.gotoAndStop(6), _root is '+_root);"
                         " _root.x = 100; " );
@@ -99,9 +100,9 @@
   it1 = SWFMovie_add(mo, (SWFBlock)mc1);  
   SWFDisplayItem_setDepth(it1, 3); 
   SWFDisplayItem_setName(it1, "mc1"); 
-  add_actions(mo, " _root.note('root frame '+_root._currentframe);");
-  check_equals(mo, "typeof(_root.x)", "'undefined'");
-  add_actions(mo, " _root.x = 200; ");
+  add_actions(mo, "_root.note('root frame '+_root._currentframe);");
+  check_equals(mo,"typeof(_root.x)", "'undefined'");
+  add_actions(mo, "_root.x = 200; ");
   SWFMovie_nextFrame(mo); /* 4th frame */
 
 




reply via email to

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