[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-ming.all init_action_test.c
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash/testsuite/misc-ming.all init_action_test.c |
Date: |
Thu, 29 Mar 2007 03:23:06 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/03/29 03:23:06
Modified files:
testsuite/misc-ming.all: init_action_test.c
Log message:
add scope tests for DoInitAction tag
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/init_action_test.c?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: init_action_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/init_action_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- init_action_test.c 29 Mar 2007 02:45:22 -0000 1.1
+++ init_action_test.c 29 Mar 2007 03:23:06 -0000 1.2
@@ -75,7 +75,10 @@
sh1 = make_fill_square (300, 300, 60, 60, 255, 0, 0, 255, 0, 0);
SWFMovieClip_add(mc1, (SWFBlock)sh1);
/* add init actions */
- add_clip_init_actions(mc1, " _root.note('mc1.init_actions'); _root.x +=
'1+'; ");
+ add_clip_init_actions(mc1, " _root.note('mc1.init_actions'); "
+ " _root.x += '1+'; "
+ " y = 'var_of_root'; " );
+
/* add actions */
add_clip_actions(mc1, " _root.note('mc1.actions'); _root.x += '7+'; ");
SWFMovieClip_nextFrame(mc1);//1st frame
@@ -125,6 +128,7 @@
SWFMovie_nextFrame(mo); /* 2nd frame */
check_equals(mo, "_root.x", "'1+2+3+4+5+6+7+8+9+'");
+ check_equals(mo, "_root.y", "'var_of_root'");
add_actions(mo, " _root.totals(); stop(); ");
SWFMovie_nextFrame(mo); /* 3rd frame */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/misc-ming.all init_action_test.c,
Zou Lunkai <=