[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ops.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ops.as |
Date: |
Thu, 15 Nov 2007 23:38:15 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/11/15 23:38:14
Modified files:
. : ChangeLog
testsuite/actionscript.all: ops.as
Log message:
Two more tests
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4873&r2=1.4874
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.25&r2=1.26
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4873
retrieving revision 1.4874
diff -u -b -r1.4873 -r1.4874
--- ChangeLog 15 Nov 2007 22:23:34 -0000 1.4873
+++ ChangeLog 15 Nov 2007 23:38:13 -0000 1.4874
@@ -1,5 +1,9 @@
2007-11-15 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/ops.as: a couple of tests more.
+
+2007-11-15 Sandro Santilli <address@hidden>
+
* server/sprite_instance.{cpp,h}: call constructAsScriptObject
directly rather then on_event(CONSTRUCT) when needed. Doing
so we can invoke the event handler *after* __proto__ is set
Index: testsuite/actionscript.all/ops.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/ops.as 3 Oct 2007 09:26:31 -0000 1.25
+++ testsuite/actionscript.all/ops.as 15 Nov 2007 23:38:14 -0000 1.26
@@ -20,7 +20,7 @@
* Test binary predicates (equal, less_then, greater_then, logical and
bitwise ops)
*/
-rcsid="$Id: ops.as,v 1.25 2007/10/03 09:26:31 strk Exp $";
+rcsid="$Id: ops.as,v 1.26 2007/11/15 23:38:14 strk Exp $";
#include "check.as"
@@ -153,6 +153,26 @@
check(! (NaN < undefined) );
check(! (undefined < NaN) );
+r = null < undefined;
+#if OUTPUT_VERSION < 7
+ check_equals(typeof(r), 'boolean');
+ check_equals(r, false);
+#else
+ check_equals(typeof(r), 'undefined');
+ check(r != true);
+ check(r != false);
+#endif
+
+r = null > undefined;
+#if OUTPUT_VERSION < 7
+ check_equals(typeof(r), 'boolean');
+ check_equals(r, false);
+#else
+ check_equals(typeof(r), 'undefined');
+ check(r != true);
+ check(r != false);
+#endif
+
//------------------------------------------------
// Logical AND operator (ACTION_LOGICALAND : 0x10)
//------------------------------------------------
@@ -644,4 +664,8 @@
xcheck(y!=NaN);
check(isNaN(y));
-totals();
+#if OUTPUT_VERSION < 7
+ totals(193);
+#else
+ totals(195);
+#endif
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ops.as,
Sandro Santilli <=