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/Syst...


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Syst...
Date: Tue, 15 Apr 2008 07:51:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/04/15 07:51:20

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: System.as Math.as 

Log message:
                * testsuite/actionscript.all/Math.as: tests for Math class
                  instantiation (not a proper class).
                * testsuite/actionscript.all/System.as: tests for System
                  object. 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6273&r2=1.6274
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/System.as?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Math.as?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6273
retrieving revision 1.6274
diff -u -b -r1.6273 -r1.6274
--- ChangeLog   15 Apr 2008 00:01:48 -0000      1.6273
+++ ChangeLog   15 Apr 2008 07:51:19 -0000      1.6274
@@ -1,3 +1,10 @@
+2008-04-15 Benjamin Wolsey <address@hidden>
+       
+       * testsuite/actionscript.all/Math.as: tests for Math class
+         instantiation (not a proper class).
+       * testsuite/actionscript.all/System.as: tests for System
+         object. 
+
 2008-04-14 Benjamin Wolsey <address@hidden>
        
        * server/asobj/Date.cpp: register date members as native.

Index: testsuite/actionscript.all/System.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/System.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/System.as        14 Apr 2008 14:16:39 -0000      
1.25
+++ testsuite/actionscript.all/System.as        15 Apr 2008 07:51:20 -0000      
1.26
@@ -21,7 +21,7 @@
 // execute it like this gnash -1 -r 0 -v out.swf
 
 
-rcsid="$Id: System.as,v 1.25 2008/04/14 14:16:39 bwy Exp $";
+rcsid="$Id: System.as,v 1.26 2008/04/15 07:51:20 bwy Exp $";
 #include "check.as"
 
 check_equals(typeof(System), 'object');
@@ -62,6 +62,9 @@
 var systemObj = new System;
 check_equals ( typeof(systemObj), 'undefined' );
 
+check_equals (typeof(System.__proto__), 'object');
+check_equals (System.__proto__, Object.prototype)
+
 // test the System::security.allowDomain method
 check_equals ( typeof(System.security.allowDomain), 'function' );
 
@@ -177,11 +180,11 @@
 xcheck_equals(typeof(p.launch), 'function');
 
 #if OUTPUT_VERSION > 6
- check_totals(83);
+ check_totals(85);
 #else
 # if OUTPUT_VERSION == 6
-   check_totals(82);
+   check_totals(84);
 # else
-   check_totals(49);
+   check_totals(51);
 # endif
 #endif

Index: testsuite/actionscript.all/Math.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Math.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/Math.as  11 Mar 2008 19:31:47 -0000      1.11
+++ testsuite/actionscript.all/Math.as  15 Apr 2008 07:51:20 -0000      1.12
@@ -31,9 +31,12 @@
 // actually many different bitwise values that represent NaN.
 // Hence we string expected NaN results and compare the strings.
 
-rcsid="$Id: Math.as,v 1.11 2008/03/11 19:31:47 strk Exp $";
+rcsid="$Id: Math.as,v 1.12 2008/04/15 07:51:20 bwy Exp $";
 #include "check.as"
 
+var mathObj = new Math;
+check_equals ( typeof(mathObj), 'undefined' );
+
 check_equals (typeof(Math), 'object');
 check_equals (typeof(Math.__proto__), 'object');
 check_equals (Math.__proto__, Object.prototype);
@@ -540,7 +543,7 @@
 
 // End of Math testsuite
 #if OUTPUT_VERSION <= 6
- check_totals(271);
+ check_totals(272);
 #else
- check_totals(280);
+ check_totals(281);
 #endif




reply via email to

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