|
|
@@ -119,7 +119,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testDataAsync() async throws {
|
|
|
let data = DataTestRequest(
|
|
|
bool: true,
|
|
|
@@ -174,7 +173,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testScalarAsync() async throws {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"scalarTest",
|
|
|
@@ -193,7 +191,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testScalarAsyncAlternateSignature() async throws {
|
|
|
let byName: Callable<Int16, Int> = functions.httpsCallable("scalarTest")
|
|
|
let byURL: Callable<Int16, Int> = functions.httpsCallable(emulatorURL("scalarTest"))
|
|
|
@@ -241,7 +238,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testTokenAsync() async throws {
|
|
|
// Recreate functions with a token.
|
|
|
let functions = Functions(
|
|
|
@@ -297,7 +293,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testFCMTokenAsync() async throws {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"FCMTokenTest",
|
|
|
@@ -342,7 +337,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testNullAsync() async throws {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"nullTest",
|
|
|
@@ -391,7 +385,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testMissingResultAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"missingResultTest",
|
|
|
@@ -445,7 +438,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testUnhandledErrorAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"unhandledErrorTest",
|
|
|
@@ -498,7 +490,6 @@ class IntegrationTests: XCTestCase {
|
|
|
waitForExpectations(timeout: 5)
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testUnknownErrorAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"unknownErrorTest",
|
|
|
@@ -553,7 +544,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testExplicitErrorAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"explicitErrorTest",
|
|
|
@@ -608,7 +598,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testHttpErrorAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"httpErrorTest",
|
|
|
@@ -661,7 +650,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testThrowErrorAsync() async {
|
|
|
let byName = functions.httpsCallable(
|
|
|
"throwTest",
|
|
|
@@ -716,7 +704,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testTimeoutAsync() async {
|
|
|
var byName = functions.httpsCallable(
|
|
|
"timeoutTest",
|
|
|
@@ -778,7 +765,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testCallAsFunctionAsync() async throws {
|
|
|
let data = DataTestRequest(
|
|
|
bool: true,
|
|
|
@@ -841,7 +827,6 @@ class IntegrationTests: XCTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
|
|
|
func testInferredTyesAsync() async throws {
|
|
|
let data = DataTestRequest(
|
|
|
bool: true,
|