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


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/loop_te...
Date: Tue, 12 Jun 2007 09:00:19 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/06/12 09:00:18

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

Log message:
        correctly set ratio, forgot in last commit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3510&r2=1.3511
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test8.c?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3510
retrieving revision 1.3511
diff -u -b -r1.3510 -r1.3511
--- ChangeLog   12 Jun 2007 05:11:46 -0000      1.3510
+++ ChangeLog   12 Jun 2007 09:00:17 -0000      1.3511
@@ -1,5 +1,10 @@
 2007-06-12 Zou Lunkai <address@hidden>
 
+       * testsuite/misc-ming.all/loop_test8.c:
+         correctly set ratio, forgot in last commit.
+         
+2007-06-12 Zou Lunkai <address@hidden>
+
        * testsuite/misc-ming.all/loop_test8.c, Makefile.am:
          new testcase for timeline control, focus on ratio.
          

Index: testsuite/misc-ming.all/loop_test8.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test8.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/loop_test8.c        12 Jun 2007 05:11:47 -0000      
1.1
+++ testsuite/misc-ming.all/loop_test8.c        12 Jun 2007 09:00:18 -0000      
1.2
@@ -48,8 +48,8 @@
  * frame6: gotoAndStop frame3
  *
  * Expected behaviour:
- *
- *  A *single* instance of each characters is created in the whole process.
+ *   movieclip in depth4 placed at frame5 kept alive;
+ *   movieclip in depth5 placed at frame5 get destroyed;
  * 
  *  run as ./loop_test8
  */
@@ -105,6 +105,7 @@
   it = SWFMovie_add(mo, (SWFBlock)mc);
   SWFDisplayItem_setDepth(it, depth); 
   SWFDisplayItem_setName(it, name);
+  SWFDisplayItem_setRatio(it, ratio);
 
   return it;
 }
@@ -216,18 +217,14 @@
   
   add_actions(mo, "gotoAndStop(3);");
   
-  // No differences observed after jump, all checks keep the same.
-  // all movieclips are constructed only once, 
-  // testing results keep consistent with visual effect(good:).
   check_equals(mo, "typeof(mc1)", "'movieclip'");
-  xcheck_equals(mo, "typeof(mc2)", "'undefined'"); //Gnash fails by unneeded 
recreating
-  xcheck_equals(mo, "typeof(mc3)", "'undefined'"); //Gnash fails by unneeded 
recreating
-  xcheck_equals(mo, "typeof(mc4)", "'movieclip'"); //Gnash fails by unneeded 
recreating
-  xcheck_equals(mo, "typeof(mc5)", "'movieclip'"); //Gnash fails by unneeded 
recreating
-  check_equals(mo, "mc1Constructed", "1");
+  xcheck_equals(mo, "typeof(mc2)", "'undefined'"); 
+  check_equals(mo, "typeof(mc3)", "'movieclip'"); 
+  xcheck_equals(mo, "typeof(mc4)", "'movieclip'"); 
+  xcheck_equals(mo, "typeof(mc5)", "'movieclip'"); 
   check_equals(mo, "mc1Constructed", "1");
-  xcheck_equals(mo, "mc2Constructed", "1"); //Gnash fails by unneeded 
recreating
-  xcheck_equals(mo, "mc3Constructed", "1"); //Gnash fails by unneeded 
recreating
+  xcheck_equals(mo, "mc2Constructed", "1"); 
+  xcheck_equals(mo, "mc3Constructed", "2"); 
   check_equals(mo, "mc4Constructed", "1");
   check_equals(mo, "mc5Constructed", "1");
   check_equals(mo, "mc1Unloaded", "0");




reply via email to

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