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


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/action_...
Date: Fri, 16 Nov 2007 09:45:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/11/16 09:45:54

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

Log message:
        * testsuite/misc-swfc.all/action_execution_order_test12.sc: add tests 
          for action block exit and back.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4876&r2=1.4877
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/action_execution_order_test12.sc?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4876
retrieving revision 1.4877
diff -u -b -r1.4876 -r1.4877
--- ChangeLog   16 Nov 2007 07:50:17 -0000      1.4876
+++ ChangeLog   16 Nov 2007 09:45:53 -0000      1.4877
@@ -1,3 +1,8 @@
+2007-11-16 Zou Lunkai <address@hidden>
+
+       * testsuite/misc-swfc.all/action_execution_order_test12.sc: add tests 
+         for action block exit and back.       
+       
 2007-11-16 Sandro Santilli <address@hidden>
 
        * utilities/processor.cpp: add -d switch to force an advance delay.

Index: testsuite/misc-swfc.all/action_execution_order_test12.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/action_execution_order_test12.sc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-swfc.all/action_execution_order_test12.sc    26 Sep 2007 
21:03:03 -0000      1.2
+++ testsuite/misc-swfc.all/action_execution_order_test12.sc    16 Nov 2007 
09:45:54 -0000      1.3
@@ -43,7 +43,6 @@
    _root.loadOrder = '0+';
    _root.enterFrameOrder = '0+';
    _root.unloadOrder = '0+';
-   _root.asOder = '0+';
   .end
   
   // Define 3 shapes(b1, b2, b3)
@@ -175,8 +174,37 @@
       // mc2.mc21, mc1.mc11 and mc1.mc12 were unloaded when loop back.
       // mc1 and mc2 were unloaded by RemoveObject2 tags.
       check_equals(_root.unloadOrder, '0+1+2+3+4+5+');
-    totals(13);
-    stop();
+  .end
+
+
+//
+// test2:
+//   test that a single action block can be interrupted by passing-by init 
actions 
+.frame 9
+    .action:
+        _root.asOrder = '0+';
+        gotoAndPlay(11);
+        _root.asOrder += '1+';
+        func = function () { _root.asOrder += '2+'; };
+        func();
+        _root.asOrder += '4+';
+    .end
+
+.frame 10
+    .sprite mc3
+    .end
+    .initaction mc3:
+        _root.asOrder += '3+';
+    .end
+    
+.frame 11
+    .action:
+        xcheck_equals(asOrder, '0+1+2+3+4+');
+    .end
+
+.frame 15
+    .action:
+        totals(); stop();
   .end
 
   




reply via email to

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