[Mono-dev] Replicating System.Web.Script.Serialization bugs

Konstantin Triger kostat at mainsoft.com
Mon Oct 22 02:47:23 EDT 2007


Hey Tyler,

Your assumption is very correct, please commit the tests in System.Web.Extensions/Test/System.Web.Script.Serialization/JavaScriptSerializer.cs.

Thanks,
Kosta

> -----Original Message-----
> From: R. Tyler Ballance [mailto:tyler at monkeypox.org]
> Sent: Saturday, October 20, 2007 1:54 PM
> To: Konstantin Triger
> Cc: mono-devel-list at lists.ximian.com; Adar Wesley
> Subject: Re: [Mono-dev] Replicating System.Web.Script.Serialization bugs
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Oct 15, 2007, at 2:14 AM, Konstantin Triger wrote:
> 
> > Hey Tyler,
> >
> > 1. Your code must come AFTER 'if (type == null)' for obvious reasons.
> > The best place would be just before 'return Convert.ChangeType (obj,
> > type);' at the end of the function.
> >
> > 2. Please add the following test cases (passing on MS .Net):
> >  Converting to Nullable<> from empty and non-empty strings.
> 
> 
> I went ahead and committed in r 87847 (and r 87848 because I'm an
> idiot and forgot to move the code down and only realized after I
> checked with null  >_<)
> 
> Anyways, I'm a bit unsure where I should commit the test, I'm
> assuming in System.Web.Extensions/Test/
> System.Web.Script.Serialization/JavaScriptSerializer.cs?
> 
> I'm just unsure because I see gert commit tests like a madman
> elsewhere :-P
> 
> 
> Cheers,
> - -R. Tyler Ballance
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> 
> iD8DBQFHGexDA2GmJ0VpG78RAjwtAJ4pq1cZsYNbDBSDUhHnhUvI5HKoBwCfX5Hm
> XaI/yQu+6Hi3erorUm1hS60=
> =jmcq
> -----END PGP SIGNATURE-----



More information about the Mono-devel-list mailing list