Async/await variations of existing RC Swift API tests (#8825)

This commit is contained in:
Paul Beusterien authored and GitHub committed 2021-10-19 09:54:22 -07:00
1 parent fc2cf7bc8a
commit fd4572c291
3 files changed
+170 -12

No files matched your search

+10 -10
View File
@@ -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',