CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/09/10 08:21:06
Modified files: . : ChangeLog testsuite/misc-ming.all: Makefile.am action_execution_order_test11.c testsuite/misc-swfc.all: movieclip_destruction_test1.sc Log message: * testsuite/misc-ming.all/Makefile.am: enable tow old testcases. * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: one more test about init actions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4256&r2=1.4257 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.151&r2=1.152 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test11.c?cvsroot=gnash&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.12&r2=1.13 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4256 retrieving revision 1.4257 diff -u -b -r1.4256 -r1.4257 --- ChangeLog 10 Sep 2007 04:29:53 -0000 1.4256 +++ ChangeLog 10 Sep 2007 08:21:05 -0000 1.4257 @@ -1,3 +1,9 @@ +2007-09-10 Zou Lunkai <[EMAIL PROTECTED]> + + * testsuite/misc-ming.all/Makefile.am: enable tow old testcases. + * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: one more + test about init actions. + 2007-09-10 Chad Musick <[EMAIL PROTECTED]> * server/fill_style.cpp: Correct handling of morph fills. Index: testsuite/misc-ming.all/Makefile.am =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v retrieving revision 1.151 retrieving revision 1.152 diff -u -b -r1.151 -r1.152 --- testsuite/misc-ming.all/Makefile.am 7 Sep 2007 12:25:40 -0000 1.151 +++ testsuite/misc-ming.all/Makefile.am 10 Sep 2007 08:21:06 -0000 1.152 @@ -128,6 +128,7 @@ action_execution_order_test7 \ action_execution_order_test8 \ action_execution_order_test9 \ + action_execution_order_test11 \ reverse_execute_PlaceObject2_test1 \ reverse_execute_PlaceObject2_test2 \ loadMovieTest \ @@ -138,6 +139,7 @@ get_frame_number_test \ frame_label_test \ path_format_test \ + callFunction_test \ duplicate_movie_clip_test \ duplicate_movie_clip_test2 \ event_handler_scope_test \ @@ -206,6 +208,7 @@ action_execution_order_test7runner \ action_execution_order_test8runner \ action_execution_order_test9runner \ + action_execution_order_test11runner \ reverse_execute_PlaceObject2_test1runner \ reverse_execute_PlaceObject2_test2runner \ displaylist_depths_testrunner \ @@ -222,6 +225,7 @@ get_frame_number_testrunner \ frame_label_testrunner \ path_format_testrunner \ + callFunction_testrunner \ duplicate_movie_clip_testrunner \ duplicate_movie_clip_test2runner \ event_handler_scope_testrunner \ @@ -996,6 +1000,18 @@ sh $< -r5 $(top_builddir) path_format_test.swf > $@ chmod 755 $@ +callFunction_test_SOURCES = \ + callFunction_test.c \ + $(NULL) +callFunction_test_LDADD = libgnashmingutils.la + +callFunction_test.swf: callFunction_test + ./callFunction_test $(top_srcdir)/testsuite/media + +callFunction_testrunner: $(srcdir)/../generic-testrunner.sh callFunction_test.swf + sh $< -r5 $(top_builddir) callFunction_test.swf > $@ + chmod 755 $@ + duplicate_movie_clip_test_SOURCES = \ duplicate_movie_clip_test.c \ $(NULL) @@ -1260,6 +1276,18 @@ sh $< -f8 $(top_builddir) action_execution_order_test9.swf > $@ chmod 755 $@ +action_execution_order_test11_SOURCES = \ + action_execution_order_test11.c \ + $(NULL) +action_execution_order_test11_LDADD = libgnashmingutils.la + +action_execution_order_test11.swf: action_execution_order_test11 + ./action_execution_order_test11 $(top_srcdir)/testsuite/media + +action_execution_order_test11runner: $(srcdir)/../generic-testrunner.sh action_execution_order_test11.swf + sh $< -f10 $(top_builddir) action_execution_order_test11.swf > $@ + chmod 755 $@ + reverse_execute_PlaceObject2_test1_SOURCES = \ reverse_execute_PlaceObject2_test1.c \ $(NULL) @@ -1667,6 +1695,7 @@ action_execution_order_test7runner \ action_execution_order_test8runner \ action_execution_order_test9runner \ + action_execution_order_test11runner \ reverse_execute_PlaceObject2_test1runner \ reverse_execute_PlaceObject2_test2runner \ displaylist_depths_testrunner \ @@ -1684,6 +1713,7 @@ get_frame_number_testrunner \ frame_label_testrunner \ path_format_testrunner \ + callFunction_testrunner \ duplicate_movie_clip_testrunner \ duplicate_movie_clip_test2runner \ event_handler_scope_testrunner \ Index: testsuite/misc-ming.all/action_execution_order_test11.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test11.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- testsuite/misc-ming.all/action_execution_order_test11.c 7 Sep 2007 03:11:32 -0000 1.2 +++ testsuite/misc-ming.all/action_execution_order_test11.c 10 Sep 2007 08:21:06 -0000 1.3 @@ -232,9 +232,9 @@ SWFDisplayItem_remove(it2); SWFMovie_nextFrame(mo); // _root frame7 - xcheck_equals(mo, "_root.loadOrder", "'0+1+2+3+4+5+'"); + check_equals(mo, "_root.loadOrder", "'0+1+2+3+4+5+'"); xcheck_equals(mo, "_root.enterFrameOrder", "'0+2+1+3+2+1+4+3+2+1+5+4+3+2+1+'"); - xcheck_equals(mo, "_root.unloadOrder", "'0+1+2+3+4+5+'"); + check_equals(mo, "_root.unloadOrder", "'0+1+2+3+4+5+'"); xcheck_equals(mo, "_root.doActionOrder", "'0+1+2+3+4+5+'"); xcheck_equals(mo, "_root.asOrder", "'0+1+2+3+4+5+6+3+8+4+10+6+3+4+14+15+25+10+26+6+27+3+28+4+29+20+21+22+23+24+'"); add_actions(mo, " _root.totals(); stop(); "); Index: testsuite/misc-swfc.all/movieclip_destruction_test1.sc =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v retrieving revision 1.12 retrieving revision 1.13 diff -u -b -r1.12 -r1.13 --- testsuite/misc-swfc.all/movieclip_destruction_test1.sc 5 Sep 2007 10:01:59 -0000 1.12 +++ testsuite/misc-swfc.all/movieclip_destruction_test1.sc 10 Sep 2007 08:21:06 -0000 1.13 @@ -228,6 +228,20 @@ _root.xcheck_equals(x, 1); .end + +.frame 16 + .sprite mc8 + .end + + .sprite mc9 + .put mc8 + .end + + // test initactions for child sprite. + .initaction mc8: + _root.check_equals(this, _root); + .end + .action: stop(); totals(); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit