]> git.wincent.com - WOTest.git/commit
Remove unit test made redundant by garbage collection
authorWincent Colaiuta <win@wincent.com>
Wed, 25 Jul 2007 07:26:01 +0000 (09:26 +0200)
committerWincent Colaiuta <win@wincent.com>
Wed, 25 Jul 2007 07:26:01 +0000 (09:26 +0200)
commit0f96414a6a662db0406dc5798cee05b0e5b72231
treef2336fa254e1d7b649a0e36e2d3cf80df4440950
parent8210f41cfe29b34a9927a5fb12b305762d40de69
Remove unit test made redundant by garbage collection

One of the unit tests expected an exception to be raised when working with
objects that don't respond to the retain and release methods, but in a garbage
collected world these messages become no-ops (and in fact I believe that the
compiler literally optimizes them away to nothing).

As such, no exception was being raised and there is no way to "fix" either the
test or the tested implementation: it's simply that the test no longer makes
sense in the context of garbage collection. This commit removes the
now-redundant test.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Tests/WOObjectStubTests.m