Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

update tests to run with both JSON and XML

#23

right now they only run either JSON or XML, we should be testing with both

One option might be to split out the parsing tests into ObjectiveSupport.

Reported by Joshua Vickery · January 29th, 2009 @ 02:27 PM

State: resolved
Assigned to: Joshua Vickery Joshua Vickery

Activity

  1. jjburka
    jjburka
    • Assigned user set to jjburka

    February 1st, 2009 @ 05:38 PM

  2. Ryan Daigle
    Ryan Daigle

    Is this done? If not, is it required for 1.0, which we're hoping to announce tomorrow?

    February 4th, 2009 @ 04:54 PM

  3. Joshua Vickery
    Joshua Vickery

    this isn't done, but isn't critical for release

    February 4th, 2009 @ 04:59 PM

  4. jjburka
    jjburka
    • Milestone cleared.
    • Assigned user cleared.

    February 4th, 2009 @ 07:10 PM

  5. jjburka
    jjburka
    • Milestone set to ObjectiveResource 1.01
    • Assigned user set to jjburka

    February 16th, 2009 @ 10:13 AM

  6. Ryan Daigle
    Ryan Daigle

    (from [aa08bebf52b18782998d5fe7c5c29e98f8625f5f]) [#40 bug in deserializing CamelCase in FromXMLDelegate] handle multi word class names , [#23 update tests to run with both JSON and XML] added unit tests for json and xml serialization and deserialization. Improved serialization of NSNumber , added a way to format NSDate serialization http://github.com/yfactorial/obj...

    February 17th, 2009 @ 01:34 PM

  7. jjburka
    jjburka
    • Assigned user changed from jjburka to Joshua Vickery

    I updated all the unit tests to use supported types. all the unit tests in OR pass with these changes

    February 17th, 2009 @ 01:39 PM

  8. jjburka
    jjburka

    the only big difference between rails xml and ours when serializing is nil objects don't create <element type="type" nil="true"> just <element>

    February 17th, 2009 @ 01:43 PM

  9. Joshua Vickery
    Joshua Vickery
    • Assigned user changed from Joshua Vickery to jjburka

    February 18th, 2009 @ 12:52 PM

  10. jjburka
    jjburka
    • State changed from new to resolved

    February 18th, 2009 @ 04:42 PM

  11. Joshua Vickery
    Joshua Vickery
    • State changed from resolved to open

    looks like this broke the sample app: http://groups.google.com/group/o...

    February 19th, 2009 @ 07:16 AM

  12. Joshua Vickery
    Joshua Vickery
    • Assigned user changed from jjburka to Joshua Vickery

    February 19th, 2009 @ 07:34 AM

  13. Joshua Vickery
    Joshua Vickery
    • Assigned user changed from Joshua Vickery to jjburka

    I wonder if we shouldn't roll the NSNumber fix back for 1.01 since it changes the way things work in 1.0 pretty significantly.

    We can move it to 1.1 - what do you think James?

    February 19th, 2009 @ 07:46 AM

  14. jjburka
    jjburka

    rollback the isEqualToRemote fix? We honestly should pick either NSString or NSNumber for the id and stick with that. And all the methods expect a NSString so the easiest thing to do would be to use NSString for now

    February 19th, 2009 @ 09:22 AM

  15. Joshua Vickery
    Joshua Vickery

    I mean comment out this: http://github.com/yfactorial/obj...

    until 1.1 and the test that breaks because of it.

    For 1.1 we really need to switch to NSNumber, since that's what Rails provides by default.

    February 19th, 2009 @ 09:29 AM

  16. Ryan Daigle
  17. Ryan Daigle
  18. jjburka
    jjburka
    • Assigned user changed from jjburka to Joshua Vickery

    sample app works now

    February 19th, 2009 @ 10:25 AM

  19. Joshua Vickery
    Joshua Vickery
    • State changed from open to resolved

    February 20th, 2009 @ 10:30 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.