gnash-commit
[Top][All Lists]
Advanced

[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: Wed, 02 Apr 2008 08:07:09 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/02 08:07:09

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: ops.as 

Log message:
        test ACTION_LOGICALNOT, gnash fails a "true" in swf5.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6153&r2=1.6154
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.36&r2=1.37

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6153
retrieving revision 1.6154
diff -u -b -r1.6153 -r1.6154
--- ChangeLog   2 Apr 2008 07:59:38 -0000       1.6153
+++ ChangeLog   2 Apr 2008 08:07:08 -0000       1.6154
@@ -1,3 +1,8 @@
+2008-04-01 Sandro Santilli <address@hidden>
+
+       * testsuite/actionscript.all/ops.as: test ACTION_LOGICALNOT, gnash
+         fails a "true" in swf5.
+
 2008-04-01 Benjamin Wolsey <address@hidden>
 
        * testsuite/misc-swfc.all/swf4opcode.sc: was just about to add exponent

Index: testsuite/actionscript.all/ops.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- testsuite/actionscript.all/ops.as   11 Mar 2008 19:31:49 -0000      1.36
+++ testsuite/actionscript.all/ops.as   2 Apr 2008 08:07:08 -0000       1.37
@@ -21,7 +21,7 @@
  */
 
 
-rcsid="$Id: ops.as,v 1.36 2008/03/11 19:31:49 strk Exp $";
+rcsid="$Id: ops.as,v 1.37 2008/04/02 08:07:08 strk Exp $";
 #include "check.as"
 
 //--------------------------------------------
@@ -767,16 +767,46 @@
 xcheck(y!=NaN);
 check(isNaN(y));
 
+//------------------------------------------------------
+// Less logical not operator (ACTION_LOGICALNOT : 0x12)
+//-----------------------------------------------------
+
+check(!"");
+#if OUTPUT_VERSION < 7
+ check(!"a");
+ xcheck(!"true"); 
+ check(!"false"); 
+ check(!"0000.000"); 
+#else
+ check("a"); 
+ check("true"); 
+ check("false"); 
+ check("0000.000"); 
+#endif
+
+check("1");
+check(!false); // doh !
+check(true); // doh !
+check(!0); 
+check(4); 
+check(_root); 
+check(!null); 
+check(!undefined); 
+
+//------------------------------------------------------
+// END OF TEST
+//-----------------------------------------------------
+
 #if OUTPUT_VERSION < 7
 # ifndef MING_LOGICAL_ANDOR_BROKEN
- totals(226);
+ totals(239);
 # else
- totals(203);
+ totals(216);
 # endif
 #else
 # ifndef MING_LOGICAL_ANDOR_BROKEN
- totals(228);
+ totals(241);
 # else
- totals(205);
+ totals(218);
 # endif
 #endif




reply via email to

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