XCTestManifests.swift 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. #if !canImport(ObjectiveC)
  2. import XCTest
  3. extension AnyServiceClientTests {
  4. // DO NOT MODIFY: This is autogenerated, use:
  5. // `swift test --generate-linuxmain`
  6. // to regenerate.
  7. static let __allTests__AnyServiceClientTests = [
  8. ("testBidirectionalStreaming", testBidirectionalStreaming),
  9. ("testClientStreaming", testClientStreaming),
  10. ("testServerStreaming", testServerStreaming),
  11. ("testUnary", testUnary),
  12. ]
  13. }
  14. extension ClientCancellingTests {
  15. // DO NOT MODIFY: This is autogenerated, use:
  16. // `swift test --generate-linuxmain`
  17. // to regenerate.
  18. static let __allTests__ClientCancellingTests = [
  19. ("testBidirectionalStreaming", testBidirectionalStreaming),
  20. ("testClientStreaming", testClientStreaming),
  21. ("testServerStreaming", testServerStreaming),
  22. ("testUnary", testUnary),
  23. ]
  24. }
  25. extension ClientClosedChannelTests {
  26. // DO NOT MODIFY: This is autogenerated, use:
  27. // `swift test --generate-linuxmain`
  28. // to regenerate.
  29. static let __allTests__ClientClosedChannelTests = [
  30. ("testBidirectionalStreamingOnClosedConnection", testBidirectionalStreamingOnClosedConnection),
  31. ("testBidirectionalStreamingWhenConnectionIsClosedBetweenMessages", testBidirectionalStreamingWhenConnectionIsClosedBetweenMessages),
  32. ("testBidirectionalStreamingWithNoPromiseWhenConnectionIsClosedBetweenMessages", testBidirectionalStreamingWithNoPromiseWhenConnectionIsClosedBetweenMessages),
  33. ("testClientStreamingOnClosedConnection", testClientStreamingOnClosedConnection),
  34. ("testClientStreamingWhenConnectionIsClosedBetweenMessages", testClientStreamingWhenConnectionIsClosedBetweenMessages),
  35. ("testServerStreamingOnClosedConnection", testServerStreamingOnClosedConnection),
  36. ("testUnaryOnClosedConnection", testUnaryOnClosedConnection),
  37. ]
  38. }
  39. extension ClientConnectionBackoffTests {
  40. // DO NOT MODIFY: This is autogenerated, use:
  41. // `swift test --generate-linuxmain`
  42. // to regenerate.
  43. static let __allTests__ClientConnectionBackoffTests = [
  44. ("testClientConnectionFailsWithNoBackoff", testClientConnectionFailsWithNoBackoff),
  45. ("testClientEventuallyConnects", testClientEventuallyConnects),
  46. ("testClientReconnectsAutomatically", testClientReconnectsAutomatically),
  47. ]
  48. }
  49. extension ClientTLSFailureTests {
  50. // DO NOT MODIFY: This is autogenerated, use:
  51. // `swift test --generate-linuxmain`
  52. // to regenerate.
  53. static let __allTests__ClientTLSFailureTests = [
  54. ("testClientConnectionFailsWhenHostnameIsNotValid", testClientConnectionFailsWhenHostnameIsNotValid),
  55. ("testClientConnectionFailsWhenServerIsUnknown", testClientConnectionFailsWhenServerIsUnknown),
  56. ]
  57. }
  58. extension ClientTLSHostnameOverrideTests {
  59. // DO NOT MODIFY: This is autogenerated, use:
  60. // `swift test --generate-linuxmain`
  61. // to regenerate.
  62. static let __allTests__ClientTLSHostnameOverrideTests = [
  63. ("testTLSWithHostnameOverride", testTLSWithHostnameOverride),
  64. ("testTLSWithoutHostnameOverride", testTLSWithoutHostnameOverride),
  65. ]
  66. }
  67. extension ClientThrowingWhenServerReturningErrorTests {
  68. // DO NOT MODIFY: This is autogenerated, use:
  69. // `swift test --generate-linuxmain`
  70. // to regenerate.
  71. static let __allTests__ClientThrowingWhenServerReturningErrorTests = [
  72. ("testBidirectionalStreaming", testBidirectionalStreaming),
  73. ("testClientStreaming", testClientStreaming),
  74. ("testServerStreaming", testServerStreaming),
  75. ("testUnary", testUnary),
  76. ]
  77. }
  78. extension ClientTimeoutTests {
  79. // DO NOT MODIFY: This is autogenerated, use:
  80. // `swift test --generate-linuxmain`
  81. // to regenerate.
  82. static let __allTests__ClientTimeoutTests = [
  83. ("testBidirectionalStreamingTimeoutAfterSending", testBidirectionalStreamingTimeoutAfterSending),
  84. ("testBidirectionalStreamingTimeoutBeforeSending", testBidirectionalStreamingTimeoutBeforeSending),
  85. ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
  86. ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
  87. ("testServerStreamingTimeoutAfterSending", testServerStreamingTimeoutAfterSending),
  88. ("testUnaryTimeoutAfterSending", testUnaryTimeoutAfterSending),
  89. ]
  90. }
  91. extension ConnectionBackoffTests {
  92. // DO NOT MODIFY: This is autogenerated, use:
  93. // `swift test --generate-linuxmain`
  94. // to regenerate.
  95. static let __allTests__ConnectionBackoffTests = [
  96. ("testBackoffDoesNotExceedMaximum", testBackoffDoesNotExceedMaximum),
  97. ("testBackoffWithJitter", testBackoffWithJitter),
  98. ("testBackoffWithNoJitter", testBackoffWithNoJitter),
  99. ("testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum", testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum),
  100. ("testExpectedValuesWithNoJitter", testExpectedValuesWithNoJitter),
  101. ]
  102. }
  103. extension ConnectivityStateMonitorTests {
  104. // DO NOT MODIFY: This is autogenerated, use:
  105. // `swift test --generate-linuxmain`
  106. // to regenerate.
  107. static let __allTests__ConnectivityStateMonitorTests = [
  108. ("testDelegateOnlyCalledForChanges", testDelegateOnlyCalledForChanges),
  109. ]
  110. }
  111. extension DelegatingErrorHandlerTests {
  112. // DO NOT MODIFY: This is autogenerated, use:
  113. // `swift test --generate-linuxmain`
  114. // to regenerate.
  115. static let __allTests__DelegatingErrorHandlerTests = [
  116. ("testUncleanShutdownIsIgnored", testUncleanShutdownIsIgnored),
  117. ]
  118. }
  119. extension FunctionalTestsAnonymousClient {
  120. // DO NOT MODIFY: This is autogenerated, use:
  121. // `swift test --generate-linuxmain`
  122. // to regenerate.
  123. static let __allTests__FunctionalTestsAnonymousClient = [
  124. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  125. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  126. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  127. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  128. ("testClientStreaming", testClientStreaming),
  129. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  130. ("testServerStreaming", testServerStreaming),
  131. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  132. ("testUnary", testUnary),
  133. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  134. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  135. ("testUnaryWithLargeData", testUnaryWithLargeData),
  136. ]
  137. }
  138. extension FunctionalTestsAnonymousClientNIOTS {
  139. // DO NOT MODIFY: This is autogenerated, use:
  140. // `swift test --generate-linuxmain`
  141. // to regenerate.
  142. static let __allTests__FunctionalTestsAnonymousClientNIOTS = [
  143. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  144. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  145. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  146. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  147. ("testClientStreaming", testClientStreaming),
  148. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  149. ("testServerStreaming", testServerStreaming),
  150. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  151. ("testUnary", testUnary),
  152. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  153. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  154. ("testUnaryWithLargeData", testUnaryWithLargeData),
  155. ]
  156. }
  157. extension FunctionalTestsInsecureTransport {
  158. // DO NOT MODIFY: This is autogenerated, use:
  159. // `swift test --generate-linuxmain`
  160. // to regenerate.
  161. static let __allTests__FunctionalTestsInsecureTransport = [
  162. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  163. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  164. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  165. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  166. ("testClientStreaming", testClientStreaming),
  167. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  168. ("testServerStreaming", testServerStreaming),
  169. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  170. ("testUnary", testUnary),
  171. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  172. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  173. ("testUnaryWithLargeData", testUnaryWithLargeData),
  174. ]
  175. }
  176. extension FunctionalTestsInsecureTransportNIOTS {
  177. // DO NOT MODIFY: This is autogenerated, use:
  178. // `swift test --generate-linuxmain`
  179. // to regenerate.
  180. static let __allTests__FunctionalTestsInsecureTransportNIOTS = [
  181. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  182. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  183. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  184. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  185. ("testClientStreaming", testClientStreaming),
  186. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  187. ("testServerStreaming", testServerStreaming),
  188. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  189. ("testUnary", testUnary),
  190. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  191. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  192. ("testUnaryWithLargeData", testUnaryWithLargeData),
  193. ]
  194. }
  195. extension FunctionalTestsMutualAuthentication {
  196. // DO NOT MODIFY: This is autogenerated, use:
  197. // `swift test --generate-linuxmain`
  198. // to regenerate.
  199. static let __allTests__FunctionalTestsMutualAuthentication = [
  200. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  201. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  202. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  203. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  204. ("testClientStreaming", testClientStreaming),
  205. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  206. ("testServerStreaming", testServerStreaming),
  207. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  208. ("testUnary", testUnary),
  209. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  210. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  211. ("testUnaryWithLargeData", testUnaryWithLargeData),
  212. ]
  213. }
  214. extension FunctionalTestsMutualAuthenticationNIOTS {
  215. // DO NOT MODIFY: This is autogenerated, use:
  216. // `swift test --generate-linuxmain`
  217. // to regenerate.
  218. static let __allTests__FunctionalTestsMutualAuthenticationNIOTS = [
  219. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  220. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  221. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  222. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  223. ("testClientStreaming", testClientStreaming),
  224. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  225. ("testServerStreaming", testServerStreaming),
  226. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  227. ("testUnary", testUnary),
  228. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  229. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  230. ("testUnaryWithLargeData", testUnaryWithLargeData),
  231. ]
  232. }
  233. extension GRPCClientStateMachineTests {
  234. // DO NOT MODIFY: This is autogenerated, use:
  235. // `swift test --generate-linuxmain`
  236. // to regenerate.
  237. static let __allTests__GRPCClientStateMachineTests = [
  238. ("testReceiveEndOfResponseStreamFromActive", testReceiveEndOfResponseStreamFromActive),
  239. ("testReceiveEndOfResponseStreamFromClientActiveServerIdle", testReceiveEndOfResponseStreamFromClientActiveServerIdle),
  240. ("testReceiveEndOfResponseStreamFromClientClosedServerActive", testReceiveEndOfResponseStreamFromClientClosedServerActive),
  241. ("testReceiveEndOfResponseStreamFromClientClosedServerIdle", testReceiveEndOfResponseStreamFromClientClosedServerIdle),
  242. ("testReceiveEndOfResponseStreamFromClosed", testReceiveEndOfResponseStreamFromClosed),
  243. ("testReceiveEndOfResponseStreamFromIdle", testReceiveEndOfResponseStreamFromIdle),
  244. ("testReceiveEndOfResponseStreamWithNonIntStatus", testReceiveEndOfResponseStreamWithNonIntStatus),
  245. ("testReceiveEndOfResponseStreamWithStatusAndMessage", testReceiveEndOfResponseStreamWithStatusAndMessage),
  246. ("testReceiveEndOfResponseStreamWithStatus", testReceiveEndOfResponseStreamWithStatus),
  247. ("testReceiveEndOfResponseStreamWithUnknownStatus", testReceiveEndOfResponseStreamWithUnknownStatus),
  248. ("testReceiveResponseFromActive", testReceiveResponseFromActive),
  249. ("testReceiveResponseFromClientActiveServerIdle", testReceiveResponseFromClientActiveServerIdle),
  250. ("testReceiveResponseFromClientClosedServerActive", testReceiveResponseFromClientClosedServerActive),
  251. ("testReceiveResponseFromClientClosedServerIdle", testReceiveResponseFromClientClosedServerIdle),
  252. ("testReceiveResponseFromClosed", testReceiveResponseFromClosed),
  253. ("testReceiveResponseFromIdle", testReceiveResponseFromIdle),
  254. ("testReceiveResponseHeadersFromActive", testReceiveResponseHeadersFromActive),
  255. ("testReceiveResponseHeadersFromClientActiveServerIdle", testReceiveResponseHeadersFromClientActiveServerIdle),
  256. ("testReceiveResponseHeadersFromClientClosedServerActive", testReceiveResponseHeadersFromClientClosedServerActive),
  257. ("testReceiveResponseHeadersFromClientClosedServerIdle", testReceiveResponseHeadersFromClientClosedServerIdle),
  258. ("testReceiveResponseHeadersFromClosed", testReceiveResponseHeadersFromClosed),
  259. ("testReceiveResponseHeadersFromIdle", testReceiveResponseHeadersFromIdle),
  260. ("testReceiveResponseHeadersWithInvalidContentType", testReceiveResponseHeadersWithInvalidContentType),
  261. ("testReceiveResponseHeadersWithNotOkStatus", testReceiveResponseHeadersWithNotOkStatus),
  262. ("testReceiveResponseHeadersWithOkStatus", testReceiveResponseHeadersWithOkStatus),
  263. ("testReceiveResponseHeadersWithoutContentType", testReceiveResponseHeadersWithoutContentType),
  264. ("testReceiveResponseHeadersWithSupportedCompressionMechanism", testReceiveResponseHeadersWithSupportedCompressionMechanism),
  265. ("testReceiveResponseHeadersWithUnknownCompressionMechanism", testReceiveResponseHeadersWithUnknownCompressionMechanism),
  266. ("testReceiveResponseHeadersWithUnsupportedCompressionMechanism", testReceiveResponseHeadersWithUnsupportedCompressionMechanism),
  267. ("testReceiveTooManyRequests", testReceiveTooManyRequests),
  268. ("testReceiveTooManyRequestsInOneBuffer", testReceiveTooManyRequestsInOneBuffer),
  269. ("testSendEndOfRequestStreamFromActive", testSendEndOfRequestStreamFromActive),
  270. ("testSendEndOfRequestStreamFromClientActiveServerIdle", testSendEndOfRequestStreamFromClientActiveServerIdle),
  271. ("testSendEndOfRequestStreamFromClientClosedServerActive", testSendEndOfRequestStreamFromClientClosedServerActive),
  272. ("testSendEndOfRequestStreamFromClientClosedServerIdle", testSendEndOfRequestStreamFromClientClosedServerIdle),
  273. ("testSendEndOfRequestStreamFromClosed", testSendEndOfRequestStreamFromClosed),
  274. ("testSendEndOfRequestStreamFromIdle", testSendEndOfRequestStreamFromIdle),
  275. ("testSendRequestFromActive", testSendRequestFromActive),
  276. ("testSendRequestFromClientActiveServerIdle", testSendRequestFromClientActiveServerIdle),
  277. ("testSendRequestFromClientClosedServerActive", testSendRequestFromClientClosedServerActive),
  278. ("testSendRequestFromClientClosedServerIdle", testSendRequestFromClientClosedServerIdle),
  279. ("testSendRequestFromClosed", testSendRequestFromClosed),
  280. ("testSendRequestFromIdle", testSendRequestFromIdle),
  281. ("testSendRequestHeaders", testSendRequestHeaders),
  282. ("testSendRequestHeadersFromActive", testSendRequestHeadersFromActive),
  283. ("testSendRequestHeadersFromClientActiveServerIdle", testSendRequestHeadersFromClientActiveServerIdle),
  284. ("testSendRequestHeadersFromClientClosedServerActive", testSendRequestHeadersFromClientClosedServerActive),
  285. ("testSendRequestHeadersFromClientClosedServerIdle", testSendRequestHeadersFromClientClosedServerIdle),
  286. ("testSendRequestHeadersFromClosed", testSendRequestHeadersFromClosed),
  287. ("testSendRequestHeadersFromIdle", testSendRequestHeadersFromIdle),
  288. ("testSendRequestHeadersNormalizesCustomMetadata", testSendRequestHeadersNormalizesCustomMetadata),
  289. ("testSendRequestHeadersWithNoCompressionForRequests", testSendRequestHeadersWithNoCompressionForRequests),
  290. ("testSendRequestHeadersWithNoCompressionForResponses", testSendRequestHeadersWithNoCompressionForResponses),
  291. ("testSendRequestHeadersWithNoCompressionInEitherDirection", testSendRequestHeadersWithNoCompressionInEitherDirection),
  292. ("testSendTooManyRequestsFromActive", testSendTooManyRequestsFromActive),
  293. ("testSendTooManyRequestsFromClientActiveServerIdle", testSendTooManyRequestsFromClientActiveServerIdle),
  294. ("testSendTooManyRequestsFromClosed", testSendTooManyRequestsFromClosed),
  295. ("testSimpleBidirectionalActiveFlow", testSimpleBidirectionalActiveFlow),
  296. ("testSimpleClientActiveFlow", testSimpleClientActiveFlow),
  297. ("testSimpleServerActiveFlow", testSimpleServerActiveFlow),
  298. ("testSimpleUnaryFlow", testSimpleUnaryFlow),
  299. ]
  300. }
  301. extension GRPCCustomPayloadTests {
  302. // DO NOT MODIFY: This is autogenerated, use:
  303. // `swift test --generate-linuxmain`
  304. // to regenerate.
  305. static let __allTests__GRPCCustomPayloadTests = [
  306. ("testCustomPayload", testCustomPayload),
  307. ("testNoDeserializationOnTheClient", testNoDeserializationOnTheClient),
  308. ]
  309. }
  310. extension GRPCInsecureInteroperabilityTests {
  311. // DO NOT MODIFY: This is autogenerated, use:
  312. // `swift test --generate-linuxmain`
  313. // to regenerate.
  314. static let __allTests__GRPCInsecureInteroperabilityTests = [
  315. ("testCacheableUnary", testCacheableUnary),
  316. ("testCancelAfterBegin", testCancelAfterBegin),
  317. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  318. ("testClientCompressedStreaming", testClientCompressedStreaming),
  319. ("testClientCompressedUnary", testClientCompressedUnary),
  320. ("testClientStreaming", testClientStreaming),
  321. ("testCustomMetadata", testCustomMetadata),
  322. ("testEmptyStream", testEmptyStream),
  323. ("testEmptyUnary", testEmptyUnary),
  324. ("testLargeUnary", testLargeUnary),
  325. ("testPingPong", testPingPong),
  326. ("testServerCompressedStreaming", testServerCompressedStreaming),
  327. ("testServerCompressedUnary", testServerCompressedUnary),
  328. ("testServerStreaming", testServerStreaming),
  329. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  330. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  331. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  332. ("testUnimplementedMethod", testUnimplementedMethod),
  333. ("testUnimplementedService", testUnimplementedService),
  334. ]
  335. }
  336. extension GRPCSecureInteroperabilityTests {
  337. // DO NOT MODIFY: This is autogenerated, use:
  338. // `swift test --generate-linuxmain`
  339. // to regenerate.
  340. static let __allTests__GRPCSecureInteroperabilityTests = [
  341. ("testCacheableUnary", testCacheableUnary),
  342. ("testCancelAfterBegin", testCancelAfterBegin),
  343. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  344. ("testClientCompressedStreaming", testClientCompressedStreaming),
  345. ("testClientCompressedUnary", testClientCompressedUnary),
  346. ("testClientStreaming", testClientStreaming),
  347. ("testCustomMetadata", testCustomMetadata),
  348. ("testEmptyStream", testEmptyStream),
  349. ("testEmptyUnary", testEmptyUnary),
  350. ("testLargeUnary", testLargeUnary),
  351. ("testPingPong", testPingPong),
  352. ("testServerCompressedStreaming", testServerCompressedStreaming),
  353. ("testServerCompressedUnary", testServerCompressedUnary),
  354. ("testServerStreaming", testServerStreaming),
  355. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  356. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  357. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  358. ("testUnimplementedMethod", testUnimplementedMethod),
  359. ("testUnimplementedService", testUnimplementedService),
  360. ]
  361. }
  362. extension GRPCServerRequestRoutingHandlerTests {
  363. // DO NOT MODIFY: This is autogenerated, use:
  364. // `swift test --generate-linuxmain`
  365. // to regenerate.
  366. static let __allTests__GRPCServerRequestRoutingHandlerTests = [
  367. ("testImplementedMethodReconfiguresPipeline", testImplementedMethodReconfiguresPipeline),
  368. ("testInvalidGRPCContentTypeReturnsUnsupportedMediaType", testInvalidGRPCContentTypeReturnsUnsupportedMediaType),
  369. ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
  370. ]
  371. }
  372. extension GRPCStatusCodeTests {
  373. // DO NOT MODIFY: This is autogenerated, use:
  374. // `swift test --generate-linuxmain`
  375. // to regenerate.
  376. static let __allTests__GRPCStatusCodeTests = [
  377. ("testBadGateway", testBadGateway),
  378. ("testBadRequest", testBadRequest),
  379. ("testForbidden", testForbidden),
  380. ("testGatewayTimeout", testGatewayTimeout),
  381. ("testNotFound", testNotFound),
  382. ("testServiceUnavailable", testServiceUnavailable),
  383. ("testStatusCodeAndMessageAreRespectedForNon200Responses", testStatusCodeAndMessageAreRespectedForNon200Responses),
  384. ("testTooManyRequests", testTooManyRequests),
  385. ("testUnauthorized", testUnauthorized),
  386. ]
  387. }
  388. extension GRPCStatusMessageMarshallerTests {
  389. // DO NOT MODIFY: This is autogenerated, use:
  390. // `swift test --generate-linuxmain`
  391. // to regenerate.
  392. static let __allTests__GRPCStatusMessageMarshallerTests = [
  393. ("testASCIIMarshallingAndUnmarshalling", testASCIIMarshallingAndUnmarshalling),
  394. ("testPercentMarshallingAndUnmarshalling", testPercentMarshallingAndUnmarshalling),
  395. ("testUnicodeMarshalling", testUnicodeMarshalling),
  396. ]
  397. }
  398. extension GRPCStatusTests {
  399. // DO NOT MODIFY: This is autogenerated, use:
  400. // `swift test --generate-linuxmain`
  401. // to regenerate.
  402. static let __allTests__GRPCStatusTests = [
  403. ("testStatusDescriptionWithMessage", testStatusDescriptionWithMessage),
  404. ("testStatusDescriptionWithoutMessage", testStatusDescriptionWithoutMessage),
  405. ]
  406. }
  407. extension GRPCTimeoutTests {
  408. // DO NOT MODIFY: This is autogenerated, use:
  409. // `swift test --generate-linuxmain`
  410. // to regenerate.
  411. static let __allTests__GRPCTimeoutTests = [
  412. ("testNegativeTimeoutThrows", testNegativeTimeoutThrows),
  413. ("testRoundingHoursTimeout", testRoundingHoursTimeout),
  414. ("testRoundingMicrosecondsTimeout", testRoundingMicrosecondsTimeout),
  415. ("testRoundingMillisecondsTimeout", testRoundingMillisecondsTimeout),
  416. ("testRoundingMinutesTimeout", testRoundingMinutesTimeout),
  417. ("testRoundingNanosecondsTimeout", testRoundingNanosecondsTimeout),
  418. ("testRoundingNegativeTimeout", testRoundingNegativeTimeout),
  419. ("testRoundingSecondsTimeout", testRoundingSecondsTimeout),
  420. ("testTooLargeTimeout", testTooLargeTimeout),
  421. ]
  422. }
  423. extension GRPCTypeSizeTests {
  424. // DO NOT MODIFY: This is autogenerated, use:
  425. // `swift test --generate-linuxmain`
  426. // to regenerate.
  427. static let __allTests__GRPCTypeSizeTests = [
  428. ("testGRPCClientRequestPart", testGRPCClientRequestPart),
  429. ("testGRPCClientResponsePart", testGRPCClientResponsePart),
  430. ("testGRPCStatus", testGRPCStatus),
  431. ]
  432. }
  433. extension HTTP1ToGRPCServerCodecTests {
  434. // DO NOT MODIFY: This is autogenerated, use:
  435. // `swift test --generate-linuxmain`
  436. // to regenerate.
  437. static let __allTests__HTTP1ToGRPCServerCodecTests = [
  438. ("testDeserializationErrorOnInvalidMessageBytes", testDeserializationErrorOnInvalidMessageBytes),
  439. ("testMultipleMessagesFromSingleBodyPart", testMultipleMessagesFromSingleBodyPart),
  440. ("testSingleMessageFromMultipleBodyParts", testSingleMessageFromMultipleBodyParts),
  441. ]
  442. }
  443. extension HeaderNormalizationTests {
  444. // DO NOT MODIFY: This is autogenerated, use:
  445. // `swift test --generate-linuxmain`
  446. // to regenerate.
  447. static let __allTests__HeaderNormalizationTests = [
  448. ("testHeadersAreNormalizedForBidirectionalStreaming", testHeadersAreNormalizedForBidirectionalStreaming),
  449. ("testHeadersAreNormalizedForClientStreaming", testHeadersAreNormalizedForClientStreaming),
  450. ("testHeadersAreNormalizedForServerStreaming", testHeadersAreNormalizedForServerStreaming),
  451. ("testHeadersAreNormalizedForUnary", testHeadersAreNormalizedForUnary),
  452. ]
  453. }
  454. extension ImmediatelyFailingProviderTests {
  455. // DO NOT MODIFY: This is autogenerated, use:
  456. // `swift test --generate-linuxmain`
  457. // to regenerate.
  458. static let __allTests__ImmediatelyFailingProviderTests = [
  459. ("testBidirectionalStreaming", testBidirectionalStreaming),
  460. ("testClientStreaming", testClientStreaming),
  461. ("testServerStreaming", testServerStreaming),
  462. ("testUnary", testUnary),
  463. ]
  464. }
  465. extension LengthPrefixedMessageReaderTests {
  466. // DO NOT MODIFY: This is autogenerated, use:
  467. // `swift test --generate-linuxmain`
  468. // to regenerate.
  469. static let __allTests__LengthPrefixedMessageReaderTests = [
  470. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  471. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  472. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  473. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  474. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  475. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  476. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  477. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  478. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  479. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  480. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  481. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  482. ]
  483. }
  484. extension MessageCompressionTests {
  485. // DO NOT MODIFY: This is autogenerated, use:
  486. // `swift test --generate-linuxmain`
  487. // to regenerate.
  488. static let __allTests__MessageCompressionTests = [
  489. ("testCompressedRequestsUncompressedResponses", testCompressedRequestsUncompressedResponses),
  490. ("testCompressedRequestWithCompressionNotSupportedOnServer", testCompressedRequestWithCompressionNotSupportedOnServer),
  491. ("testDecompressionLimitIsRespectedByClientForStreamingCall", testDecompressionLimitIsRespectedByClientForStreamingCall),
  492. ("testDecompressionLimitIsRespectedByClientForUnaryCall", testDecompressionLimitIsRespectedByClientForUnaryCall),
  493. ("testDecompressionLimitIsRespectedByServerForStreamingCall", testDecompressionLimitIsRespectedByServerForStreamingCall),
  494. ("testDecompressionLimitIsRespectedByServerForUnaryCall", testDecompressionLimitIsRespectedByServerForUnaryCall),
  495. ("testServerCanDecompressNonAdvertisedButSupportedCompression", testServerCanDecompressNonAdvertisedButSupportedCompression),
  496. ("testServerCompressesResponseWithDifferentAlgorithmToRequest", testServerCompressesResponseWithDifferentAlgorithmToRequest),
  497. ("testUncompressedRequestsCompressedResponses", testUncompressedRequestsCompressedResponses),
  498. ]
  499. }
  500. extension MessageEncodingHeaderValidatorTests {
  501. // DO NOT MODIFY: This is autogenerated, use:
  502. // `swift test --generate-linuxmain`
  503. // to regenerate.
  504. static let __allTests__MessageEncodingHeaderValidatorTests = [
  505. ("testNoCompressionWhenEnabled", testNoCompressionWhenEnabled),
  506. ("testNoCompressionWhenExplicitlyDisabled", testNoCompressionWhenExplicitlyDisabled),
  507. ("testSupportedAlgorithm", testSupportedAlgorithm),
  508. ("testSupportedButExplicitlyDisabled", testSupportedButExplicitlyDisabled),
  509. ("testSupportedButNotAdvertisedAlgorithm", testSupportedButNotAdvertisedAlgorithm),
  510. ("testUnsupportedButEnabled", testUnsupportedButEnabled),
  511. ]
  512. }
  513. extension PlatformSupportTests {
  514. // DO NOT MODIFY: This is autogenerated, use:
  515. // `swift test --generate-linuxmain`
  516. // to regenerate.
  517. static let __allTests__PlatformSupportTests = [
  518. ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
  519. ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
  520. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
  521. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
  522. ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
  523. ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
  524. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
  525. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
  526. ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
  527. ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
  528. ]
  529. }
  530. extension ReadStateTests {
  531. // DO NOT MODIFY: This is autogenerated, use:
  532. // `swift test --generate-linuxmain`
  533. // to regenerate.
  534. static let __allTests__ReadStateTests = [
  535. ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
  536. ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
  537. ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
  538. ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
  539. ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
  540. ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
  541. ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
  542. ]
  543. }
  544. extension ServerDelayedThrowingTests {
  545. // DO NOT MODIFY: This is autogenerated, use:
  546. // `swift test --generate-linuxmain`
  547. // to regenerate.
  548. static let __allTests__ServerDelayedThrowingTests = [
  549. ("testBidirectionalStreaming", testBidirectionalStreaming),
  550. ("testClientStreaming", testClientStreaming),
  551. ("testServerStreaming", testServerStreaming),
  552. ("testUnary", testUnary),
  553. ]
  554. }
  555. extension ServerErrorTransformingTests {
  556. // DO NOT MODIFY: This is autogenerated, use:
  557. // `swift test --generate-linuxmain`
  558. // to regenerate.
  559. static let __allTests__ServerErrorTransformingTests = [
  560. ("testBidirectionalStreaming", testBidirectionalStreaming),
  561. ("testClientStreaming", testClientStreaming),
  562. ("testServerStreaming", testServerStreaming),
  563. ("testUnary", testUnary),
  564. ]
  565. }
  566. extension ServerThrowingTests {
  567. // DO NOT MODIFY: This is autogenerated, use:
  568. // `swift test --generate-linuxmain`
  569. // to regenerate.
  570. static let __allTests__ServerThrowingTests = [
  571. ("testBidirectionalStreaming", testBidirectionalStreaming),
  572. ("testClientStreaming", testClientStreaming),
  573. ("testServerStreaming", testServerStreaming),
  574. ("testUnary", testUnary),
  575. ]
  576. }
  577. extension ServerWebTests {
  578. // DO NOT MODIFY: This is autogenerated, use:
  579. // `swift test --generate-linuxmain`
  580. // to regenerate.
  581. static let __allTests__ServerWebTests = [
  582. ("testServerStreaming", testServerStreaming),
  583. ("testUnary", testUnary),
  584. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  585. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  586. ]
  587. }
  588. extension StopwatchTests {
  589. // DO NOT MODIFY: This is autogenerated, use:
  590. // `swift test --generate-linuxmain`
  591. // to regenerate.
  592. static let __allTests__StopwatchTests = [
  593. ("testElapsed", testElapsed),
  594. ]
  595. }
  596. extension StreamingRequestClientCallTests {
  597. // DO NOT MODIFY: This is autogenerated, use:
  598. // `swift test --generate-linuxmain`
  599. // to regenerate.
  600. static let __allTests__StreamingRequestClientCallTests = [
  601. ("testSendMessages", testSendMessages),
  602. ]
  603. }
  604. extension TLSVerificationHandlerTests {
  605. // DO NOT MODIFY: This is autogenerated, use:
  606. // `swift test --generate-linuxmain`
  607. // to regenerate.
  608. static let __allTests__TLSVerificationHandlerTests = [
  609. ("testTLSValidationSucceededWithCustomProtocol", testTLSValidationSucceededWithCustomProtocol),
  610. ("testTLSValidationSucceededWithGRPCApplicationProtocols", testTLSValidationSucceededWithGRPCApplicationProtocols),
  611. ("testTLSValidationSucceededWithUnspecifiedProtocol", testTLSValidationSucceededWithUnspecifiedProtocol),
  612. ]
  613. }
  614. extension ZlibTests {
  615. // DO NOT MODIFY: This is autogenerated, use:
  616. // `swift test --generate-linuxmain`
  617. // to regenerate.
  618. static let __allTests__ZlibTests = [
  619. ("testAbsoluteDecompressionLimit", testAbsoluteDecompressionLimit),
  620. ("testAbsoluteDecompressionLimitMaximumSize", testAbsoluteDecompressionLimitMaximumSize),
  621. ("testCompressionAndDecompressionOfASCIIBytes", testCompressionAndDecompressionOfASCIIBytes),
  622. ("testCompressionAndDecompressionOfHardToCompressData", testCompressionAndDecompressionOfHardToCompressData),
  623. ("testCompressionAndDecompressionOfZeros", testCompressionAndDecompressionOfZeros),
  624. ("testCompressionAndDecompressionWithResets", testCompressionAndDecompressionWithResets),
  625. ("testDecompressionAutomaticallyResizesOutputBuffer", testDecompressionAutomaticallyResizesOutputBuffer),
  626. ("testDecompressThrowsOnGibberish", testDecompressThrowsOnGibberish),
  627. ("testRatioDecompressionLimit", testRatioDecompressionLimit),
  628. ("testRatioDecompressionLimitMaximumSize", testRatioDecompressionLimitMaximumSize),
  629. ]
  630. }
  631. public func __allTests() -> [XCTestCaseEntry] {
  632. return [
  633. testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
  634. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  635. testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
  636. testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
  637. testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
  638. testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
  639. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  640. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  641. testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
  642. testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
  643. testCase(DelegatingErrorHandlerTests.__allTests__DelegatingErrorHandlerTests),
  644. testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
  645. testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
  646. testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
  647. testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
  648. testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
  649. testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
  650. testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
  651. testCase(GRPCCustomPayloadTests.__allTests__GRPCCustomPayloadTests),
  652. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  653. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  654. testCase(GRPCServerRequestRoutingHandlerTests.__allTests__GRPCServerRequestRoutingHandlerTests),
  655. testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
  656. testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
  657. testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
  658. testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
  659. testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
  660. testCase(HTTP1ToGRPCServerCodecTests.__allTests__HTTP1ToGRPCServerCodecTests),
  661. testCase(HeaderNormalizationTests.__allTests__HeaderNormalizationTests),
  662. testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
  663. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  664. testCase(MessageCompressionTests.__allTests__MessageCompressionTests),
  665. testCase(MessageEncodingHeaderValidatorTests.__allTests__MessageEncodingHeaderValidatorTests),
  666. testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
  667. testCase(ReadStateTests.__allTests__ReadStateTests),
  668. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  669. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  670. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  671. testCase(ServerWebTests.__allTests__ServerWebTests),
  672. testCase(StopwatchTests.__allTests__StopwatchTests),
  673. testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
  674. testCase(TLSVerificationHandlerTests.__allTests__TLSVerificationHandlerTests),
  675. testCase(ZlibTests.__allTests__ZlibTests),
  676. ]
  677. }
  678. #endif