CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/07/13 02:41:06
Modified files: . : ChangeLog testsuite/misc-ming.all: DefineEditTextTest.c Log message: more tests CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3729&r2=1.3730 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.10&r2=1.11 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3729 retrieving revision 1.3730 diff -u -b -r1.3729 -r1.3730 --- ChangeLog 13 Jul 2007 02:26:31 -0000 1.3729 +++ ChangeLog 13 Jul 2007 02:41:05 -0000 1.3730 @@ -1,5 +1,9 @@ 2007-07-13 Zou Lunkai <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/DefineEditTextTest.c: more tests. + +2007-07-13 Zou Lunkai <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/DefineEditTextTest.c: include dejagnuclip, make it to be a self-contained one. Index: testsuite/misc-ming.all/DefineEditTextTest.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -b -r1.10 -r1.11 --- testsuite/misc-ming.all/DefineEditTextTest.c 13 Jul 2007 02:02:33 -0000 1.10 +++ testsuite/misc-ming.all/DefineEditTextTest.c 13 Jul 2007 02:41:06 -0000 1.11 @@ -146,6 +146,14 @@ } SWFMovie_nextFrame(mo); + check_equals(mo, "typeof(dtext1)", "'object'"); + check_equals(mo, "typeof(dtext1.text)", "'string'"); + check_equals(mo, "typeof(dtext1.__proto__.text)", "'undefined'"); + + + xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true"); + xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true"); + xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true"); check_equals(mo, "dtext1.text", "'Hello'"); check_equals(mo, "etext1.text", "'Hello'"); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit