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


From: strk
Subject: [Gnash-commit] gnash ./ChangeLog testsuite/actionscript.all/ar...
Date: Thu, 27 Apr 2006 07:27:25 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     strk <address@hidden>   06/04/27 07:27:25

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

Log message:
        * testsuite/actionscript.all/array.as: turned length()
        method calls to length data member accesses.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.239&tr2=1.240&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/testsuite/actionscript.all/array.as.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.239 gnash/ChangeLog:1.240
--- gnash/ChangeLog:1.239       Wed Apr 26 22:20:05 2006
+++ gnash/ChangeLog     Thu Apr 27 07:27:25 2006
@@ -1,3 +1,8 @@
+2006-04-27 Sandro Santilli <address@hidden>
+
+       * testsuite/actionscript.all/array.as: turned length()
+       method calls to length data member accesses.
+
 2006-04-26  Timo Lindfors <address@hidden>
 
        * testsuite/actionscript.all/Boolean.as: added some
Index: gnash/testsuite/actionscript.all/array.as
diff -u gnash/testsuite/actionscript.all/array.as:1.3 
gnash/testsuite/actionscript.all/array.as:1.4
--- gnash/testsuite/actionscript.all/array.as:1.3       Wed Apr 26 20:02:41 2006
+++ gnash/testsuite/actionscript.all/array.as   Thu Apr 27 07:27:25 2006
@@ -18,7 +18,7 @@
 // that two arrays are always considered NOT equal - need to verify
 check ( a != b ); 
 
-check_equals ( a.length(), 3 );
+check_equals ( a.length, 3 );
 check_equals ( a[2], 12 );
 check ( a.pop() == 12 );
 check ( a[2] == undefined );
@@ -29,7 +29,7 @@
 check ( a[0] == 200 );
 check ( a.tostring() == "200,551");
 a.push(7,8,9);
-check_equals ( a.length(), 5);
+check_equals ( a.length, 5);
 check ( a[100] == undefined );
 check ( a[5] == undefined );
 check ( a[4] == 9 );
@@ -68,7 +68,7 @@
 // make sure pops on an empty array don't cause problems
 check ( b.pop() == undefined );
 b.pop(); b.pop();
-check_equals ( b.length(), 0 );
+check_equals ( b.length, 0 );
 b.unshift(8,2);
 b.push(4,3);
 b.pop();
@@ -84,8 +84,8 @@
 
 // check concat, slice
 var bclone = b.concat();
-check_equals ( bclone.length(), 0 );
-check_equals ( b.length(), 0 );
+check_equals ( bclone.length, 0 );
+check_equals ( b.length, 0 );
 var basic = b.concat(0,1,2);
 var concatted = basic.concat(3,4,5,6);
 check ( concatted.join() == "0,1,2,3,4,5,6" );
@@ -97,20 +97,24 @@
 check ( portion.tostring() == "3,4" );
 portion = portion.slice(1, 2);
 check ( portion.tostring() == "4" );
-check_equals ( portion.length(), 1);
+check_equals ( portion.length, 1);
 
 // Test single parameter constructor, and implicitly expanding array
 var c = new Array(10);
 check_equals ( typeof(c), "object" );
-check_equals ( c.length(), 10 );
+check_equals ( c.length, 10 );
 check ( c[5] == undefined );
 c[1000] = 283;
 check ( c[1000] == 283 );
 check ( c[1001] == undefined );
 check ( c[999] == undefined );
-check_equals ( c.length(), 1001 );
+check_equals ( c.length, 1001 );
 
 // $Log: array.as,v $
+// Revision 1.4  2006/04/27 07:27:25  strk
+//         * testsuite/actionscript.all/array.as: turned length()
+//         method calls to length data member accesses.
+//
 // Revision 1.3  2006/04/26 20:02:41  strk
 // More uses of the check_equals macro
 //




reply via email to

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