[Mono-bugs] [Bug 409181] [PATCH] Implement DateTimeOffset runtime-serialization

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 8 10:58:52 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=409181

User miguel at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=409181#c2





--- Comment #2 from Miguel de Icaza <miguel at novell.com>  2008-09-08 08:58:51 MDT ---
I am going to have to revert this patch, as the tests do not pass, and I missed
this initially.   This happens on the Boston time zone, and I suspect that this
has something to do with this.

Failures:
1) MonoTests.System.DateTimeOffsetTest.Serialization : resultToString #0 
        String lengths are both 257.
        Strings differ at index 228.

       
expected:<"...D-69-6E-75-74-65-73-00-00-0D-07-00-39-75-F8-80-FC-C8-08-00-00-0B">
         but
was:<"...D-69-6E-75-74-65-73-00-00-0D-07-00-41-4B-E1-AA-FC-C8-08-D4-FE-0B">
        -------------------------------------------------^

  at MonoTests.System.DateTimeOffsetTest.Serialization () [0x0004b] in
/second/home/cvs/mcs/class/corlib/Test/System/DateTimeOffsetTest.cs:403 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00057] in
/second/home/cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:159 

2) MonoTests.System.DateTimeOffsetTest.Deserialization : equals #0 
        expected:<1/2/2007 12:30:50 PM -05:00>
         but was:<1/2/2007 12:30:50 PM +00:00>
  at MonoTests.System.DateTimeOffsetTest.Deserialization () [0x00037] in
/second/home/cvs/mcs/class/corlib/Test/System/DateTimeOffsetTest.cs:417 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00057] in
/second/home/cvs/mcs/class/corlib/System.Reflection/MonoMethod.cs:159 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list