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');

--strk;


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to