Skip to content

Commit dea9c23

Browse files
Merge branch 'master' into firestore-api-changes
2 parents 91f2677 + 3847660 commit dea9c23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+7854
-16
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ set(FIREBASE_DOWNLOAD_DIR "${PROJECT_SOURCE_DIR}/.downloads")
2727
enable_testing()
2828

2929
include(external/googletest)
30+
include(external/abseil-cpp)
3031
include(external/firestore)

Example/Auth/Tests/FIRAuthAPNSTokenManagerTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
@brief The test expectation timeout.
3232
@remarks This must be considerably greater than @c kVerificationTimeout .
3333
*/
34-
static const NSTimeInterval kExpectationTimeout = 1;
34+
static const NSTimeInterval kExpectationTimeout = 2;
3535

3636
/** @class FIRAuthLegacyUIApplication
3737
@brief A fake legacy (< iOS 7) UIApplication class.

Example/Auth/Tests/FIRAuthDispatcherTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/** @var kExpectationTimeout
3333
@brief The maximum time waiting for expectations to fulfill.
3434
*/
35-
static const NSTimeInterval kExpectationTimeout = 1;
35+
static const NSTimeInterval kExpectationTimeout = 2;
3636

3737
id<OS_dispatch_queue> testWorkQueue;
3838

Example/Auth/Tests/FIRAuthTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
/** @var kExpectationTimeout
171171
@brief The maximum time waiting for expectations to fulfill.
172172
*/
173-
static const NSTimeInterval kExpectationTimeout = 1;
173+
static const NSTimeInterval kExpectationTimeout = 2;
174174

175175
/** @var kWaitInterval
176176
@brief The time waiting for background tasks to finish before continue when necessary.

Example/Auth/Tests/FIRAuthURLPresenterTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/** @var kExpectationTimeout
2727
@brief The maximum time waiting for expectations to fulfill.
2828
*/
29-
static NSTimeInterval kExpectationTimeout = 1;
29+
static NSTimeInterval kExpectationTimeout = 2;
3030

3131
@interface FIRAuthDefaultUIDelegate : NSObject <FIRAuthUIDelegate>
3232
/** @fn defaultUIDelegate

Example/Auth/Tests/FIRPhoneAuthProviderTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
/** @var kExpectationTimeout
181181
@brief The maximum time waiting for expectations to fulfill.
182182
*/
183-
static const NSTimeInterval kExpectationTimeout = 1;
183+
static const NSTimeInterval kExpectationTimeout = 2;
184184

185185
/** @class FIRPhoneAuthProviderTests
186186
@brief Tests for @c FIRPhoneAuthProvider

Example/Auth/Tests/FIRUserTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
/** @var kExpectationTimeout
232232
@brief The maximum time waiting for expectations to fulfill.
233233
*/
234-
static const NSTimeInterval kExpectationTimeout = 1;
234+
static const NSTimeInterval kExpectationTimeout = 2;
235235

236236
/** @class FIRUserTests
237237
@brief Tests for @c FIRUser .

Example/Core/Tests/FIRAppTest.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ - (void)testConfigure {
9595
}
9696

9797
- (void)testConfigureWithOptions {
98-
// nil options
98+
// nil options
9999
#pragma clang diagnostic push
100100
#pragma clang diagnostic ignored "-Wnonnull"
101101
XCTAssertThrows([FIRApp configureWithOptions:nil]);
@@ -119,7 +119,7 @@ - (void)testConfigureWithOptions {
119119
}
120120

121121
- (void)testConfigureWithCustomizedOptions {
122-
// valid customized options
122+
// valid customized options
123123
#pragma clang diagnostic push
124124
#pragma clang diagnostic ignored "-Wnonnull"
125125
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
@@ -194,7 +194,7 @@ - (void)testConfigureWithNameAndCustomizedOptions {
194194
XCTAssertTrue([FIRApp allApps].count == 1);
195195
self.app = [FIRApp appNamed:kFIRTestAppName1];
196196

197-
// Configure a different app with valid customized options
197+
// Configure a different app with valid customized options
198198
#pragma clang diagnostic push
199199
#pragma clang diagnostic ignored "-Wnonnull"
200200
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

Example/Core/Tests/FIRLoggerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ - (void)testMessageCodeFormat {
148148
// Lowercase should fail.
149149
XCTAssertThrows(FIRLogError(kFIRLoggerCore, @"I-app000001", @"Message."));
150150

151-
// nil or empty message code should fail.
151+
// nil or empty message code should fail.
152152
#pragma clang diagnostic push
153153
#pragma clang diagnostic ignored "-Wnonnull"
154154
XCTAssertThrows(FIRLogError(kFIRLoggerCore, nil, @"Message."));

Example/Core/Tests/FIROptionsTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ - (void)testInitCustomizedOptions {
111111
XCTAssertEqualObjects(options2.deepLinkURLScheme, kDeepLinkURLScheme);
112112
XCTAssertFalse(options.usingOptionsFromDefaultPlist);
113113

114-
// nil GoogleAppID should throw an exception
114+
// nil GoogleAppID should throw an exception
115115
#pragma clang diagnostic push
116116
#pragma clang diagnostic ignored "-Wnonnull"
117117
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

0 commit comments

Comments
 (0)