mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
Async/await variations of existing RC Swift API tests (#8825)
This commit is contained in:
1 parent
fc2cf7bc8a
commit
fd4572c291
3 files changed
+170
-12
No files matched your search
@@ -82,11 +82,11 @@ app update.
|
||||
# Run Swift API tests on a real backend.
|
||||
s.test_spec 'swift-api-tests' do |swift_api|
|
||||
swift_api.scheme = { :code_coverage => true }
|
||||
swift_api.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
|
||||
# Use recent platform versions to enable async await testing
|
||||
swift_api.ios.deployment_target = "15.0"
|
||||
swift_api.osx.deployment_target = "12.0"
|
||||
swift_api.tvos.deployment_target = "15.0"
|
||||
swift_api.source_files = 'FirebaseRemoteConfig/Tests/SwiftAPI/*.swift',
|
||||
'FirebaseRemoteConfig/Tests/FakeUtils/*.[hm]',
|
||||
'FirebaseRemoteConfig/Tests/FakeUtils/*.swift'
|
||||
@@ -100,11 +100,11 @@ app update.
|
||||
# Run Swift API tests and tests requiring console changes on a Fake Console.
|
||||
s.test_spec 'fake-console-tests' do |fake_console|
|
||||
fake_console.scheme = { :code_coverage => true }
|
||||
fake_console.platforms = {
|
||||
:ios => ios_deployment_target,
|
||||
:osx => osx_deployment_target,
|
||||
:tvos => tvos_deployment_target
|
||||
}
|
||||
|
||||
# Use recent platform versions to enable async await testing
|
||||
fake_console.ios.deployment_target = "15.0"
|
||||
fake_console.osx.deployment_target = "12.0"
|
||||
fake_console.tvos.deployment_target = "15.0"
|
||||
fake_console.source_files = 'FirebaseRemoteConfig/Tests/SwiftAPI/*.swift',
|
||||
'FirebaseRemoteConfig/Tests/FakeUtils/*.[hm]',
|
||||
'FirebaseRemoteConfig/Tests/FakeUtils/*.swift',
|
||||
|
||||
Reference in new issue
Block a user