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: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/action_...
Date: Wed, 09 May 2007 09:06:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/09 09:06:21

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

Log message:
                * testsuite/misc-ming.all/action_execution_order_test8.c:
                  Added description as reported on bug #19727.
                * testsuite/misc-ming.all/static_vs_dynamic2.c:
                  Moved description of the test on top.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3137&r2=1.3138
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test8.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/static_vs_dynamic2.c?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3137
retrieving revision 1.3138
diff -u -b -r1.3137 -r1.3138
--- ChangeLog   9 May 2007 08:56:47 -0000       1.3137
+++ ChangeLog   9 May 2007 09:06:21 -0000       1.3138
@@ -1,5 +1,9 @@
 2007-05-09 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/action_execution_order_test8.c:
+         Added description as reported on bug #19727.
+       * testsuite/misc-ming.all/static_vs_dynamic2.c:
+         Moved description of the test on top.
        * gui/Makefile.am: fixed typo preventing 'dist' to work.
        * testsuite/misc-ming.all/action_execution_order_test8.c:
          Fixed access to uninitialized memory (segfault).

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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/action_execution_order_test8.c      9 May 2007 
08:35:26 -0000       1.3
+++ testsuite/misc-ming.all/action_execution_order_test8.c      9 May 2007 
09:06:21 -0000       1.4
@@ -16,6 +16,33 @@
  *
  */ 
 
+/*
+ * all frame numbers are 1-based and reference the _root.
+ *
+ * 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.
+ *
+ * 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.
+ *
+ *  TODO: generate SWF4 and SWF5 targets to automate test for both !
+ *
+ */
+
 
 #include <stdlib.h>
 #include <stdio.h>

Index: testsuite/misc-ming.all/static_vs_dynamic2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/static_vs_dynamic2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/static_vs_dynamic2.c        9 May 2007 06:33:41 
-0000       1.1
+++ testsuite/misc-ming.all/static_vs_dynamic2.c        9 May 2007 09:06:21 
-0000       1.2
@@ -16,6 +16,17 @@
  *
  */ 
 
+/*
+ * create(by tag) "mc1" in static depth;
+ * create(by AS) "dup" in dynamic depth;
+ * swap them;
+ * try to move and remove the character in static depth;
+ *
+ * TODO: add test for REPLACE.
+ * Question: how to REPLACE a character?
+ */
+  
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <ming.h>
@@ -52,15 +63,6 @@
   SWFMovie_add(mo, (SWFBlock)dejagnuclip);
   SWFMovie_nextFrame(mo); 
 
-  /* create(by tag) "mc1" in static depth;
-   * create(by AS) "dup" in dynamic depth;
-   * swap them;
-   * try to move and remove the character in static depth;
-   *
-   * TODO: add test for REPLACE.
-   * Question: how to REPLACE a character?
-  */
-  
   mc1 = newSWFMovieClip();
   sh = make_fill_square (0, 300, 60, 60, 255, 0, 0, 255, 0, 0);
   SWFMovieClip_add(mc1, (SWFBlock)sh);  




reply via email to

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