[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/enum...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/enum... |
Date: |
Fri, 22 Jun 2007 08:25:17 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/06/22 08:25:17
Modified files:
. : ChangeLog
testsuite/actionscript.all: enumerate.as
Log message:
more tests
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3598&r2=1.3599
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/enumerate.as?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3598
retrieving revision 1.3599
diff -u -b -r1.3598 -r1.3599
--- ChangeLog 22 Jun 2007 02:12:07 -0000 1.3598
+++ ChangeLog 22 Jun 2007 08:25:17 -0000 1.3599
@@ -1,5 +1,9 @@
2007-06-22 Zou Lunkai <address@hidden>
+ * testsuite/actionscript.all/enumerate.as: more tests.
+
+2007-06-22 Zou Lunkai <address@hidden>
+
* testsuite/actionscript.all/enumerate.as: cleanups, tests are not
dependent on enumeration order now.
* server/movie_root.h: document KeyListener class and related stuff.
Index: testsuite/actionscript.all/enumerate.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/enumerate.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/enumerate.as 22 Jun 2007 01:16:56 -0000
1.3
+++ testsuite/actionscript.all/enumerate.as 22 Jun 2007 08:25:17 -0000
1.4
@@ -55,7 +55,12 @@
xcheck_equals(typeof(recorder['mc3']), 'movieclip');
xcheck_equals(typeof(recorder['mc4']), 'movieclip');
xcheck_equals(typeof(recorder['mc5']), 'movieclip');
-
+ check_equals(_root.hasOwnProperty('mc0'), false);
+ check_equals(_root.hasOwnProperty('mc1'), false);
+ check_equals(_root.hasOwnProperty('mc2'), false);
+ check_equals(_root.hasOwnProperty('mc3'), false);
+ check_equals(_root.hasOwnProperty('mc4'), false);
+ check_equals(_root.hasOwnProperty('mc5'), false);
delete recorder;
}
@@ -85,7 +90,9 @@
check_equals(typeof(recorder['x1']), 'function');
check_equals(typeof(recorder['x2']), 'number');
check_equals(typeof(recorder['x3']), 'object');
-
+ check_equals(obj.hasOwnProperty('x1'), true);
+ check_equals(obj.hasOwnProperty('x2'), true);
+ check_equals(obj.hasOwnProperty('x3'), true);
delete recorder;
}