-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[IID removal]Move Checkin unit tests from InstanceID to Messaging #7603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Coverage ReportAffected SDKs
Test Logs
|
|
Please fix CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM, but a couple minor questions/comments mostly around test improvements.
FirebaseMessaging/Tests/UnitTests/FIRMessagingAuthServiceTest.m
Outdated
Show resolved
Hide resolved
FirebaseMessaging/Tests/UnitTests/FIRMessagingAuthServiceTest.m
Outdated
Show resolved
Hide resolved
FirebaseMessaging/Tests/UnitTests/FIRMessagingAuthServiceTest.m
Outdated
Show resolved
Hide resolved
FirebaseMessaging/Tests/UnitTests/FIRMessagingAuthServiceTest.m
Outdated
Show resolved
Hide resolved
FirebaseMessaging/Tests/UnitTests/FIRMessagingAuthServiceTest.m
Outdated
Show resolved
Hide resolved
FirebaseMessaging/Tests/UnitTests/FIRMessagingCheckinServiceTest.m
Outdated
Show resolved
Hide resolved
* Enable ARC for all classes * FIRMessagingCheckinServiceTest: fix NSURLSession mocks * FIRMessagingCheckinService: remove test block * ./scripts/style.sh * cleanup * Fix SPM * remove requires_arc * Fix warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on green
| #import <TargetConditionals.h> | ||
| #if !TARGET_OS_MACCATALYST && !TARGET_OS_IOS | ||
| // Skip keychain tests on Catalyst and iOS | ||
| #if !TARGET_OS_MACCATALYST && !SWIFT_PACKAGE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is MacOS ok now? I suspect this should be iOS, tvOS and not Catalyst, not macOS, not Swift Package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this builds on non swift package, when use swift package, it failed at least for iOS and tvOS locally. I'm guessing CI wasn't running tvOS that's why it was passing for previous change.
Move the following unit tests to Messaging:
AuthServiceTest
BackupExcludedPlistTest
CheckinPreferencesTest
CheckinServiceTest
CheckinStoreTest
Also update a few header files that were merged from master to the refactor branch.
#no-changelog