| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626 |
- #if !canImport(ObjectiveC)
- import XCTest
- extension AnyServiceClientTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__AnyServiceClientTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ClientCancellingTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientCancellingTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ClientClosedChannelTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientClosedChannelTests = [
- ("testBidirectionalStreamingOnClosedConnection", testBidirectionalStreamingOnClosedConnection),
- ("testBidirectionalStreamingWhenConnectionIsClosedBetweenMessages", testBidirectionalStreamingWhenConnectionIsClosedBetweenMessages),
- ("testBidirectionalStreamingWithNoPromiseWhenConnectionIsClosedBetweenMessages", testBidirectionalStreamingWithNoPromiseWhenConnectionIsClosedBetweenMessages),
- ("testClientStreamingOnClosedConnection", testClientStreamingOnClosedConnection),
- ("testClientStreamingWhenConnectionIsClosedBetweenMessages", testClientStreamingWhenConnectionIsClosedBetweenMessages),
- ("testServerStreamingOnClosedConnection", testServerStreamingOnClosedConnection),
- ("testUnaryOnClosedConnection", testUnaryOnClosedConnection),
- ]
- }
- extension ClientConnectionBackoffTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientConnectionBackoffTests = [
- ("testClientConnectionFailsWithNoBackoff", testClientConnectionFailsWithNoBackoff),
- ("testClientEventuallyConnects", testClientEventuallyConnects),
- ("testClientReconnectsAutomatically", testClientReconnectsAutomatically),
- ]
- }
- extension ClientTLSFailureTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientTLSFailureTests = [
- ("testClientConnectionFailsWhenHostnameIsNotValid", testClientConnectionFailsWhenHostnameIsNotValid),
- ("testClientConnectionFailsWhenProtocolCanNotBeNegotiated", testClientConnectionFailsWhenProtocolCanNotBeNegotiated),
- ("testClientConnectionFailsWhenServerIsUnknown", testClientConnectionFailsWhenServerIsUnknown),
- ]
- }
- extension ClientTLSHostnameOverrideTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientTLSHostnameOverrideTests = [
- ("testTLSWithHostnameOverride", testTLSWithHostnameOverride),
- ("testTLSWithoutHostnameOverride", testTLSWithoutHostnameOverride),
- ]
- }
- extension ClientThrowingWhenServerReturningErrorTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientThrowingWhenServerReturningErrorTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ClientTimeoutTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ClientTimeoutTests = [
- ("testBidirectionalStreamingTimeoutAfterSending", testBidirectionalStreamingTimeoutAfterSending),
- ("testBidirectionalStreamingTimeoutBeforeSending", testBidirectionalStreamingTimeoutBeforeSending),
- ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
- ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
- ("testServerStreamingTimeoutAfterSending", testServerStreamingTimeoutAfterSending),
- ("testUnaryTimeoutAfterSending", testUnaryTimeoutAfterSending),
- ]
- }
- extension ConnectionBackoffTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ConnectionBackoffTests = [
- ("testBackoffDoesNotExceedMaximum", testBackoffDoesNotExceedMaximum),
- ("testBackoffWithJitter", testBackoffWithJitter),
- ("testBackoffWithNoJitter", testBackoffWithNoJitter),
- ("testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum", testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum),
- ("testExpectedValuesWithNoJitter", testExpectedValuesWithNoJitter),
- ]
- }
- extension ConnectivityStateMonitorTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ConnectivityStateMonitorTests = [
- ("testDelegateOnlyCalledForChanges", testDelegateOnlyCalledForChanges),
- ]
- }
- extension DelegatingErrorHandlerTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__DelegatingErrorHandlerTests = [
- ("testUncleanShutdownIsIgnored", testUncleanShutdownIsIgnored),
- ]
- }
- extension FunctionalTestsAnonymousClient {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsAnonymousClient = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension FunctionalTestsAnonymousClientNIOTS {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsAnonymousClientNIOTS = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension FunctionalTestsInsecureTransport {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsInsecureTransport = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension FunctionalTestsInsecureTransportNIOTS {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsInsecureTransportNIOTS = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension FunctionalTestsMutualAuthentication {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsMutualAuthentication = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension FunctionalTestsMutualAuthenticationNIOTS {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__FunctionalTestsMutualAuthenticationNIOTS = [
- ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
- ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
- ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
- ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
- ("testClientStreaming", testClientStreaming),
- ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
- ("testServerStreaming", testServerStreaming),
- ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
- ("testUnary", testUnary),
- ("testUnaryEmptyRequest", testUnaryEmptyRequest),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithLargeData", testUnaryWithLargeData),
- ]
- }
- extension GRPCChannelHandlerTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCChannelHandlerTests = [
- ("testImplementedMethodReturnsHeadersMessageAndStatus", testImplementedMethodReturnsHeadersMessageAndStatus),
- ("testImplementedMethodReturnsStatusForBadlyFormedProto", testImplementedMethodReturnsStatusForBadlyFormedProto),
- ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
- ]
- }
- extension GRPCClientStateMachineTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCClientStateMachineTests = [
- ("testReceiveEndOfResponseStreamFromActive", testReceiveEndOfResponseStreamFromActive),
- ("testReceiveEndOfResponseStreamFromClientActiveServerIdle", testReceiveEndOfResponseStreamFromClientActiveServerIdle),
- ("testReceiveEndOfResponseStreamFromClientClosedServerActive", testReceiveEndOfResponseStreamFromClientClosedServerActive),
- ("testReceiveEndOfResponseStreamFromClientClosedServerIdle", testReceiveEndOfResponseStreamFromClientClosedServerIdle),
- ("testReceiveEndOfResponseStreamFromClosed", testReceiveEndOfResponseStreamFromClosed),
- ("testReceiveEndOfResponseStreamFromIdle", testReceiveEndOfResponseStreamFromIdle),
- ("testReceiveEndOfResponseStreamWithNonIntStatus", testReceiveEndOfResponseStreamWithNonIntStatus),
- ("testReceiveEndOfResponseStreamWithStatusAndMessage", testReceiveEndOfResponseStreamWithStatusAndMessage),
- ("testReceiveEndOfResponseStreamWithStatus", testReceiveEndOfResponseStreamWithStatus),
- ("testReceiveEndOfResponseStreamWithUnknownStatus", testReceiveEndOfResponseStreamWithUnknownStatus),
- ("testReceiveResponseFromActive", testReceiveResponseFromActive),
- ("testReceiveResponseFromClientActiveServerIdle", testReceiveResponseFromClientActiveServerIdle),
- ("testReceiveResponseFromClientClosedServerActive", testReceiveResponseFromClientClosedServerActive),
- ("testReceiveResponseFromClientClosedServerIdle", testReceiveResponseFromClientClosedServerIdle),
- ("testReceiveResponseFromClosed", testReceiveResponseFromClosed),
- ("testReceiveResponseFromIdle", testReceiveResponseFromIdle),
- ("testReceiveResponseHeadersFromActive", testReceiveResponseHeadersFromActive),
- ("testReceiveResponseHeadersFromClientActiveServerIdle", testReceiveResponseHeadersFromClientActiveServerIdle),
- ("testReceiveResponseHeadersFromClientClosedServerActive", testReceiveResponseHeadersFromClientClosedServerActive),
- ("testReceiveResponseHeadersFromClientClosedServerIdle", testReceiveResponseHeadersFromClientClosedServerIdle),
- ("testReceiveResponseHeadersFromClosed", testReceiveResponseHeadersFromClosed),
- ("testReceiveResponseHeadersFromIdle", testReceiveResponseHeadersFromIdle),
- ("testReceiveResponseHeadersWithInvalidContentType", testReceiveResponseHeadersWithInvalidContentType),
- ("testReceiveResponseHeadersWithNotOkStatus", testReceiveResponseHeadersWithNotOkStatus),
- ("testReceiveResponseHeadersWithOkStatus", testReceiveResponseHeadersWithOkStatus),
- ("testReceiveResponseHeadersWithoutContentType", testReceiveResponseHeadersWithoutContentType),
- ("testReceiveResponseHeadersWithSupportedCompressionMechanism", testReceiveResponseHeadersWithSupportedCompressionMechanism),
- ("testReceiveResponseHeadersWithUnknownCompressionMechanism", testReceiveResponseHeadersWithUnknownCompressionMechanism),
- ("testReceiveResponseHeadersWithUnsupportedCompressionMechanism", testReceiveResponseHeadersWithUnsupportedCompressionMechanism),
- ("testReceiveTooManyRequests", testReceiveTooManyRequests),
- ("testReceiveTooManyRequestsInOneBuffer", testReceiveTooManyRequestsInOneBuffer),
- ("testSendEndOfRequestStreamFromActive", testSendEndOfRequestStreamFromActive),
- ("testSendEndOfRequestStreamFromClientActiveServerIdle", testSendEndOfRequestStreamFromClientActiveServerIdle),
- ("testSendEndOfRequestStreamFromClientClosedServerActive", testSendEndOfRequestStreamFromClientClosedServerActive),
- ("testSendEndOfRequestStreamFromClientClosedServerIdle", testSendEndOfRequestStreamFromClientClosedServerIdle),
- ("testSendEndOfRequestStreamFromClosed", testSendEndOfRequestStreamFromClosed),
- ("testSendEndOfRequestStreamFromIdle", testSendEndOfRequestStreamFromIdle),
- ("testSendRequestFromActive", testSendRequestFromActive),
- ("testSendRequestFromClientActiveServerIdle", testSendRequestFromClientActiveServerIdle),
- ("testSendRequestFromClientClosedServerActive", testSendRequestFromClientClosedServerActive),
- ("testSendRequestFromClientClosedServerIdle", testSendRequestFromClientClosedServerIdle),
- ("testSendRequestFromClosed", testSendRequestFromClosed),
- ("testSendRequestFromIdle", testSendRequestFromIdle),
- ("testSendRequestHeaders", testSendRequestHeaders),
- ("testSendRequestHeadersFromActive", testSendRequestHeadersFromActive),
- ("testSendRequestHeadersFromClientActiveServerIdle", testSendRequestHeadersFromClientActiveServerIdle),
- ("testSendRequestHeadersFromClientClosedServerActive", testSendRequestHeadersFromClientClosedServerActive),
- ("testSendRequestHeadersFromClientClosedServerIdle", testSendRequestHeadersFromClientClosedServerIdle),
- ("testSendRequestHeadersFromClosed", testSendRequestHeadersFromClosed),
- ("testSendRequestHeadersFromIdle", testSendRequestHeadersFromIdle),
- ("testSendTooManyRequestsFromActive", testSendTooManyRequestsFromActive),
- ("testSendTooManyRequestsFromClientActiveServerIdle", testSendTooManyRequestsFromClientActiveServerIdle),
- ("testSendTooManyRequestsFromClosed", testSendTooManyRequestsFromClosed),
- ("testSimpleBidirectionalActiveFlow", testSimpleBidirectionalActiveFlow),
- ("testSimpleClientActiveFlow", testSimpleClientActiveFlow),
- ("testSimpleServerActiveFlow", testSimpleServerActiveFlow),
- ("testSimpleUnaryFlow", testSimpleUnaryFlow),
- ]
- }
- extension GRPCInsecureInteroperabilityTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCInsecureInteroperabilityTests = [
- ("testCacheableUnary", testCacheableUnary),
- ("testCancelAfterBegin", testCancelAfterBegin),
- ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
- ("testClientStreaming", testClientStreaming),
- ("testCustomMetadata", testCustomMetadata),
- ("testEmptyStream", testEmptyStream),
- ("testEmptyUnary", testEmptyUnary),
- ("testLargeUnary", testLargeUnary),
- ("testPingPong", testPingPong),
- ("testServerStreaming", testServerStreaming),
- ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
- ("testStatusCodeAndMessage", testStatusCodeAndMessage),
- ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
- ("testUnimplementedMethod", testUnimplementedMethod),
- ("testUnimplementedService", testUnimplementedService),
- ]
- }
- extension GRPCSecureInteroperabilityTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCSecureInteroperabilityTests = [
- ("testCacheableUnary", testCacheableUnary),
- ("testCancelAfterBegin", testCancelAfterBegin),
- ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
- ("testClientStreaming", testClientStreaming),
- ("testCustomMetadata", testCustomMetadata),
- ("testEmptyStream", testEmptyStream),
- ("testEmptyUnary", testEmptyUnary),
- ("testLargeUnary", testLargeUnary),
- ("testPingPong", testPingPong),
- ("testServerStreaming", testServerStreaming),
- ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
- ("testStatusCodeAndMessage", testStatusCodeAndMessage),
- ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
- ("testUnimplementedMethod", testUnimplementedMethod),
- ("testUnimplementedService", testUnimplementedService),
- ]
- }
- extension GRPCStatusCodeTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCStatusCodeTests = [
- ("testBadGateway", testBadGateway),
- ("testBadRequest", testBadRequest),
- ("testForbidden", testForbidden),
- ("testGatewayTimeout", testGatewayTimeout),
- ("testNotFound", testNotFound),
- ("testServiceUnavailable", testServiceUnavailable),
- ("testStatusCodeAndMessageAreRespectedForNon200Responses", testStatusCodeAndMessageAreRespectedForNon200Responses),
- ("testTooManyRequests", testTooManyRequests),
- ("testUnauthorized", testUnauthorized),
- ]
- }
- extension GRPCStatusMessageMarshallerTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCStatusMessageMarshallerTests = [
- ("testASCIIMarshallingAndUnmarshalling", testASCIIMarshallingAndUnmarshalling),
- ("testPercentMarshallingAndUnmarshalling", testPercentMarshallingAndUnmarshalling),
- ("testUnicodeMarshalling", testUnicodeMarshalling),
- ]
- }
- extension GRPCStatusTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCStatusTests = [
- ("testStatusDescriptionWithMessage", testStatusDescriptionWithMessage),
- ("testStatusDescriptionWithoutMessage", testStatusDescriptionWithoutMessage),
- ]
- }
- extension GRPCTimeoutTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCTimeoutTests = [
- ("testNegativeTimeoutThrows", testNegativeTimeoutThrows),
- ("testRoundingHoursTimeout", testRoundingHoursTimeout),
- ("testRoundingMicrosecondsTimeout", testRoundingMicrosecondsTimeout),
- ("testRoundingMillisecondsTimeout", testRoundingMillisecondsTimeout),
- ("testRoundingMinutesTimeout", testRoundingMinutesTimeout),
- ("testRoundingNanosecondsTimeout", testRoundingNanosecondsTimeout),
- ("testRoundingNegativeTimeout", testRoundingNegativeTimeout),
- ("testRoundingSecondsTimeout", testRoundingSecondsTimeout),
- ("testTooLargeTimeout", testTooLargeTimeout),
- ]
- }
- extension GRPCTypeSizeTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__GRPCTypeSizeTests = [
- ("testGRPCClientRequestPart", testGRPCClientRequestPart),
- ("testGRPCClientResponsePart", testGRPCClientResponsePart),
- ("testGRPCStatus", testGRPCStatus),
- ]
- }
- extension HTTP1ToRawGRPCServerCodecTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
- ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
- ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
- ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
- ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
- ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
- ]
- }
- extension ImmediatelyFailingProviderTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ImmediatelyFailingProviderTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension LengthPrefixedMessageReaderTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__LengthPrefixedMessageReaderTests = [
- ("testAppendReadsAllBytes", testAppendReadsAllBytes),
- ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
- ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
- ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
- ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
- ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
- ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
- ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
- ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
- ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
- ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
- ("testNextMessageThrowsWhenCompressionMechanismIsNotSupported", testNextMessageThrowsWhenCompressionMechanismIsNotSupported),
- ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
- ]
- }
- extension PlatformSupportTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__PlatformSupportTests = [
- ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
- ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
- ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
- ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
- ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
- ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
- ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
- ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
- ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
- ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
- ]
- }
- extension ReadStateTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ReadStateTests = [
- ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
- ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
- ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
- ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
- ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
- ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
- ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
- ]
- }
- extension ServerDelayedThrowingTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ServerDelayedThrowingTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ServerErrorTransformingTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ServerErrorTransformingTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ServerThrowingTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ServerThrowingTests = [
- ("testBidirectionalStreaming", testBidirectionalStreaming),
- ("testClientStreaming", testClientStreaming),
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ]
- }
- extension ServerWebTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__ServerWebTests = [
- ("testServerStreaming", testServerStreaming),
- ("testUnary", testUnary),
- ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
- ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
- ]
- }
- extension StopwatchTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__StopwatchTests = [
- ("testElapsed", testElapsed),
- ]
- }
- extension StreamingRequestClientCallTests {
- // DO NOT MODIFY: This is autogenerated, use:
- // `swift test --generate-linuxmain`
- // to regenerate.
- static let __allTests__StreamingRequestClientCallTests = [
- ("testSendMessages", testSendMessages),
- ]
- }
- public func __allTests() -> [XCTestCaseEntry] {
- return [
- testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
- testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
- testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
- testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
- testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
- testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
- testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
- testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
- testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
- testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
- testCase(DelegatingErrorHandlerTests.__allTests__DelegatingErrorHandlerTests),
- testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
- testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
- testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
- testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
- testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
- testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
- testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
- testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
- testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
- testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
- testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
- testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
- testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
- testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
- testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
- testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
- testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
- testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
- testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
- testCase(ReadStateTests.__allTests__ReadStateTests),
- testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
- testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
- testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
- testCase(ServerWebTests.__allTests__ServerWebTests),
- testCase(StopwatchTests.__allTests__StopwatchTests),
- testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
- ]
- }
- #endif
|