@@ -31,7 +31,6 @@ private import struct Foundation.Data
3131/// Client asserts:
3232/// - call was successful
3333/// - response is non-null
34- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
3534struct EmptyUnary : InteroperabilityTest {
3635 func run( client: GRPCClient ) async throws {
3736 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -65,7 +64,6 @@ struct EmptyUnary: InteroperabilityTest {
6564/// - response payload body is 314159 bytes in size
6665/// - clients are free to assert that the response payload body contents are zero and comparing
6766/// the entire response message against a golden response
68- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
6967struct LargeUnary : InteroperabilityTest {
7068 func run( client: GRPCClient ) async throws {
7169 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -141,7 +139,6 @@ struct LargeUnary: InteroperabilityTest {
141139/// - Response payload body is 314159 bytes in size.
142140/// - Clients are free to assert that the response payload body contents are zeros and comparing the
143141/// entire response message against a golden response.
144- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
145142class ClientCompressedUnary : InteroperabilityTest {
146143 func run( client: GRPCClient ) async throws {
147144 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -250,7 +247,6 @@ class ClientCompressedUnary: InteroperabilityTest {
250247/// - response payload body is 314159 bytes in size in both cases.
251248/// - clients are free to assert that the response payload body contents are zero and comparing the
252249/// entire response message against a golden response
253- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
254250class ServerCompressedUnary : InteroperabilityTest {
255251 func run( client: GRPCClient ) async throws {
256252 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -340,7 +336,6 @@ class ServerCompressedUnary: InteroperabilityTest {
340336/// Client asserts:
341337/// - call was successful
342338/// - response aggregated_payload_size is 74922
343- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
344339struct ClientStreaming : InteroperabilityTest {
345340 func run( client: GRPCClient ) async throws {
346341 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -391,7 +386,6 @@ struct ClientStreaming: InteroperabilityTest {
391386/// - response payload bodies are sized (in order): 31415, 9, 2653, 58979
392387/// - clients are free to assert that the response payload body contents are zero and
393388/// comparing the entire response messages against golden responses
394- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
395389struct ServerStreaming : InteroperabilityTest {
396390 func run( client: GRPCClient ) async throws {
397391 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -468,7 +462,6 @@ struct ServerStreaming: InteroperabilityTest {
468462/// - clients are free to assert that the response payload body contents are zero and comparing the
469463/// entire response messages against golden responses
470464class ServerCompressedStreaming : InteroperabilityTest {
471- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
472465 func run( client: GRPCClient ) async throws {
473466 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
474467 let request : Grpc_Testing_StreamingOutputCallRequest = . with { request in
@@ -580,7 +573,6 @@ class ServerCompressedStreaming: InteroperabilityTest {
580573/// - response payload bodies are sized (in order): 31415, 9, 2653, 58979
581574/// - clients are free to assert that the response payload body contents are zero and
582575/// comparing the entire response messages against golden responses
583- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
584576struct PingPong : InteroperabilityTest {
585577 func run( client: GRPCClient ) async throws {
586578 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -647,7 +639,6 @@ struct PingPong: InteroperabilityTest {
647639/// Client asserts:
648640/// - call was successful
649641/// - exactly zero responses
650- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
651642struct EmptyStream : InteroperabilityTest {
652643 func run( client: GRPCClient ) async throws {
653644 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -703,7 +694,6 @@ struct EmptyStream: InteroperabilityTest {
703694/// received in the initial metadata for calls in Procedure steps 1 and 2.
704695/// - metadata with key "x-grpc-test-echo-trailing-bin" and value 0xababab is received in the
705696/// trailing metadata for calls in Procedure steps 1 and 2.
706- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
707697struct CustomMetadata : InteroperabilityTest {
708698 let initialMetadataName = " x-grpc-test-echo-initial "
709699 let initialMetadataValue = " test_initial_metadata_value "
@@ -824,7 +814,6 @@ struct CustomMetadata: InteroperabilityTest {
824814/// Client asserts:
825815/// - received status code is the same as the sent code for both Procedure steps 1 and 2
826816/// - received status message is the same as the sent message for both Procedure steps 1 and 2
827- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
828817struct StatusCodeAndMessage : InteroperabilityTest {
829818 let expectedCode = 2
830819 let expectedMessage = " test status message "
@@ -902,7 +891,6 @@ struct StatusCodeAndMessage: InteroperabilityTest {
902891/// - received status code is the same as the sent code for Procedure step 1
903892/// - received status message is the same as the sent message for Procedure step 1, including all
904893/// whitespace characters
905- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
906894struct SpecialStatusMessage : InteroperabilityTest {
907895 func run( client: GRPCClient ) async throws {
908896 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -945,7 +933,6 @@ struct SpecialStatusMessage: InteroperabilityTest {
945933///
946934/// Client asserts:
947935/// - received status code is 12 (UNIMPLEMENTED)
948- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
949936struct UnimplementedMethod : InteroperabilityTest {
950937 func run( client: GRPCClient ) async throws {
951938 let testServiceClient = Grpc_Testing_TestService . Client ( wrapping: client)
@@ -978,7 +965,6 @@ struct UnimplementedMethod: InteroperabilityTest {
978965///
979966/// Client asserts:
980967/// - received status code is 12 (UNIMPLEMENTED)
981- @available ( macOS 15 . 0 , iOS 18 . 0 , watchOS 11 . 0 , tvOS 18 . 0 , visionOS 2 . 0 , * )
982968struct UnimplementedService : InteroperabilityTest {
983969 func run( client: GRPCClient ) async throws {
984970 let unimplementedServiceClient = Grpc_Testing_UnimplementedService . Client ( wrapping: client)
0 commit comments