aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Example/Tests/SpecTests
diff options
context:
space:
mode:
authorGravatar Gil <mcg@google.com>2017-11-16 12:05:19 -0800
committerGravatar GitHub <noreply@github.com>2017-11-16 12:05:19 -0800
commit5fbad1b2e263cb8b39376116dbe6006671bef840 (patch)
tree379f7c7f3863cbce9d49e17a624d6383e19d5947 /Firestore/Example/Tests/SpecTests
parentb6339fa2c55f8a803b8ae68c9740fa933c7ee007 (diff)
Additional support for C++ sources in Firestore (#462)
* Fix up style from previous PRs * Clang-format configuration for C++ files * Add support C++-only sources to the podspec
Diffstat (limited to 'Firestore/Example/Tests/SpecTests')
-rw-r--r--Firestore/Example/Tests/SpecTests/FSTMockDatastore.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Firestore/Example/Tests/SpecTests/FSTMockDatastore.h b/Firestore/Example/Tests/SpecTests/FSTMockDatastore.h
index f091a53..8d65529 100644
--- a/Firestore/Example/Tests/SpecTests/FSTMockDatastore.h
+++ b/Firestore/Example/Tests/SpecTests/FSTMockDatastore.h
@@ -22,12 +22,16 @@ NS_ASSUME_NONNULL_BEGIN
@interface FSTMockDatastore : FSTDatastore
-/** A count of the total number of requests sent to the watch stream since the beginning of the test
- * case. */
+/**
+ * A count of the total number of requests sent to the watch stream since the beginning of the test
+ * case.
+ */
@property(nonatomic) int watchStreamRequestCount;
-/** A count of the total number of requests sent to the write stream since the beginning of the test
- * case. */
+/**
+ * A count of the total number of requests sent to the write stream since the beginning of the test
+ * case.
+ */
@property(nonatomic) int writeStreamRequestCount;
+ (instancetype)mockDatastoreWithWorkerDispatchQueue:(FSTDispatchQueue *)workerDispatchQueue;