XCTestManifests.swift 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  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. ("testSendRequestHeadersWithNoCompressionForRequests", testSendRequestHeadersWithNoCompressionForRequests),
  289. ("testSendRequestHeadersWithNoCompressionForResponses", testSendRequestHeadersWithNoCompressionForResponses),
  290. ("testSendRequestHeadersWithNoCompressionInEitherDirection", testSendRequestHeadersWithNoCompressionInEitherDirection),
  291. ("testSendTooManyRequestsFromActive", testSendTooManyRequestsFromActive),
  292. ("testSendTooManyRequestsFromClientActiveServerIdle", testSendTooManyRequestsFromClientActiveServerIdle),
  293. ("testSendTooManyRequestsFromClosed", testSendTooManyRequestsFromClosed),
  294. ("testSimpleBidirectionalActiveFlow", testSimpleBidirectionalActiveFlow),
  295. ("testSimpleClientActiveFlow", testSimpleClientActiveFlow),
  296. ("testSimpleServerActiveFlow", testSimpleServerActiveFlow),
  297. ("testSimpleUnaryFlow", testSimpleUnaryFlow),
  298. ]
  299. }
  300. extension GRPCInsecureInteroperabilityTests {
  301. // DO NOT MODIFY: This is autogenerated, use:
  302. // `swift test --generate-linuxmain`
  303. // to regenerate.
  304. static let __allTests__GRPCInsecureInteroperabilityTests = [
  305. ("testCacheableUnary", testCacheableUnary),
  306. ("testCancelAfterBegin", testCancelAfterBegin),
  307. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  308. ("testClientStreaming", testClientStreaming),
  309. ("testCustomMetadata", testCustomMetadata),
  310. ("testEmptyStream", testEmptyStream),
  311. ("testEmptyUnary", testEmptyUnary),
  312. ("testLargeUnary", testLargeUnary),
  313. ("testPingPong", testPingPong),
  314. ("testServerStreaming", testServerStreaming),
  315. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  316. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  317. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  318. ("testUnimplementedMethod", testUnimplementedMethod),
  319. ("testUnimplementedService", testUnimplementedService),
  320. ]
  321. }
  322. extension GRPCSecureInteroperabilityTests {
  323. // DO NOT MODIFY: This is autogenerated, use:
  324. // `swift test --generate-linuxmain`
  325. // to regenerate.
  326. static let __allTests__GRPCSecureInteroperabilityTests = [
  327. ("testCacheableUnary", testCacheableUnary),
  328. ("testCancelAfterBegin", testCancelAfterBegin),
  329. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  330. ("testClientStreaming", testClientStreaming),
  331. ("testCustomMetadata", testCustomMetadata),
  332. ("testEmptyStream", testEmptyStream),
  333. ("testEmptyUnary", testEmptyUnary),
  334. ("testLargeUnary", testLargeUnary),
  335. ("testPingPong", testPingPong),
  336. ("testServerStreaming", testServerStreaming),
  337. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  338. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  339. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  340. ("testUnimplementedMethod", testUnimplementedMethod),
  341. ("testUnimplementedService", testUnimplementedService),
  342. ]
  343. }
  344. extension GRPCServerRequestRoutingHandlerTests {
  345. // DO NOT MODIFY: This is autogenerated, use:
  346. // `swift test --generate-linuxmain`
  347. // to regenerate.
  348. static let __allTests__GRPCServerRequestRoutingHandlerTests = [
  349. ("testImplementedMethodReconfiguresPipeline", testImplementedMethodReconfiguresPipeline),
  350. ("testInvalidGRPCContentTypeReturnsUnsupportedMediaType", testInvalidGRPCContentTypeReturnsUnsupportedMediaType),
  351. ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
  352. ]
  353. }
  354. extension GRPCStatusCodeTests {
  355. // DO NOT MODIFY: This is autogenerated, use:
  356. // `swift test --generate-linuxmain`
  357. // to regenerate.
  358. static let __allTests__GRPCStatusCodeTests = [
  359. ("testBadGateway", testBadGateway),
  360. ("testBadRequest", testBadRequest),
  361. ("testForbidden", testForbidden),
  362. ("testGatewayTimeout", testGatewayTimeout),
  363. ("testNotFound", testNotFound),
  364. ("testServiceUnavailable", testServiceUnavailable),
  365. ("testStatusCodeAndMessageAreRespectedForNon200Responses", testStatusCodeAndMessageAreRespectedForNon200Responses),
  366. ("testTooManyRequests", testTooManyRequests),
  367. ("testUnauthorized", testUnauthorized),
  368. ]
  369. }
  370. extension GRPCStatusMessageMarshallerTests {
  371. // DO NOT MODIFY: This is autogenerated, use:
  372. // `swift test --generate-linuxmain`
  373. // to regenerate.
  374. static let __allTests__GRPCStatusMessageMarshallerTests = [
  375. ("testASCIIMarshallingAndUnmarshalling", testASCIIMarshallingAndUnmarshalling),
  376. ("testPercentMarshallingAndUnmarshalling", testPercentMarshallingAndUnmarshalling),
  377. ("testUnicodeMarshalling", testUnicodeMarshalling),
  378. ]
  379. }
  380. extension GRPCStatusTests {
  381. // DO NOT MODIFY: This is autogenerated, use:
  382. // `swift test --generate-linuxmain`
  383. // to regenerate.
  384. static let __allTests__GRPCStatusTests = [
  385. ("testStatusDescriptionWithMessage", testStatusDescriptionWithMessage),
  386. ("testStatusDescriptionWithoutMessage", testStatusDescriptionWithoutMessage),
  387. ]
  388. }
  389. extension GRPCTimeoutTests {
  390. // DO NOT MODIFY: This is autogenerated, use:
  391. // `swift test --generate-linuxmain`
  392. // to regenerate.
  393. static let __allTests__GRPCTimeoutTests = [
  394. ("testNegativeTimeoutThrows", testNegativeTimeoutThrows),
  395. ("testRoundingHoursTimeout", testRoundingHoursTimeout),
  396. ("testRoundingMicrosecondsTimeout", testRoundingMicrosecondsTimeout),
  397. ("testRoundingMillisecondsTimeout", testRoundingMillisecondsTimeout),
  398. ("testRoundingMinutesTimeout", testRoundingMinutesTimeout),
  399. ("testRoundingNanosecondsTimeout", testRoundingNanosecondsTimeout),
  400. ("testRoundingNegativeTimeout", testRoundingNegativeTimeout),
  401. ("testRoundingSecondsTimeout", testRoundingSecondsTimeout),
  402. ("testTooLargeTimeout", testTooLargeTimeout),
  403. ]
  404. }
  405. extension GRPCTypeSizeTests {
  406. // DO NOT MODIFY: This is autogenerated, use:
  407. // `swift test --generate-linuxmain`
  408. // to regenerate.
  409. static let __allTests__GRPCTypeSizeTests = [
  410. ("testGRPCClientRequestPart", testGRPCClientRequestPart),
  411. ("testGRPCClientResponsePart", testGRPCClientResponsePart),
  412. ("testGRPCStatus", testGRPCStatus),
  413. ]
  414. }
  415. extension HTTP1ToGRPCServerCodecTests {
  416. // DO NOT MODIFY: This is autogenerated, use:
  417. // `swift test --generate-linuxmain`
  418. // to regenerate.
  419. static let __allTests__HTTP1ToGRPCServerCodecTests = [
  420. ("testDeserializationErrorOnInvalidMessageBytes", testDeserializationErrorOnInvalidMessageBytes),
  421. ("testMultipleMessagesFromSingleBodyPart", testMultipleMessagesFromSingleBodyPart),
  422. ("testSingleMessageFromMultipleBodyParts", testSingleMessageFromMultipleBodyParts),
  423. ]
  424. }
  425. extension ImmediatelyFailingProviderTests {
  426. // DO NOT MODIFY: This is autogenerated, use:
  427. // `swift test --generate-linuxmain`
  428. // to regenerate.
  429. static let __allTests__ImmediatelyFailingProviderTests = [
  430. ("testBidirectionalStreaming", testBidirectionalStreaming),
  431. ("testClientStreaming", testClientStreaming),
  432. ("testServerStreaming", testServerStreaming),
  433. ("testUnary", testUnary),
  434. ]
  435. }
  436. extension LengthPrefixedMessageReaderTests {
  437. // DO NOT MODIFY: This is autogenerated, use:
  438. // `swift test --generate-linuxmain`
  439. // to regenerate.
  440. static let __allTests__LengthPrefixedMessageReaderTests = [
  441. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  442. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  443. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  444. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  445. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  446. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  447. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  448. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  449. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  450. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  451. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  452. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  453. ]
  454. }
  455. extension PlatformSupportTests {
  456. // DO NOT MODIFY: This is autogenerated, use:
  457. // `swift test --generate-linuxmain`
  458. // to regenerate.
  459. static let __allTests__PlatformSupportTests = [
  460. ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
  461. ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
  462. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
  463. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
  464. ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
  465. ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
  466. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
  467. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
  468. ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
  469. ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
  470. ]
  471. }
  472. extension ReadStateTests {
  473. // DO NOT MODIFY: This is autogenerated, use:
  474. // `swift test --generate-linuxmain`
  475. // to regenerate.
  476. static let __allTests__ReadStateTests = [
  477. ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
  478. ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
  479. ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
  480. ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
  481. ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
  482. ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
  483. ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
  484. ]
  485. }
  486. extension ServerDelayedThrowingTests {
  487. // DO NOT MODIFY: This is autogenerated, use:
  488. // `swift test --generate-linuxmain`
  489. // to regenerate.
  490. static let __allTests__ServerDelayedThrowingTests = [
  491. ("testBidirectionalStreaming", testBidirectionalStreaming),
  492. ("testClientStreaming", testClientStreaming),
  493. ("testServerStreaming", testServerStreaming),
  494. ("testUnary", testUnary),
  495. ]
  496. }
  497. extension ServerErrorTransformingTests {
  498. // DO NOT MODIFY: This is autogenerated, use:
  499. // `swift test --generate-linuxmain`
  500. // to regenerate.
  501. static let __allTests__ServerErrorTransformingTests = [
  502. ("testBidirectionalStreaming", testBidirectionalStreaming),
  503. ("testClientStreaming", testClientStreaming),
  504. ("testServerStreaming", testServerStreaming),
  505. ("testUnary", testUnary),
  506. ]
  507. }
  508. extension ServerThrowingTests {
  509. // DO NOT MODIFY: This is autogenerated, use:
  510. // `swift test --generate-linuxmain`
  511. // to regenerate.
  512. static let __allTests__ServerThrowingTests = [
  513. ("testBidirectionalStreaming", testBidirectionalStreaming),
  514. ("testClientStreaming", testClientStreaming),
  515. ("testServerStreaming", testServerStreaming),
  516. ("testUnary", testUnary),
  517. ]
  518. }
  519. extension ServerWebTests {
  520. // DO NOT MODIFY: This is autogenerated, use:
  521. // `swift test --generate-linuxmain`
  522. // to regenerate.
  523. static let __allTests__ServerWebTests = [
  524. ("testServerStreaming", testServerStreaming),
  525. ("testUnary", testUnary),
  526. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  527. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  528. ]
  529. }
  530. extension StopwatchTests {
  531. // DO NOT MODIFY: This is autogenerated, use:
  532. // `swift test --generate-linuxmain`
  533. // to regenerate.
  534. static let __allTests__StopwatchTests = [
  535. ("testElapsed", testElapsed),
  536. ]
  537. }
  538. extension StreamingRequestClientCallTests {
  539. // DO NOT MODIFY: This is autogenerated, use:
  540. // `swift test --generate-linuxmain`
  541. // to regenerate.
  542. static let __allTests__StreamingRequestClientCallTests = [
  543. ("testSendMessages", testSendMessages),
  544. ]
  545. }
  546. extension TLSVerificationHandlerTests {
  547. // DO NOT MODIFY: This is autogenerated, use:
  548. // `swift test --generate-linuxmain`
  549. // to regenerate.
  550. static let __allTests__TLSVerificationHandlerTests = [
  551. ("testTLSValidationSucceededWithCustomProtocol", testTLSValidationSucceededWithCustomProtocol),
  552. ("testTLSValidationSucceededWithGRPCApplicationProtocols", testTLSValidationSucceededWithGRPCApplicationProtocols),
  553. ("testTLSValidationSucceededWithUnspecifiedProtocol", testTLSValidationSucceededWithUnspecifiedProtocol),
  554. ]
  555. }
  556. extension ZlibTests {
  557. // DO NOT MODIFY: This is autogenerated, use:
  558. // `swift test --generate-linuxmain`
  559. // to regenerate.
  560. static let __allTests__ZlibTests = [
  561. ("testCompressionAndDecompressionOfASCIIBytes", testCompressionAndDecompressionOfASCIIBytes),
  562. ("testCompressionAndDecompressionOfHardToCompressData", testCompressionAndDecompressionOfHardToCompressData),
  563. ("testCompressionAndDecompressionOfZeros", testCompressionAndDecompressionOfZeros),
  564. ("testCompressionAndDecompressionWithResets", testCompressionAndDecompressionWithResets),
  565. ("testDecompressThrowsOnGibberish", testDecompressThrowsOnGibberish),
  566. ]
  567. }
  568. public func __allTests() -> [XCTestCaseEntry] {
  569. return [
  570. testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
  571. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  572. testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
  573. testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
  574. testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
  575. testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
  576. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  577. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  578. testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
  579. testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
  580. testCase(DelegatingErrorHandlerTests.__allTests__DelegatingErrorHandlerTests),
  581. testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
  582. testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
  583. testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
  584. testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
  585. testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
  586. testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
  587. testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
  588. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  589. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  590. testCase(GRPCServerRequestRoutingHandlerTests.__allTests__GRPCServerRequestRoutingHandlerTests),
  591. testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
  592. testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
  593. testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
  594. testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
  595. testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
  596. testCase(HTTP1ToGRPCServerCodecTests.__allTests__HTTP1ToGRPCServerCodecTests),
  597. testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
  598. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  599. testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
  600. testCase(ReadStateTests.__allTests__ReadStateTests),
  601. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  602. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  603. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  604. testCase(ServerWebTests.__allTests__ServerWebTests),
  605. testCase(StopwatchTests.__allTests__StopwatchTests),
  606. testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
  607. testCase(TLSVerificationHandlerTests.__allTests__TLSVerificationHandlerTests),
  608. testCase(ZlibTests.__allTests__ZlibTests),
  609. ]
  610. }
  611. #endif