XCTestManifests.swift 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. #if !canImport(ObjectiveC)
  2. import XCTest
  3. extension ClientThrowingWhenServerReturningErrorTests {
  4. // DO NOT MODIFY: This is autogenerated, use:
  5. // `swift test --generate-linuxmain`
  6. // to regenerate.
  7. static let __allTests__ClientThrowingWhenServerReturningErrorTests = [
  8. ("testBidirectionalStreaming", testBidirectionalStreaming),
  9. ("testClientStreaming", testClientStreaming),
  10. ("testServerStreaming", testServerStreaming),
  11. ("testUnary", testUnary),
  12. ]
  13. }
  14. extension GRPCChannelHandlerTests {
  15. // DO NOT MODIFY: This is autogenerated, use:
  16. // `swift test --generate-linuxmain`
  17. // to regenerate.
  18. static let __allTests__GRPCChannelHandlerTests = [
  19. ("testImplementedMethodReturnsHeadersMessageAndStatus", testImplementedMethodReturnsHeadersMessageAndStatus),
  20. ("testImplementedMethodReturnsStatusForBadlyFormedProto", testImplementedMethodReturnsStatusForBadlyFormedProto),
  21. ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
  22. ]
  23. }
  24. extension HTTP1ToRawGRPCServerCodecTests {
  25. // DO NOT MODIFY: This is autogenerated, use:
  26. // `swift test --generate-linuxmain`
  27. // to regenerate.
  28. static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
  29. ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
  30. ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
  31. ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
  32. ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
  33. ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
  34. ]
  35. }
  36. extension LengthPrefixedMessageReaderTests {
  37. // DO NOT MODIFY: This is autogenerated, use:
  38. // `swift test --generate-linuxmain`
  39. // to regenerate.
  40. static let __allTests__LengthPrefixedMessageReaderTests = [
  41. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  42. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  43. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  44. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  45. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  46. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  47. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  48. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  49. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  50. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  51. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  52. ("testNextMessageThrowsWhenCompressionMechanismIsNotSupported", testNextMessageThrowsWhenCompressionMechanismIsNotSupported),
  53. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  54. ]
  55. }
  56. extension NIOClientCancellingTests {
  57. // DO NOT MODIFY: This is autogenerated, use:
  58. // `swift test --generate-linuxmain`
  59. // to regenerate.
  60. static let __allTests__NIOClientCancellingTests = [
  61. ("testBidirectionalStreaming", testBidirectionalStreaming),
  62. ("testClientStreaming", testClientStreaming),
  63. ("testServerStreaming", testServerStreaming),
  64. ("testUnary", testUnary),
  65. ]
  66. }
  67. extension NIOClientTimeoutTests {
  68. // DO NOT MODIFY: This is autogenerated, use:
  69. // `swift test --generate-linuxmain`
  70. // to regenerate.
  71. static let __allTests__NIOClientTimeoutTests = [
  72. ("testBidirectionalStreamingTimeoutAfterSending", testBidirectionalStreamingTimeoutAfterSending),
  73. ("testBidirectionalStreamingTimeoutBeforeSending", testBidirectionalStreamingTimeoutBeforeSending),
  74. ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
  75. ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
  76. ("testServerStreamingTimeoutAfterSending", testServerStreamingTimeoutAfterSending),
  77. ("testUnaryTimeoutAfterSending", testUnaryTimeoutAfterSending),
  78. ]
  79. }
  80. extension NIOFunctionalTestsAnonymousClient {
  81. // DO NOT MODIFY: This is autogenerated, use:
  82. // `swift test --generate-linuxmain`
  83. // to regenerate.
  84. static let __allTests__NIOFunctionalTestsAnonymousClient = [
  85. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  86. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  87. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  88. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  89. ("testClientStreaming", testClientStreaming),
  90. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  91. ("testServerStreaming", testServerStreaming),
  92. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  93. ("testUnary", testUnary),
  94. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  95. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  96. ("testUnaryWithLargeData", testUnaryWithLargeData),
  97. ]
  98. }
  99. extension NIOFunctionalTestsInsecureTransport {
  100. // DO NOT MODIFY: This is autogenerated, use:
  101. // `swift test --generate-linuxmain`
  102. // to regenerate.
  103. static let __allTests__NIOFunctionalTestsInsecureTransport = [
  104. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  105. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  106. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  107. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  108. ("testClientStreaming", testClientStreaming),
  109. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  110. ("testServerStreaming", testServerStreaming),
  111. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  112. ("testUnary", testUnary),
  113. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  114. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  115. ("testUnaryWithLargeData", testUnaryWithLargeData),
  116. ]
  117. }
  118. extension NIOFunctionalTestsMutualAuthentication {
  119. // DO NOT MODIFY: This is autogenerated, use:
  120. // `swift test --generate-linuxmain`
  121. // to regenerate.
  122. static let __allTests__NIOFunctionalTestsMutualAuthentication = [
  123. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  124. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  125. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  126. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  127. ("testClientStreaming", testClientStreaming),
  128. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  129. ("testServerStreaming", testServerStreaming),
  130. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  131. ("testUnary", testUnary),
  132. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  133. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  134. ("testUnaryWithLargeData", testUnaryWithLargeData),
  135. ]
  136. }
  137. extension NIOServerWebTests {
  138. // DO NOT MODIFY: This is autogenerated, use:
  139. // `swift test --generate-linuxmain`
  140. // to regenerate.
  141. static let __allTests__NIOServerWebTests = [
  142. ("testServerStreaming", testServerStreaming),
  143. ("testUnary", testUnary),
  144. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  145. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  146. ]
  147. }
  148. extension ServerDelayedThrowingTests {
  149. // DO NOT MODIFY: This is autogenerated, use:
  150. // `swift test --generate-linuxmain`
  151. // to regenerate.
  152. static let __allTests__ServerDelayedThrowingTests = [
  153. ("testBidirectionalStreaming", testBidirectionalStreaming),
  154. ("testClientStreaming", testClientStreaming),
  155. ("testServerStreaming", testServerStreaming),
  156. ("testUnary", testUnary),
  157. ]
  158. }
  159. extension ServerErrorTransformingTests {
  160. // DO NOT MODIFY: This is autogenerated, use:
  161. // `swift test --generate-linuxmain`
  162. // to regenerate.
  163. static let __allTests__ServerErrorTransformingTests = [
  164. ("testBidirectionalStreaming", testBidirectionalStreaming),
  165. ("testClientStreaming", testClientStreaming),
  166. ("testServerStreaming", testServerStreaming),
  167. ("testUnary", testUnary),
  168. ]
  169. }
  170. extension ServerThrowingTests {
  171. // DO NOT MODIFY: This is autogenerated, use:
  172. // `swift test --generate-linuxmain`
  173. // to regenerate.
  174. static let __allTests__ServerThrowingTests = [
  175. ("testBidirectionalStreaming", testBidirectionalStreaming),
  176. ("testClientStreaming", testClientStreaming),
  177. ("testServerStreaming", testServerStreaming),
  178. ("testUnary", testUnary),
  179. ]
  180. }
  181. public func __allTests() -> [XCTestCaseEntry] {
  182. return [
  183. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  184. testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
  185. testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
  186. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  187. testCase(NIOClientCancellingTests.__allTests__NIOClientCancellingTests),
  188. testCase(NIOClientTimeoutTests.__allTests__NIOClientTimeoutTests),
  189. testCase(NIOFunctionalTestsAnonymousClient.__allTests__NIOFunctionalTestsAnonymousClient),
  190. testCase(NIOFunctionalTestsInsecureTransport.__allTests__NIOFunctionalTestsInsecureTransport),
  191. testCase(NIOFunctionalTestsMutualAuthentication.__allTests__NIOFunctionalTestsMutualAuthentication),
  192. testCase(NIOServerWebTests.__allTests__NIOServerWebTests),
  193. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  194. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  195. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  196. ]
  197. }
  198. #endif