Reorganization and cleanups of Unit Tests

* Reorganized tests to accommodate split into Logic & Application.
* Eliminated 'Spec' naming in favor of 'Test' as the suite is entirely based on SenTest.
* Pulled majority of testing support classes up into the library and documented them.
* Introduced RKApplicationTests app for running the RKTableController UI tests
This commit is contained in:
Blake Watters
2012-02-08 18:35:01 -05:00
parent 8dbd2e8ef0
commit 4142ffdb42
322 changed files with 5165 additions and 3364 deletions

View File

@@ -152,7 +152,19 @@
@param delegate The delegate assigned to the requests to be cancelled.
*/
- (void)cancelRequestsWithDelegate:(NSObject<RKRequestDelegate> *)delegate;
- (void)cancelRequestsWithDelegate:(id<RKRequestDelegate>)delegate;
/**
Aborts all requests with a given delegate by nullifying the delegate
reference and canceling the request.
Useful when an object that acts as the delegate for one or more requests
is being deallocated and all outstanding requests should be canceled
without generating any further delegate callbacks.
@param delegate The object acting as the delegate for all enqueued requests that are to be aborted.
*/
- (void)abortRequestsWithDelegate:(id<RKRequestDelegate>)delegate;
/**
Cancel all active or pending requests.