Skip to content

Commit 4533c71

Browse files
committed
experiment
1 parent ef008ff commit 4533c71

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

FirebaseAuth/Tests/Unit/ObjCAPITests.m

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ - (void)presentViewController:(nonnull UIViewController *)viewControllerToPresen
3535
@end
3636
#endif
3737

38-
#if TARGET_OS_IOS
39-
@interface FederatedAuthImplementation : NSObject <FIRFederatedAuthProvider>
40-
- (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
41-
completion:(nullable void (^)(FIRAuthCredential *_Nullable,
42-
NSError *_Nullable))completion;
43-
@end
44-
@implementation FederatedAuthImplementation
45-
- (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
46-
completion:(nullable void (^)(FIRAuthCredential *_Nullable,
47-
NSError *_Nullable))completion {
48-
}
49-
@end
50-
#endif
38+
//#if TARGET_OS_IOS
39+
//@interface FederatedAuthImplementation : NSObject <FIRFederatedAuthProvider>
40+
//- (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
41+
// completion:(nullable void (^)(FIRAuthCredential *_Nullable,
42+
// NSError *_Nullable))completion;
43+
//@end
44+
//@implementation FederatedAuthImplementation
45+
//- (void)getCredentialWithUIDelegate:(nullable id<FIRAuthUIDelegate>)UIDelegate
46+
// completion:(nullable void (^)(FIRAuthCredential *_Nullable,
47+
// NSError *_Nullable))completion {
48+
//}
49+
//@end
50+
//#endif
5151

5252
@interface ObjCAPICoverage : XCTestCase
5353
@end
@@ -347,14 +347,14 @@ - (void)FIRFacebookAuthProvider_h {
347347
__unused FIRAuthCredential *c = [FIRFacebookAuthProvider credentialWithAccessToken:@"token"];
348348
}
349349

350-
#if TARGET_OS_IOS
351-
- (void)FIRFederatedAuthProvider_h {
352-
FederatedAuthImplementation *impl = [[FederatedAuthImplementation alloc] init];
353-
[impl getCredentialWithUIDelegate:nil
354-
completion:^(FIRAuthCredential *_Nullable c, NSError *_Nullable e){
355-
}];
356-
}
357-
#endif
350+
//#if TARGET_OS_IOS
351+
//- (void)FIRFederatedAuthProvider_h {
352+
// FederatedAuthImplementation *impl = [[FederatedAuthImplementation alloc] init];
353+
// [impl getCredentialWithUIDelegate:nil
354+
// completion:^(FIRAuthCredential *_Nullable c, NSError *_Nullable e){
355+
// }];
356+
//}
357+
//#endif
358358

359359
#if !TARGET_OS_WATCH
360360
- (void)FIRGameCenterAuthProvider_h {

0 commit comments

Comments
 (0)