mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user