« Google Analytics follow-up | Main | Cocoa manual binding to selection in NSArrayController »

Coredata doubly-linked list

I just rewrote my model to be more sane and suddenly everything works. My next entry on this topic will be how to cleanly implement a doubly-linked list in coredata, I swear. I just need to write a few more unit tests to make sure I'm not missing a few potential edge cases that are giving me that creeping feeling...

I'll also give my thoughts on Rentzch's mogenerator (hint: awesome awesome awesome).

Test Suite '/Volumes/Docs/Users/jonathan/svnCheckouts/main/ipod/branches/xmlRefactorBranch/experiments/MOlinkedList/build/TestMoLinkedList.octest(Tests)' started at 2007-01-03 04:03:41 -0500
Test Suite 'testReorderObjects' started at 2007-01-03 04:03:41 -0500
Test Case '-[testReorderObjects testReorderObjects]' passed (0.000 seconds).
Test Suite 'testReorderObjects' finished at 2007-01-03 04:03:41 -0500.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.015) seconds

Test Suite 'TestIteration' started at 2007-01-03 04:03:41 -0500
Test Case '-[TestIteration testForwardIteration]' passed (0.000 seconds).
Test Case '-[TestIteration testReverseIteration]' passed (0.000 seconds).
Test Suite 'TestIteration' finished at 2007-01-03 04:03:41 -0500.
Executed 2 tests, with 0 failures (0 unexpected) in 0.000 (0.016) seconds

Test Suite 'TestNewObjectInsertions' started at 2007-01-03 04:03:41 -0500
Test Case '-[TestNewObjectInsertions testInsert]' passed (0.003 seconds).
Test Suite 'TestNewObjectInsertions' finished at 2007-01-03 04:03:41 -0500.
Executed 1 test, with 0 failures (0 unexpected) in 0.003 (0.008) seconds

Test Suite 'TestRemovingObjects' started at 2007-01-03 04:03:41 -0500
Test Case '-[TestRemovingObjects testRemovingObjects]' passed (0.000 seconds).
Test Suite 'TestRemovingObjects' finished at 2007-01-03 04:03:41 -0500.
Executed 1 test, with 0 failures (0 unexpected) in 0.000 (0.007) seconds

Test Suite '/Volumes/Docs/Users/jonathan/svnCheckouts/main/ipod/branches/xmlRefactorBranch/experiments/MOlinkedList/build/TestMoLinkedList.octest(Tests)' finished at 2007-01-03 04:03:41 -0500.
Executed 5 tests, with 0 failures (0 unexpected) in 0.003 (0.047) seconds


otest has exited with status 0.

TrackBack

TrackBack URL for this entry:
http://www.jonathansaggau.com/blog/mt-tb.cgi/92

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)