[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/arra...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/arra... |
Date: |
Wed, 06 Feb 2008 15:08:21 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/02/06 15:08:21
Modified files:
. : ChangeLog
testsuite/actionscript.all: array.as
Log message:
add more crazy calls, in particular one matching the problem reported on
bug #22239 (blocker - working to fix this).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5574&r2=1.5575
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.37&r2=1.38
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5574
retrieving revision 1.5575
diff -u -b -r1.5574 -r1.5575
--- ChangeLog 6 Feb 2008 14:41:57 -0000 1.5574
+++ ChangeLog 6 Feb 2008 15:08:20 -0000 1.5575
@@ -1,5 +1,11 @@
2008-02-06 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/array.as: add more crazy calls, in
+ particular one matching the problem reported on bug #22239
+ (blocker - working to fix this).
+
+2008-02-06 Sandro Santilli <address@hidden>
+
* testsuite/actionscript.all/array.as: add a couple of additional
tests for sorting an array using a bogus custom function.
* gui/kde.cpp, gui/kdesup.h: disable no-op movie control menu items
Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- testsuite/actionscript.all/array.as 6 Feb 2008 14:41:57 -0000 1.37
+++ testsuite/actionscript.all/array.as 6 Feb 2008 15:08:21 -0000 1.38
@@ -18,7 +18,7 @@
// Initial test written by Mike Carlson
-rcsid="$Id: array.as,v 1.37 2008/02/06 14:41:57 strk Exp $";
+rcsid="$Id: array.as,v 1.38 2008/02/06 15:08:21 strk Exp $";
#include "check.as"
@@ -215,18 +215,27 @@
check_equals ( trysortarray.toString() ,
"But,alphabet,Different,capitalization" );
function testCmpBogus1 (x,y) { return -1; }
-function testCmpBogus2 (x,y) { return 1; }
-function testCmpBogus3 (x,y) { return 0; }
-
trysortarray.sort( testCmpBogus1 );
check_equals ( trysortarray.toString() ,
"But,alphabet,Different,capitalization" );
+function testCmpBogus2 (x,y) { return 1; }
trysortarray.sort( testCmpBogus2 );
xcheck_equals ( trysortarray.toString() ,
"alphabet,Different,capitalization,But" );
+function testCmpBogus3 (x,y) { return 0; }
trysortarray.sort( testCmpBogus3 );
xcheck_equals ( trysortarray.toString() ,
"alphabet,Different,capitalization,But" );
+function testCmpBogus4 (x,y) { return tmp++%2; }
+trysortarray.sort( testCmpBogus4 );
+xcheck_equals ( trysortarray.toString() ,
"alphabet,Different,capitalization,But" );
+
+function testCmpBogus5 (x,y) { trysortarray.pop(); return -1; }
+trysortarray.sort( testCmpBogus5 );
+xcheck_equals ( trysortarray.length , 0 );
+
+
+
//-----------------------------------------------------
// Test Array.pop()
//-----------------------------------------------------
@@ -1003,11 +1012,11 @@
#if OUTPUT_VERSION < 6
- check_totals(366);
+ check_totals(368);
#else
# if OUTPUT_VERSION < 7
- check_totals(394);
+ check_totals(396);
# else
- check_totals(401);
+ check_totals(403);
# endif
#endif