Re: [Simple-support] Once again some test cases: Replace
Brought to you by:
niallg
|
From: Simon B. <sim...@if...> - 2012-07-25 17:30:44
|
Hi Niall, The problem in Test2 seems to be solved when modifying the attached classes. At least things then work for me. Maybe one has do apply analogous changes to some other classes, i.e. those for arrays. Best Regards Simon -----Ursprüngliche Nachricht----- Von: Niall Gallagher [mailto:gal...@ya...] Gesendet: Sonntag, 22. Juli 2012 10:49 An: sim...@li...; Simon Brodt Betreff: Re: [Simple-support] Once again some test cases: Replace Hi Simon, I am not sure Test1 is actually an error, for instance how do you deserialize the final string if there is no method or constructor to accept it, I think whats needed here is required=false, or at least annotate the constructor argument so it can be accepted then just ignore it. With regards to Test2 I am not sure whats being tested. You serialize Test2 be deserialize Test1 however in no place is @Replace or @Resolve used to switch to Test1 anywhere. Is this case correct? If you think there is a real issue here that I am just not getting let me know, I appreciate the feedback. Thanks, Niall --- On Sat, 21/7/12, Simon Brodt <sim...@if...> wrote: > From: Simon Brodt <sim...@if...> > Subject: [Simple-support] Once again some test cases: Replace > To: sim...@li... > Received: Saturday, 21 July, 2012, 10:51 PM > Dear Niall, > > It seems like I discovered some problem with the Replace > annotation. Maybe > you could have a look on it. > > Best Regards > > Simon > > -----Inline Attachment Follows----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > -----Inline Attachment Follows----- > > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |