[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all Date.as
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all Date.as |
Date: |
Mon, 31 Mar 2008 13:47:49 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 08/03/31 13:47:49
Modified files:
testsuite/actionscript.all: Date.as
Log message:
(This is the part that segfaults)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Date.as?cvsroot=gnash&r1=1.41&r2=1.42
Patches:
Index: Date.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Date.as,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- Date.as 31 Mar 2008 13:34:27 -0000 1.41
+++ Date.as 31 Mar 2008 13:47:49 -0000 1.42
@@ -22,7 +22,7 @@
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Date.as,v 1.41 2008/03/31 13:34:27 bwy Exp $";
+rcsid="$Id: Date.as,v 1.42 2008/03/31 13:47:49 bwy Exp $";
#include "check.as"
check_equals(typeof(Date), 'function');
@@ -548,8 +548,9 @@
#endif
h = new Date(3.0935415006117e+23);
- xcheck_equals(wierddate.getMilliseconds(), 700);
- xcheck_equals(wierddate.getFullYear(), -100000);
+ xcheck_equals(h.getMilliseconds(), 584); // Might suggest how the pp
works
+ xcheck_equals(h.getFullYear(), -2147481678);
+ check_equals(h.toString(), "Tue Jan -2147483647 16:04:00 GMT+0000
-2147481678");
// It's hard to test TimezoneOffset because the values will be different
// depending upon where geographically you run the tests.
@@ -640,7 +641,7 @@
#endif
#if OUTPUT_VERSION == 5
-totals(273);
+totals(274);
#else
-totals (315);
+totals (316);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/actionscript.all Date.as,
Benjamin Wolsey <=