[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as
From: |
Udo Giacomozzi |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as |
Date: |
Thu, 25 Oct 2007 09:33:51 +0000 |
CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/10/25 09:33:51
Modified files:
. : ChangeLog
testsuite/actionscript.all: Date.as
Log message:
testsuite/actionscript.all/Date.as: Added testcase for bug #21414
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4704&r2=1.4705
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Date.as?cvsroot=gnash&r1=1.27&r2=1.28
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.4704
retrieving revision 1.4705
diff -u -b -r1.4704 -r1.4705
--- ChangeLog 25 Oct 2007 09:14:08 -0000 1.4704
+++ ChangeLog 25 Oct 2007 09:33:50 -0000 1.4705
@@ -1,3 +1,8 @@
+2007-10-25 Udo Giacomozzi <address@hidden>
+
+ * testsuite/actionscript.all/Date.as: Added testcase for bug #21414
+ (currently failing)
+
2007-10-24 Sandro Santilli <address@hidden>
* testsuite/misc-swfc.all/opcode_guard_test2.sc: add more consistency
Index: testsuite/actionscript.all/Date.as
===================================================================
RCS file: /cvsroot/gnash/gnash/testsuite/actionscript.all/Date.as,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- testsuite/actionscript.all/Date.as 29 Sep 2007 16:22:57 -0000 1.27
+++ testsuite/actionscript.all/Date.as 25 Oct 2007 09:33:51 -0000 1.28
@@ -21,7 +21,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Date.as,v 1.27 2007/09/29 16:22:57 strk Exp $";
+rcsid="$Id: Date.as,v 1.28 2007/10/25 09:33:51 udog Exp $";
#include "check.as"
@@ -503,4 +503,13 @@
d.setUTCFullYear(2000, 6, 1);
d.setUTCHours(0, 0, 0, 0);
check (Date.UTC(2000,6,1,0,0,0,0) == d.valueOf());
+
+
+// Check if Date, concatenated to a string, is in human readable form
+d = new Date(2000, 1, 15, 0, 0, 0);
+var foo = "foo "+d;
+// correct: "foo Tue Feb 15 00:00:00 GMT+0100 2000"
+// but this probably depends on time zone, so just check for some fixed part..
+xcheck_equals(foo.indexOf("Feb"), 8);
+
totals();
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as,
Udo Giacomozzi <=