[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/place_a...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/place_a... |
Date: |
Sat, 10 Feb 2007 05:22:11 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/02/10 05:22:10
Modified files:
. : ChangeLog
testsuite/misc-ming.all: place_and_remove_object_insane_test.c
Log message:
add a new check that fails current Gnash and some comments. Only
xchecks are supposed to be insane
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2296&r2=1.2297
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_and_remove_object_insane_test.c?cvsroot=gnash&r1=1.9&r2=1.10
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2296
retrieving revision 1.2297
diff -u -b -r1.2296 -r1.2297
--- ChangeLog 10 Feb 2007 04:30:51 -0000 1.2296
+++ ChangeLog 10 Feb 2007 05:22:10 -0000 1.2297
@@ -1,3 +1,8 @@
+2007-02-10 Zou Lunkai <address@hidden>
+ * testsuite/misc-ming.all/place_and_remove_object_insane_test.c
+ add a new check that fails current Gnash and some comments. Only
+ xchecks are supposed to be insane.
+
2007-02-09 Rob Savoye <address@hidden>
* doc/C/debugger.xml: New file about the Flash debugger.
Index: testsuite/misc-ming.all/place_and_remove_object_insane_test.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/place_and_remove_object_insane_test.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/place_and_remove_object_insane_test.c 29 Jan
2007 09:01:13 -0000 1.9
+++ testsuite/misc-ming.all/place_and_remove_object_insane_test.c 10 Feb
2007 05:22:10 -0000 1.10
@@ -37,7 +37,6 @@
-
int
main(int argc, char** argv)
{
@@ -57,7 +56,7 @@
Ming_init();
mo = newSWFMovieWithVersion(OUTPUT_VERSION);
SWFMovie_setDimension(mo, 800, 600);
- SWFMovie_setRate (mo, 1.0);
+ SWFMovie_setRate (mo, 12.0);
dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10,
0, 0, 800, 600);
SWFMovie_add(mo, (SWFBlock)dejagnuclip);
@@ -103,37 +102,34 @@
check_equals(mo, "typeof(_root.mc_blue)", "'movieclip'");
check_equals(mo, "_root.mc_green", "undefined");
- add_actions(mo, " note(\"hello\"); note(counter);
note(_root.mc_blue._x); \
+ // For myself, all xchecks bellow are insane.
+ // I don't know why MM player pass it. The mystery seems
+ // related to ratio value.
+ add_actions(mo, " _root.mc_red._x += 10; \
if(counter == undefined) \
{ \
- flag = 0; \
- _root.mc_blue._x += 60; \
- }else \
- { \
- if(counter == 1) \
+ check_equals(_root.mc_blue._x, 0); \
+ }else if(counter == 1) \
{ \
- check_equals(_root.mc_blue._x, 60); \
+ xcheck_equals(_root.mc_blue._x, 60); \
xcheck_equals(typeof(_root.mc_black),
'undefined'); \
xcheck_equals(typeof(_root.mc_black_name_changed), 'movieclip'); \
- flag = 1; \
- } \
- else \
- flag = 2; \
} ");
-
- check_equals(mo, " _root.mc_red._x", "0");
- check_equals(mo, " _root.mc_blue._x", "60");
- check_equals(mo, "flag", "1");
+ // This one is normal. mc_red._x should *not* be 20 when restart.
+ // Note that mc_red has been removed at the 2nd frame, so when
+ // restart, it will be reconstructed.
+ check_equals(mo, " _root.mc_red._x", "10");
SWFMovie_nextFrame(mo);
//------------end of 1st frame---------------------------------
SWFMovie_remove(mo, it_red); //remove mc_red at the 2nd frame
SWFMovie_remove(mo, it_blue); //remove mc_blue at the 2nd frame
- SWFMovie_remove(mo, it_black); //remove it_black at the 2nd frame
+ SWFMovie_remove(mo, it_black); //remove mc_black at the 2nd frame
check_equals(mo, "typeof(_root.mc_red)", "'undefined'");
- check_equals(mo, "typeof(_root.mc_green)", "'undefined'");
+ check_equals(mo, "typeof(_root.mc_blue)", "'undefined'");
check_equals(mo, "typeof(_root.mc_black)", "'undefined'");
+ check_equals(mo, "typeof(_root.mc_green)", "'undefined'");
SWFMovie_nextFrame(mo);
//------------end of 2nd frame---------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/place_a...,
Zou Lunkai <=