CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/07/31 04:01:33
Modified files: . : ChangeLog testsuite/misc-ming.all: Makefile.am place_object_test2.c Log message: * testsuite/misc-ming.all/place_object_test2.c, Makefile.am activate the testcase, fix setting the ratio value(0~1.0 in Ming). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3879&r2=1.3880 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.144&r2=1.145 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test2.c?cvsroot=gnash&r1=1.4&r2=1.5 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3879 retrieving revision 1.3880 diff -u -b -r1.3879 -r1.3880 --- ChangeLog 31 Jul 2007 03:18:45 -0000 1.3879 +++ ChangeLog 31 Jul 2007 04:01:32 -0000 1.3880 @@ -1,3 +1,8 @@ +2007-07-31 Zou Lunkai <[EMAIL PROTECTED]> + + * testsuite/misc-ming.all/place_object_test2.c, Makefile.am + activate the testcase, fix setting the ratio value(0~1.0 in Ming). + 2007-07-31 Sandro Santilli <[EMAIL PROTECTED]> * testsuite/actionscript.all/array.as: expect a failure Index: testsuite/misc-ming.all/Makefile.am =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v retrieving revision 1.144 retrieving revision 1.145 diff -u -b -r1.144 -r1.145 --- testsuite/misc-ming.all/Makefile.am 23 Jul 2007 04:48:49 -0000 1.144 +++ testsuite/misc-ming.all/Makefile.am 31 Jul 2007 04:01:33 -0000 1.145 @@ -84,6 +84,7 @@ loop_test8 \ loop_test-Runner \ place_object_test \ + place_object_test2 \ move_object_test \ place_and_remove_object_test \ place_and_remove_object_insane_test \ @@ -181,6 +182,7 @@ check_SCRIPTS = \ timeline_var_test-Runner \ place_object_testrunner \ + place_object_test2runner \ move_object_testrunner \ place_and_remove_object_testrunner \ place_and_remove_object_insane_testrunner \ @@ -631,6 +633,17 @@ sh $< -r5 $(top_builddir) place_object_test.swf > $@ chmod 755 $@ + +place_object_test2_SOURCES = place_object_test2.c +place_object_test2_LDADD = libgnashmingutils.la + +place_object_test2.swf: place_object_test2 + ./place_object_test2 $(top_srcdir)/testsuite/media + +place_object_test2runner: $(srcdir)/../generic-testrunner.sh place_object_test2.swf + sh $< -r5 $(top_builddir) place_object_test2.swf > $@ + chmod 755 $@ + move_object_test_SOURCES = \ move_object_test.c \ $(NULL) @@ -1573,6 +1586,7 @@ root_stop_testrunner \ loop_test-Runner \ place_object_testrunner \ + place_object_test2runner \ move_object_testrunner \ place_and_remove_object_testrunner \ place_and_remove_object_insane_testrunner \ Index: testsuite/misc-ming.all/place_object_test2.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test2.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- testsuite/misc-ming.all/place_object_test2.c 31 Jul 2007 01:18:04 -0000 1.4 +++ testsuite/misc-ming.all/place_object_test2.c 31 Jul 2007 04:01:33 -0000 1.5 @@ -19,8 +19,7 @@ /* * * observed behaviour(SWF6,7,8): - * if the given depth is occupied by a sprite, PlaceObjec2(PLACE) tag will not - * place another sprite into the same depth or replace the original one. + * if the given depth is occupied, PlaceObjec2(PLACE) tag won't replace the orginal one. * * observed behaviour(SWF5): * too odd to understand :( @@ -86,7 +85,7 @@ SWFDisplayItem_setDepth(it1, 3); SWFDisplayItem_setName(it1, "static_mc1"); - it2 = SWFMovie_add(mo, (SWFBlock)mc1); + it2 = SWFMovie_add(mo, (SWFBlock)mc2); SWFDisplayItem_setDepth(it2, 3); SWFDisplayItem_setName(it2, "static_mc2"); @@ -125,13 +124,13 @@ SWFMovie_nextFrame(mo); // frame4 // - // Place mc1 at depth 3 again with ratio set to 2.0 + // Place mc1 at depth 3 again with ratio set to 0.2 // Observed behaviour: no new character get placed(created). // it2 = SWFMovie_add(mo, (SWFBlock)mc1); SWFDisplayItem_setDepth(it2, 3); SWFDisplayItem_setName(it2, "static_mc4"); - SWFDisplayItem_setRatio(it2, 2.0); + SWFDisplayItem_setRatio(it2, 0.2); check_equals(mo, "typeof(static_mc1)", "'movieclip'"); if(OUTPUT_VERSION > 5) @@ -147,13 +146,13 @@ SWFMovie_nextFrame(mo); // frame5 // - // Place mc2 at depth 3 again with ratio set to 2.0 + // Place mc2 at depth 3 again with ratio set to 0.2 // Observed behaviour: no new character get placed(created). // it2 = SWFMovie_add(mo, (SWFBlock)mc2); SWFDisplayItem_setDepth(it2, 3); SWFDisplayItem_setName(it2, "static_mc5"); - SWFDisplayItem_setRatio(it2, 2.0); + SWFDisplayItem_setRatio(it2, 0.2); check_equals(mo, "typeof(static_mc1)", "'movieclip'"); if(OUTPUT_VERSION > 5) @@ -192,3 +191,4 @@ return 0; } + _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit