I thought that @codeman9 had a good point in issuing pull request #137 -- it's important that our fakes behave as closely to the real thing as possible. Given only a subset of relevant methods for NSOperationQueue were implemented on the fake, it's all too easy to fall into the trap of assuming all of the relevant methods you can call on a real one would work on the fake as well. The end result of this (in my experience) is hard to debug tests and unhappy developers.
To that end, I backfilled tests for the proposed changes to -addOperations:waitUntilFinished: and -cancelAllOperations.
I thought that @codeman9 had a good point in issuing pull request #137 -- it's important that our fakes behave as closely to the real thing as possible. Given only a subset of relevant methods for NSOperationQueue were implemented on the fake, it's all too easy to fall into the trap of assuming all of the relevant methods you can call on a real one would work on the fake as well. The end result of this (in my experience) is hard to debug tests and unhappy developers.
To that end, I backfilled tests for the proposed changes to
-addOperations:waitUntilFinished:
and-cancelAllOperations
.