CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/12/02 00:45:29
Modified files: . : ChangeLog testsuite/actionscript.all: Boolean.as Log message: add test for Boolean() constructor call out of an 'new' statement. Gnash fails. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5051&r2=1.5052 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Boolean.as?cvsroot=gnash&r1=1.15&r2=1.16 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5051 retrieving revision 1.5052 diff -u -b -r1.5051 -r1.5052 --- ChangeLog 2 Dec 2007 00:24:47 -0000 1.5051 +++ ChangeLog 2 Dec 2007 00:45:28 -0000 1.5052 @@ -1,5 +1,7 @@ 2007-12-01 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/Boolean.as: add test for Boolean() + constructor call out of an 'new' statement. Gnash fails. * testsuite/actionscript.all/String.as: add test for String() constructor call out of an 'new' statement. Gnash fails. Index: testsuite/actionscript.all/Boolean.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Boolean.as,v retrieving revision 1.15 retrieving revision 1.16 diff -u -b -r1.15 -r1.16 --- testsuite/actionscript.all/Boolean.as 29 Sep 2007 16:22:57 -0000 1.15 +++ testsuite/actionscript.all/Boolean.as 2 Dec 2007 00:45:29 -0000 1.16 @@ -20,10 +20,14 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: Boolean.as,v 1.15 2007/09/29 16:22:57 strk Exp $"; +rcsid="$Id: Boolean.as,v 1.16 2007/12/02 00:45:29 strk Exp $"; #include "check.as" +check_equals(typeof(Boolean), 'function'); +xcheck_equals(typeof(Boolean()), 'undefined'); +check_equals(typeof(new Boolean()), 'object'); + var boolObj = new Boolean; // test the Boolean constuctor @@ -98,4 +102,6 @@ check( falseBoolean ); trueBoolean = new Boolean(true); check( trueBoolean ); -totals(); + + +check_totals(30); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit