[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/duplica...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/duplica... |
Date: |
Tue, 15 May 2007 02:28:36 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/05/15 02:28:36
Modified files:
. : ChangeLog
testsuite/misc-ming.all: duplicate_movie_clip_test2.c
Log message:
more tests
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3214&r2=1.3215
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c?cvsroot=gnash&r1=1.2&r2=1.3
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3214
retrieving revision 1.3215
diff -u -b -r1.3214 -r1.3215
--- ChangeLog 14 May 2007 21:57:52 -0000 1.3214
+++ ChangeLog 15 May 2007 02:28:36 -0000 1.3215
@@ -1,3 +1,8 @@
+2007-05-15 Zou Lunkai <address@hidden>
+
+ * testsuite/misc-ming.all/duplicate_movie_clip_test2.c:
+ more tests.
+
2007-05-14 Sandro Santilli <address@hidden>
* server/parser/movie_def_impl.cpp (read_all_swf): handle premature
Index: testsuite/misc-ming.all/duplicate_movie_clip_test2.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/duplicate_movie_clip_test2.c 14 May 2007
12:23:39 -0000 1.2
+++ testsuite/misc-ming.all/duplicate_movie_clip_test2.c 15 May 2007
02:28:36 -0000 1.3
@@ -27,7 +27,7 @@
*
* expected behaviour:
* (1)target path is supported in duplicateMovieClip, valid path formats
- * are: a.b.c; a/b/c; a/b/c/; a/b/:c; a/b/:c/ ;
+ * are: a.b.c; a/b/c; a/b/c/; a/b/:c; a/b/:c/; /:a/:b/:c(odd);
* (2)the source movie clip should be within the same timeline as the new
movie clip.
*/
@@ -64,7 +64,7 @@
dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0,
800, 600);
SWFMovie_add(mo, (SWFBlock)dejagnuclip);
- SWFMovie_nextFrame(mo); /* 1st frame */
+ SWFMovie_nextFrame(mo); // 1st frame
/* add mc1, mc2 to the main movie */
@@ -83,16 +83,19 @@
"duplicateMovieClip('/_root/mc1/mc11', 'dup_ch2', 2);"
"_root.check_equals(typeof(dup_ch2), 'movieclip');"
- "duplicateMovieClip('mc2', 'dup_ch3', 3);"
- // can not duplicate a movie clip in a different time
- "_root.check_equals(typeof(dup_ch3), 'undefined');"
+ "duplicateMovieClip('/:_root/:mc1/:mc11', 'dup_ch3', 3);"
+ "_root.check_equals(typeof(dup_ch3), 'movieclip');"
- "duplicateMovieClip('/:mc2', 'dup_ch4', 4);"
+ "duplicateMovieClip('mc2', 'dup_ch4', 4);"
// can not duplicate a movie clip in a different time
"_root.check_equals(typeof(dup_ch4), 'undefined');"
+ "duplicateMovieClip('/:mc2', 'dup_ch5', 5);"
+ // can not duplicate a movie clip in a different time
+ "_root.check_equals(typeof(dup_ch5), 'undefined');"
+
// Don't do this, duplicate a self-clip will crash the proprietary player"
- // "duplicateMovieClip('/:mc1', 'dup_ch4', 4);"
+ // "duplicateMovieClip('/:mc1', 'dup_ch6', 6);"
"stop();"
);
SWFMovieClip_nextFrame(mc1);
@@ -134,15 +137,15 @@
add_actions(mo, "removeMovieClip(dup5);");
check_equals(mo, "typeof(dup5)", "'undefined'");
- add_actions(mo, "duplicateMovieClip('_root.mc1.mc2', 'dup6', 6);");
+ add_actions(mo, "duplicateMovieClip('_root.mc1.mc11', 'dup6', 6);");
// can not duplicate a movieclip in a different timeline
check_equals(mo, "typeof(dup6)", "'undefined'");
- add_actions(mo, "duplicateMovieClip('/_root/mc1/:mc2', 'dup7', 7);");
+ add_actions(mo, "duplicateMovieClip('/_root/mc1/:mc11', 'dup7', 7);");
// can not duplicate a movieclip in a different timeline
check_equals(mo, "typeof(dup7)", "'undefined'");
- add_actions(mo, "duplicateMovieClip('/_root/mc1/mc2', 'dup8', 8);");
+ add_actions(mo, "duplicateMovieClip('/_root/mc1/mc11', 'dup8', 8);");
// can not duplicate a movieclip in a different timeline
check_equals(mo, "typeof(dup8)", "'undefined'");
SWFMovie_nextFrame(mo); // 3rd frame