XCTestManifests.swift 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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 GRPCInsecureInteroperabilityTests {
  25. // DO NOT MODIFY: This is autogenerated, use:
  26. // `swift test --generate-linuxmain`
  27. // to regenerate.
  28. static let __allTests__GRPCInsecureInteroperabilityTests = [
  29. ("testCacheableUnary", testCacheableUnary),
  30. ("testCancelAfterBegin", testCancelAfterBegin),
  31. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  32. ("testClientStreaming", testClientStreaming),
  33. ("testCustomMetadata", testCustomMetadata),
  34. ("testEmptyStream", testEmptyStream),
  35. ("testEmptyUnary", testEmptyUnary),
  36. ("testLargeUnary", testLargeUnary),
  37. ("testPingPong", testPingPong),
  38. ("testServerStreaming", testServerStreaming),
  39. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  40. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  41. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  42. ("testUnimplementedMethod", testUnimplementedMethod),
  43. ("testUnimplementedService", testUnimplementedService),
  44. ]
  45. }
  46. extension GRPCSecureInteroperabilityTests {
  47. // DO NOT MODIFY: This is autogenerated, use:
  48. // `swift test --generate-linuxmain`
  49. // to regenerate.
  50. static let __allTests__GRPCSecureInteroperabilityTests = [
  51. ("testCacheableUnary", testCacheableUnary),
  52. ("testCancelAfterBegin", testCancelAfterBegin),
  53. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  54. ("testClientStreaming", testClientStreaming),
  55. ("testCustomMetadata", testCustomMetadata),
  56. ("testEmptyStream", testEmptyStream),
  57. ("testEmptyUnary", testEmptyUnary),
  58. ("testLargeUnary", testLargeUnary),
  59. ("testPingPong", testPingPong),
  60. ("testServerStreaming", testServerStreaming),
  61. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  62. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  63. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  64. ("testUnimplementedMethod", testUnimplementedMethod),
  65. ("testUnimplementedService", testUnimplementedService),
  66. ]
  67. }
  68. extension HTTP1ToRawGRPCServerCodecTests {
  69. // DO NOT MODIFY: This is autogenerated, use:
  70. // `swift test --generate-linuxmain`
  71. // to regenerate.
  72. static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
  73. ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
  74. ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
  75. ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
  76. ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
  77. ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
  78. ]
  79. }
  80. extension LengthPrefixedMessageReaderTests {
  81. // DO NOT MODIFY: This is autogenerated, use:
  82. // `swift test --generate-linuxmain`
  83. // to regenerate.
  84. static let __allTests__LengthPrefixedMessageReaderTests = [
  85. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  86. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  87. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  88. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  89. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  90. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  91. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  92. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  93. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  94. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  95. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  96. ("testNextMessageThrowsWhenCompressionMechanismIsNotSupported", testNextMessageThrowsWhenCompressionMechanismIsNotSupported),
  97. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  98. ]
  99. }
  100. extension NIOClientCancellingTests {
  101. // DO NOT MODIFY: This is autogenerated, use:
  102. // `swift test --generate-linuxmain`
  103. // to regenerate.
  104. static let __allTests__NIOClientCancellingTests = [
  105. ("testBidirectionalStreaming", testBidirectionalStreaming),
  106. ("testClientStreaming", testClientStreaming),
  107. ("testServerStreaming", testServerStreaming),
  108. ("testUnary", testUnary),
  109. ]
  110. }
  111. extension NIOClientTimeoutTests {
  112. // DO NOT MODIFY: This is autogenerated, use:
  113. // `swift test --generate-linuxmain`
  114. // to regenerate.
  115. static let __allTests__NIOClientTimeoutTests = [
  116. ("testBidirectionalStreamingTimeoutAfterSending", testBidirectionalStreamingTimeoutAfterSending),
  117. ("testBidirectionalStreamingTimeoutBeforeSending", testBidirectionalStreamingTimeoutBeforeSending),
  118. ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
  119. ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
  120. ("testServerStreamingTimeoutAfterSending", testServerStreamingTimeoutAfterSending),
  121. ("testUnaryTimeoutAfterSending", testUnaryTimeoutAfterSending),
  122. ]
  123. }
  124. extension NIOFunctionalTestsAnonymousClient {
  125. // DO NOT MODIFY: This is autogenerated, use:
  126. // `swift test --generate-linuxmain`
  127. // to regenerate.
  128. static let __allTests__NIOFunctionalTestsAnonymousClient = [
  129. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  130. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  131. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  132. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  133. ("testClientStreaming", testClientStreaming),
  134. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  135. ("testServerStreaming", testServerStreaming),
  136. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  137. ("testUnary", testUnary),
  138. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  139. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  140. ("testUnaryWithLargeData", testUnaryWithLargeData),
  141. ]
  142. }
  143. extension NIOFunctionalTestsInsecureTransport {
  144. // DO NOT MODIFY: This is autogenerated, use:
  145. // `swift test --generate-linuxmain`
  146. // to regenerate.
  147. static let __allTests__NIOFunctionalTestsInsecureTransport = [
  148. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  149. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  150. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  151. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  152. ("testClientStreaming", testClientStreaming),
  153. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  154. ("testServerStreaming", testServerStreaming),
  155. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  156. ("testUnary", testUnary),
  157. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  158. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  159. ("testUnaryWithLargeData", testUnaryWithLargeData),
  160. ]
  161. }
  162. extension NIOFunctionalTestsMutualAuthentication {
  163. // DO NOT MODIFY: This is autogenerated, use:
  164. // `swift test --generate-linuxmain`
  165. // to regenerate.
  166. static let __allTests__NIOFunctionalTestsMutualAuthentication = [
  167. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  168. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  169. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  170. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  171. ("testClientStreaming", testClientStreaming),
  172. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  173. ("testServerStreaming", testServerStreaming),
  174. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  175. ("testUnary", testUnary),
  176. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  177. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  178. ("testUnaryWithLargeData", testUnaryWithLargeData),
  179. ]
  180. }
  181. extension NIOServerWebTests {
  182. // DO NOT MODIFY: This is autogenerated, use:
  183. // `swift test --generate-linuxmain`
  184. // to regenerate.
  185. static let __allTests__NIOServerWebTests = [
  186. ("testServerStreaming", testServerStreaming),
  187. ("testUnary", testUnary),
  188. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  189. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  190. ]
  191. }
  192. extension ServerDelayedThrowingTests {
  193. // DO NOT MODIFY: This is autogenerated, use:
  194. // `swift test --generate-linuxmain`
  195. // to regenerate.
  196. static let __allTests__ServerDelayedThrowingTests = [
  197. ("testBidirectionalStreaming", testBidirectionalStreaming),
  198. ("testClientStreaming", testClientStreaming),
  199. ("testServerStreaming", testServerStreaming),
  200. ("testUnary", testUnary),
  201. ]
  202. }
  203. extension ServerErrorTransformingTests {
  204. // DO NOT MODIFY: This is autogenerated, use:
  205. // `swift test --generate-linuxmain`
  206. // to regenerate.
  207. static let __allTests__ServerErrorTransformingTests = [
  208. ("testBidirectionalStreaming", testBidirectionalStreaming),
  209. ("testClientStreaming", testClientStreaming),
  210. ("testServerStreaming", testServerStreaming),
  211. ("testUnary", testUnary),
  212. ]
  213. }
  214. extension ServerThrowingTests {
  215. // DO NOT MODIFY: This is autogenerated, use:
  216. // `swift test --generate-linuxmain`
  217. // to regenerate.
  218. static let __allTests__ServerThrowingTests = [
  219. ("testBidirectionalStreaming", testBidirectionalStreaming),
  220. ("testClientStreaming", testClientStreaming),
  221. ("testServerStreaming", testServerStreaming),
  222. ("testUnary", testUnary),
  223. ]
  224. }
  225. public func __allTests() -> [XCTestCaseEntry] {
  226. return [
  227. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  228. testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
  229. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  230. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  231. testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
  232. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  233. testCase(NIOClientCancellingTests.__allTests__NIOClientCancellingTests),
  234. testCase(NIOClientTimeoutTests.__allTests__NIOClientTimeoutTests),
  235. testCase(NIOFunctionalTestsAnonymousClient.__allTests__NIOFunctionalTestsAnonymousClient),
  236. testCase(NIOFunctionalTestsInsecureTransport.__allTests__NIOFunctionalTestsInsecureTransport),
  237. testCase(NIOFunctionalTestsMutualAuthentication.__allTests__NIOFunctionalTestsMutualAuthentication),
  238. testCase(NIOServerWebTests.__allTests__NIOServerWebTests),
  239. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  240. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  241. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  242. ]
  243. }
  244. #endif