From 4533c71130904f9255976d82fef8c686cb3cdea2 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 2 Oct 2024 20:51:57 -0700 Subject: [PATCH] experiment --- FirebaseAuth/Tests/Unit/ObjCAPITests.m | 42 +++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/FirebaseAuth/Tests/Unit/ObjCAPITests.m b/FirebaseAuth/Tests/Unit/ObjCAPITests.m index 5af26ba9da9..1ecff443161 100644 --- a/FirebaseAuth/Tests/Unit/ObjCAPITests.m +++ b/FirebaseAuth/Tests/Unit/ObjCAPITests.m @@ -35,19 +35,19 @@ - (void)presentViewController:(nonnull UIViewController *)viewControllerToPresen @end #endif -#if TARGET_OS_IOS -@interface FederatedAuthImplementation : NSObject -- (void)getCredentialWithUIDelegate:(nullable id)UIDelegate - completion:(nullable void (^)(FIRAuthCredential *_Nullable, - NSError *_Nullable))completion; -@end -@implementation FederatedAuthImplementation -- (void)getCredentialWithUIDelegate:(nullable id)UIDelegate - completion:(nullable void (^)(FIRAuthCredential *_Nullable, - NSError *_Nullable))completion { -} -@end -#endif +//#if TARGET_OS_IOS +//@interface FederatedAuthImplementation : NSObject +//- (void)getCredentialWithUIDelegate:(nullable id)UIDelegate +// completion:(nullable void (^)(FIRAuthCredential *_Nullable, +// NSError *_Nullable))completion; +//@end +//@implementation FederatedAuthImplementation +//- (void)getCredentialWithUIDelegate:(nullable id)UIDelegate +// completion:(nullable void (^)(FIRAuthCredential *_Nullable, +// NSError *_Nullable))completion { +//} +//@end +//#endif @interface ObjCAPICoverage : XCTestCase @end @@ -347,14 +347,14 @@ - (void)FIRFacebookAuthProvider_h { __unused FIRAuthCredential *c = [FIRFacebookAuthProvider credentialWithAccessToken:@"token"]; } -#if TARGET_OS_IOS -- (void)FIRFederatedAuthProvider_h { - FederatedAuthImplementation *impl = [[FederatedAuthImplementation alloc] init]; - [impl getCredentialWithUIDelegate:nil - completion:^(FIRAuthCredential *_Nullable c, NSError *_Nullable e){ - }]; -} -#endif +//#if TARGET_OS_IOS +//- (void)FIRFederatedAuthProvider_h { +// FederatedAuthImplementation *impl = [[FederatedAuthImplementation alloc] init]; +// [impl getCredentialWithUIDelegate:nil +// completion:^(FIRAuthCredential *_Nullable c, NSError *_Nullable e){ +// }]; +//} +//#endif #if !TARGET_OS_WATCH - (void)FIRGameCenterAuthProvider_h {