diff options
author | 2017-12-18 14:21:11 -0800 | |
---|---|---|
committer | 2017-12-18 14:21:11 -0800 | |
commit | 8db0eb618d355c546e8f0894dc1e0799297c5659 (patch) | |
tree | e32cf46f60b463c5ab8a6c55b3f3c7a10c71cf7e /Firestore/Example/Tests/Util/FSTEventAccumulator.h | |
parent | 27472b5c26763987446114145e22e08a652b6296 (diff) |
Test cleanup: Adds a helper for waiting for FSTVoidErrorBlock callbacks.
* Add helper for waiting for FSTVoidErrorBlock callbacks.
* Remove errorEventHandler from FSTEventAccumulator.h too.
* Add synchronous enableNetwork / disableNetwork helpers.
* Workaround for batch writes test flakiness.
Diffstat (limited to 'Firestore/Example/Tests/Util/FSTEventAccumulator.h')
-rw-r--r-- | Firestore/Example/Tests/Util/FSTEventAccumulator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Firestore/Example/Tests/Util/FSTEventAccumulator.h b/Firestore/Example/Tests/Util/FSTEventAccumulator.h index 424f4c8..baa501b 100644 --- a/Firestore/Example/Tests/Util/FSTEventAccumulator.h +++ b/Firestore/Example/Tests/Util/FSTEventAccumulator.h @@ -24,7 +24,6 @@ NS_ASSUME_NONNULL_BEGIN typedef void (^FSTValueEventHandler)(id _Nullable, NSError *_Nullable error); -typedef void (^FSTErrorEventHandler)(NSError *_Nullable error); @interface FSTEventAccumulator : NSObject @@ -37,7 +36,6 @@ typedef void (^FSTErrorEventHandler)(NSError *_Nullable error); - (NSArray<id> *)awaitEvents:(NSUInteger)events name:(NSString *)name; @property(nonatomic, strong, readonly) FSTValueEventHandler valueEventHandler; -@property(nonatomic, strong, readonly) FSTErrorEventHandler errorEventHandler; @end |