Issue 22 in jayrock: DateTime conversion tests failing on a machine in GMT-08:00 zone

2 views
Skip to first unread message

jay...@googlecode.com

unread,
Oct 26, 2010, 3:12:46 PM10/26/10
to jayrock...@googlegroups.com
Status: Accepted
Owner: azizatif
Labels: Type-Defect Priority-Critical Component-JSON Milestone-Release1.0

New issue 22 by azizatif: DateTime conversion tests failing on a machine in
GMT-08:00 zone
http://code.google.com/p/jayrock/issues/detail?id=22

What steps will reproduce the problem?
1. Check out latest revision (r884 at this time)
2. Run build.cmd in the distribution root

What is the expected output? What do you see instead?

Expect entire build script to succeed. Instead, build fails due the
following failing unit test:

Tests run: 887, Failures: 3, Not run: 0, Time: 4.657 seconds

Failures:
1) Jayrock.Json.Conversion.Converters.TestDateTimeExporter.Export :
String lengths are both 33.
Strings differ at index 29.
expected: <"1999-12-31T23:30:59.9990000-08:00">
but was: <"1999-12-31T23:30:59.9990000-0(:00">
-----------------------------------------^

2)
Jayrock.Json.Conversion.Converters.TestDateTimeImporter.ImportMicrosoftAjaxFormat :
expected: <9/26/2010 4:35:29 PM>
but was: <9/26/2010 7:35:29 AM>

3)
Jayrock.Json.Conversion.Converters.TestDateTimeImporter.ImportMicrosoftAjaxFormatWithUpperCase :
expected: <9/26/2010 4:35:29 PM>
but was: <9/26/2010 7:35:29 AM>


For the full build log, see attached build.txt.


Attachments:
build.txt 5.1 KB

jay...@googlecode.com

unread,
Oct 26, 2010, 8:09:45 PM10/26/10
to jayrock...@googlegroups.com
Updates:
Status: Started

Comment #1 on issue 22 by azizatif: DateTime conversion tests failing on a

(No comment was entered for this change.)

jay...@googlecode.com

unread,
Oct 26, 2010, 8:15:47 PM10/26/10
to jayrock...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 22 by azizatif: DateTime conversion tests failing on a

Fixed in r885.

jay...@googlecode.com

unread,
Sep 21, 2011, 4:58:35 PM9/21/11
to jayrock...@googlegroups.com

Comment #3 on issue 22 by azizatif: DateTime conversion tests failing on a

Issue 44 has been merged into this issue.

Reply all
Reply to author
Forward
0 new messages