[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/enum...

From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/enum...
Date: Thu, 21 Jun 2007 12:44:23 +0200

On Thu, Jun 21, 2007 at 02:03:47AM +0000, Zou Lunkai wrote:

> +// Test what we got in the above step. Tests show that characters were also 
> got enumerated!
> +// Note: don't use clip names for testing here, the order in enumerating is 
> not defined.
> +// However, the tests bellow are dependent on enumerating order!
> +// Since recorder[0] and recorder[1] and recorder[2] might not be movieclips.
> +// TODO: find a proper way to test this.

use recorder[name] = 1;
and check_equals(typeof(recorder['name']), 'movieclip');

> +xcheck_equals(typeof(recorder[3]), 'movieclip');
> +xcheck_equals(typeof(recorder[4]), 'movieclip');
> +xcheck_equals(typeof(recorder[5]), 'movieclip');
> +xcheck_equals(typeof(recorder[6]), 'movieclip');
> +xcheck_equals(typeof(recorder[7]), 'movieclip');
> +xcheck_equals(typeof(recorder[8]), 'movieclip');


reply via email to

[Prev in Thread] Current Thread [Next in Thread]