aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests/Util/XCTestCase+Await.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Example/Tests/Util/XCTestCase+Await.h')
-rw-r--r--Firestore/Example/Tests/Util/XCTestCase+Await.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Firestore/Example/Tests/Util/XCTestCase+Await.h b/Firestore/Example/Tests/Util/XCTestCase+Await.h
index 9d575f9..7a8feb8 100644
--- a/Firestore/Example/Tests/Util/XCTestCase+Await.h
+++ b/Firestore/Example/Tests/Util/XCTestCase+Await.h
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#import <Firestore/Source/Core/FSTTypes.h>
#import <XCTest/XCTest.h>
@interface XCTestCase (Await)
@@ -29,4 +30,10 @@
*/
- (double)defaultExpectationWaitSeconds;
+/**
+ * Returns a completion block that fulfills a newly-created expectation with the specified
+ * name.
+ */
+- (FSTVoidErrorBlock)completionForExpectationWithName:(NSString *)expectationName;
+
@end