CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/10/05 20:50:45
Modified files: . : ChangeLog testsuite/actionscript.all: AsBroadcaster.as Log message: * testsuite/actionscript.all/AsBroadcaster.as: add more tests, failing. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4543&r2=1.4544 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/AsBroadcaster.as?cvsroot=gnash&r1=1.5&r2=1.6 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4543 retrieving revision 1.4544 diff -u -b -r1.4543 -r1.4544 --- ChangeLog 5 Oct 2007 20:19:35 -0000 1.4543 +++ ChangeLog 5 Oct 2007 20:50:44 -0000 1.4544 @@ -1,3 +1,8 @@ +2007-10-05 Sandro Santilli <[EMAIL PROTECTED]> + + * testsuite/actionscript.all/AsBroadcaster.as: add more tests, + failing. + 2007-10-05 Rob Savoye <[EMAIL PROTECTED]> * macros/boost.m4: Check for a directory without "boost" as an Index: testsuite/actionscript.all/AsBroadcaster.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/AsBroadcaster.as,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- testsuite/actionscript.all/AsBroadcaster.as 29 Sep 2007 16:22:57 -0000 1.5 +++ testsuite/actionscript.all/AsBroadcaster.as 5 Oct 2007 20:50:44 -0000 1.6 @@ -19,7 +19,7 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: AsBroadcaster.as,v 1.5 2007/09/29 16:22:57 strk Exp $"; +rcsid="$Id: AsBroadcaster.as,v 1.6 2007/10/05 20:50:44 strk Exp $"; #include "check.as" @@ -41,6 +41,17 @@ check(AsBroadcaster.hasOwnProperty('initialize')); check(!AsBroadcaster.prototype.hasOwnProperty('initialize')); +// These functions are available as AsBroadcaster "statics" +// and a lookup should be issued by 'initalize' so that overridden +// functions are attached to the initialized object rather then +// the original one (from swfdec/test/trace/asbroadcaster-override.as) +xcheck_equals(typeof(AsBroadcaster.addListener), 'function'); +xcheck(AsBroadcaster.hasOwnProperty('addListener')); +xcheck_equals(typeof(AsBroadcaster.removeListener), 'function'); +xcheck(AsBroadcaster.hasOwnProperty('removeListener')); +xcheck_equals(typeof(AsBroadcaster.broadcastMessage), 'function'); +xcheck(AsBroadcaster.hasOwnProperty('broadcastMessage')); + bc = new AsBroadcaster; check_equals(typeof(bc), 'object'); check(bc instanceof AsBroadcaster); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit