[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as |
Date: |
Wed, 06 Feb 2008 10:04:56 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/02/06 10:04:56
Modified files:
. : ChangeLog
testsuite/actionscript.all: case.as
Log message:
use case-sensitive sorting for predictable results (case-insensitive
depends on unspecified order of properties).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5565&r2=1.5566
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5565
retrieving revision 1.5566
diff -u -b -r1.5565 -r1.5566
--- ChangeLog 5 Feb 2008 18:16:53 -0000 1.5565
+++ ChangeLog 6 Feb 2008 10:04:55 -0000 1.5566
@@ -1,3 +1,9 @@
+2008-02-06 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/case.as: use case-sensitive sorting
+ for predictable results (case-insensitive depends on unspecified
+ order of properties).
+
2008-02-05 Sandro Santilli <address@hidden>
* testsuite/server/PropertyListTest.cpp: re-enable the tests,
Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/case.as,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/actionscript.all/case.as 29 Jan 2008 12:31:10 -0000 1.15
+++ testsuite/actionscript.all/case.as 6 Feb 2008 10:04:55 -0000 1.16
@@ -22,7 +22,7 @@
* Test case sensitivity
*/
-rcsid="$Id: case.as,v 1.15 2008/01/29 12:31:10 strk Exp $";
+rcsid="$Id: case.as,v 1.16 2008/02/06 10:04:55 strk Exp $";
#include "check.as"
@@ -206,7 +206,7 @@
{
propRecorder.push(prop);
}
-propRecorder.sort(1); //caseinsensitive sort
+propRecorder.sort(); // case sensitive sort
check_equals(propRecorder.length, 2);
check_equals(propRecorder[0], 'A')
check_equals(propRecorder[1], 'b')
@@ -217,15 +217,15 @@
{
propRecorder.push(prop);
}
-propRecorder.sort(1); //caseinsensitive sort
+propRecorder.sort(); //case sensitive sort
#if OUTPUT_VERSION < 7
check_equals(propRecorder.length, 2);
check_equals(propRecorder[0], 'A')
check_equals(propRecorder[1], 'b')
#else
check_equals(propRecorder.length, 3);
- check_equals(propRecorder[0], 'a')
- check_equals(propRecorder[1], 'A')
+ check_equals(propRecorder[0], 'A')
+ check_equals(propRecorder[1], 'a')
check_equals(propRecorder[2], 'b')
#endif
@@ -235,16 +235,16 @@
{
propRecorder.push(prop);
}
-propRecorder.sort(1); //caseinsensitive sort
+propRecorder.sort(); //case sensitive sort
#if OUTPUT_VERSION < 7
check_equals(propRecorder.length, 2);
check_equals(propRecorder[0], 'A')
check_equals(propRecorder[1], 'b')
#else
check_equals(propRecorder.length, 4);
- xcheck_equals(propRecorder[0], 'A') // gnash has 'a' before 'A' (bug in
Array.sort ?)
- xcheck_equals(propRecorder[1], 'a') // bug in Array.sort ?
- check_equals(propRecorder[2], 'B')
+ check_equals(propRecorder[0], 'A')
+ check_equals(propRecorder[1], 'B')
+ check_equals(propRecorder[2], 'a')
check_equals(propRecorder[3], 'b')
#endif
@@ -254,7 +254,7 @@
{
propRecorder.push(prop);
}
-propRecorder.sort(1); //caseinsensitive sort
+propRecorder.sort(); //case sensitive sort
#if OUTPUT_VERSION < 7
check_equals(propRecorder.length, 1);
check_equals(propRecorder[0], 'b')
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as,
Sandro Santilli <=