diff options
Diffstat (limited to 'Example/Core/Tests/FIROptionsTest.m')
-rw-r--r-- | Example/Core/Tests/FIROptionsTest.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Example/Core/Tests/FIROptionsTest.m b/Example/Core/Tests/FIROptionsTest.m index 1423d0a..a1e5fae 100644 --- a/Example/Core/Tests/FIROptionsTest.m +++ b/Example/Core/Tests/FIROptionsTest.m @@ -80,6 +80,7 @@ extern NSString *const kFIRLibraryVersionID; } - (void)testInitCustomizedOptions { +#pragma clang diagnostic ignored "-Wdeprecated-declarations" FIROptions *options = [[FIROptions alloc] initWithGoogleAppID:kGoogleAppID bundleID:kBundleID GCMSenderID:kGCMSenderID @@ -90,6 +91,7 @@ extern NSString *const kFIRLibraryVersionID; databaseURL:kDatabaseURL storageBucket:kStorageBucket deepLinkURLScheme:kDeepLinkURLScheme]; +#pragma clang pop [self assertOptionsMatchDefaults:options andProjectID:NO]; XCTAssertEqualObjects(options.deepLinkURLScheme, kDeepLinkURLScheme); XCTAssertFalse(options.usingOptionsFromDefaultPlist); @@ -112,6 +114,7 @@ extern NSString *const kFIRLibraryVersionID; // nil GoogleAppID should throw an exception #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wnonnull" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" XCTAssertThrows([[FIROptions alloc] initWithGoogleAppID:nil bundleID:kBundleID GCMSenderID:kGCMSenderID |