XCTestManifests.swift 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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 GRPCChannelHandlerTests {
  234. // DO NOT MODIFY: This is autogenerated, use:
  235. // `swift test --generate-linuxmain`
  236. // to regenerate.
  237. static let __allTests__GRPCChannelHandlerTests = [
  238. ("testImplementedMethodReturnsHeadersMessageAndStatus", testImplementedMethodReturnsHeadersMessageAndStatus),
  239. ("testImplementedMethodReturnsStatusForBadlyFormedProto", testImplementedMethodReturnsStatusForBadlyFormedProto),
  240. ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
  241. ]
  242. }
  243. extension GRPCClientStateMachineTests {
  244. // DO NOT MODIFY: This is autogenerated, use:
  245. // `swift test --generate-linuxmain`
  246. // to regenerate.
  247. static let __allTests__GRPCClientStateMachineTests = [
  248. ("testReceiveEndOfResponseStreamFromActive", testReceiveEndOfResponseStreamFromActive),
  249. ("testReceiveEndOfResponseStreamFromClientActiveServerIdle", testReceiveEndOfResponseStreamFromClientActiveServerIdle),
  250. ("testReceiveEndOfResponseStreamFromClientClosedServerActive", testReceiveEndOfResponseStreamFromClientClosedServerActive),
  251. ("testReceiveEndOfResponseStreamFromClientClosedServerIdle", testReceiveEndOfResponseStreamFromClientClosedServerIdle),
  252. ("testReceiveEndOfResponseStreamFromClosed", testReceiveEndOfResponseStreamFromClosed),
  253. ("testReceiveEndOfResponseStreamFromIdle", testReceiveEndOfResponseStreamFromIdle),
  254. ("testReceiveEndOfResponseStreamWithNonIntStatus", testReceiveEndOfResponseStreamWithNonIntStatus),
  255. ("testReceiveEndOfResponseStreamWithStatusAndMessage", testReceiveEndOfResponseStreamWithStatusAndMessage),
  256. ("testReceiveEndOfResponseStreamWithStatus", testReceiveEndOfResponseStreamWithStatus),
  257. ("testReceiveEndOfResponseStreamWithUnknownStatus", testReceiveEndOfResponseStreamWithUnknownStatus),
  258. ("testReceiveResponseFromActive", testReceiveResponseFromActive),
  259. ("testReceiveResponseFromClientActiveServerIdle", testReceiveResponseFromClientActiveServerIdle),
  260. ("testReceiveResponseFromClientClosedServerActive", testReceiveResponseFromClientClosedServerActive),
  261. ("testReceiveResponseFromClientClosedServerIdle", testReceiveResponseFromClientClosedServerIdle),
  262. ("testReceiveResponseFromClosed", testReceiveResponseFromClosed),
  263. ("testReceiveResponseFromIdle", testReceiveResponseFromIdle),
  264. ("testReceiveResponseHeadersFromActive", testReceiveResponseHeadersFromActive),
  265. ("testReceiveResponseHeadersFromClientActiveServerIdle", testReceiveResponseHeadersFromClientActiveServerIdle),
  266. ("testReceiveResponseHeadersFromClientClosedServerActive", testReceiveResponseHeadersFromClientClosedServerActive),
  267. ("testReceiveResponseHeadersFromClientClosedServerIdle", testReceiveResponseHeadersFromClientClosedServerIdle),
  268. ("testReceiveResponseHeadersFromClosed", testReceiveResponseHeadersFromClosed),
  269. ("testReceiveResponseHeadersFromIdle", testReceiveResponseHeadersFromIdle),
  270. ("testReceiveResponseHeadersWithInvalidContentType", testReceiveResponseHeadersWithInvalidContentType),
  271. ("testReceiveResponseHeadersWithNotOkStatus", testReceiveResponseHeadersWithNotOkStatus),
  272. ("testReceiveResponseHeadersWithOkStatus", testReceiveResponseHeadersWithOkStatus),
  273. ("testReceiveResponseHeadersWithoutContentType", testReceiveResponseHeadersWithoutContentType),
  274. ("testReceiveResponseHeadersWithSupportedCompressionMechanism", testReceiveResponseHeadersWithSupportedCompressionMechanism),
  275. ("testReceiveResponseHeadersWithUnknownCompressionMechanism", testReceiveResponseHeadersWithUnknownCompressionMechanism),
  276. ("testReceiveResponseHeadersWithUnsupportedCompressionMechanism", testReceiveResponseHeadersWithUnsupportedCompressionMechanism),
  277. ("testReceiveTooManyRequests", testReceiveTooManyRequests),
  278. ("testReceiveTooManyRequestsInOneBuffer", testReceiveTooManyRequestsInOneBuffer),
  279. ("testSendEndOfRequestStreamFromActive", testSendEndOfRequestStreamFromActive),
  280. ("testSendEndOfRequestStreamFromClientActiveServerIdle", testSendEndOfRequestStreamFromClientActiveServerIdle),
  281. ("testSendEndOfRequestStreamFromClientClosedServerActive", testSendEndOfRequestStreamFromClientClosedServerActive),
  282. ("testSendEndOfRequestStreamFromClientClosedServerIdle", testSendEndOfRequestStreamFromClientClosedServerIdle),
  283. ("testSendEndOfRequestStreamFromClosed", testSendEndOfRequestStreamFromClosed),
  284. ("testSendEndOfRequestStreamFromIdle", testSendEndOfRequestStreamFromIdle),
  285. ("testSendRequestFromActive", testSendRequestFromActive),
  286. ("testSendRequestFromClientActiveServerIdle", testSendRequestFromClientActiveServerIdle),
  287. ("testSendRequestFromClientClosedServerActive", testSendRequestFromClientClosedServerActive),
  288. ("testSendRequestFromClientClosedServerIdle", testSendRequestFromClientClosedServerIdle),
  289. ("testSendRequestFromClosed", testSendRequestFromClosed),
  290. ("testSendRequestFromIdle", testSendRequestFromIdle),
  291. ("testSendRequestHeaders", testSendRequestHeaders),
  292. ("testSendRequestHeadersFromActive", testSendRequestHeadersFromActive),
  293. ("testSendRequestHeadersFromClientActiveServerIdle", testSendRequestHeadersFromClientActiveServerIdle),
  294. ("testSendRequestHeadersFromClientClosedServerActive", testSendRequestHeadersFromClientClosedServerActive),
  295. ("testSendRequestHeadersFromClientClosedServerIdle", testSendRequestHeadersFromClientClosedServerIdle),
  296. ("testSendRequestHeadersFromClosed", testSendRequestHeadersFromClosed),
  297. ("testSendRequestHeadersFromIdle", testSendRequestHeadersFromIdle),
  298. ("testSendTooManyRequestsFromActive", testSendTooManyRequestsFromActive),
  299. ("testSendTooManyRequestsFromClientActiveServerIdle", testSendTooManyRequestsFromClientActiveServerIdle),
  300. ("testSendTooManyRequestsFromClosed", testSendTooManyRequestsFromClosed),
  301. ("testSimpleBidirectionalActiveFlow", testSimpleBidirectionalActiveFlow),
  302. ("testSimpleClientActiveFlow", testSimpleClientActiveFlow),
  303. ("testSimpleServerActiveFlow", testSimpleServerActiveFlow),
  304. ("testSimpleUnaryFlow", testSimpleUnaryFlow),
  305. ]
  306. }
  307. extension GRPCInsecureInteroperabilityTests {
  308. // DO NOT MODIFY: This is autogenerated, use:
  309. // `swift test --generate-linuxmain`
  310. // to regenerate.
  311. static let __allTests__GRPCInsecureInteroperabilityTests = [
  312. ("testCacheableUnary", testCacheableUnary),
  313. ("testCancelAfterBegin", testCancelAfterBegin),
  314. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  315. ("testClientStreaming", testClientStreaming),
  316. ("testCustomMetadata", testCustomMetadata),
  317. ("testEmptyStream", testEmptyStream),
  318. ("testEmptyUnary", testEmptyUnary),
  319. ("testLargeUnary", testLargeUnary),
  320. ("testPingPong", testPingPong),
  321. ("testServerStreaming", testServerStreaming),
  322. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  323. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  324. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  325. ("testUnimplementedMethod", testUnimplementedMethod),
  326. ("testUnimplementedService", testUnimplementedService),
  327. ]
  328. }
  329. extension GRPCSecureInteroperabilityTests {
  330. // DO NOT MODIFY: This is autogenerated, use:
  331. // `swift test --generate-linuxmain`
  332. // to regenerate.
  333. static let __allTests__GRPCSecureInteroperabilityTests = [
  334. ("testCacheableUnary", testCacheableUnary),
  335. ("testCancelAfterBegin", testCancelAfterBegin),
  336. ("testCancelAfterFirstResponse", testCancelAfterFirstResponse),
  337. ("testClientStreaming", testClientStreaming),
  338. ("testCustomMetadata", testCustomMetadata),
  339. ("testEmptyStream", testEmptyStream),
  340. ("testEmptyUnary", testEmptyUnary),
  341. ("testLargeUnary", testLargeUnary),
  342. ("testPingPong", testPingPong),
  343. ("testServerStreaming", testServerStreaming),
  344. ("testSpecialStatusAndMessage", testSpecialStatusAndMessage),
  345. ("testStatusCodeAndMessage", testStatusCodeAndMessage),
  346. ("testTimeoutOnSleepingServer", testTimeoutOnSleepingServer),
  347. ("testUnimplementedMethod", testUnimplementedMethod),
  348. ("testUnimplementedService", testUnimplementedService),
  349. ]
  350. }
  351. extension GRPCStatusCodeTests {
  352. // DO NOT MODIFY: This is autogenerated, use:
  353. // `swift test --generate-linuxmain`
  354. // to regenerate.
  355. static let __allTests__GRPCStatusCodeTests = [
  356. ("testBadGateway", testBadGateway),
  357. ("testBadRequest", testBadRequest),
  358. ("testForbidden", testForbidden),
  359. ("testGatewayTimeout", testGatewayTimeout),
  360. ("testNotFound", testNotFound),
  361. ("testServiceUnavailable", testServiceUnavailable),
  362. ("testStatusCodeAndMessageAreRespectedForNon200Responses", testStatusCodeAndMessageAreRespectedForNon200Responses),
  363. ("testTooManyRequests", testTooManyRequests),
  364. ("testUnauthorized", testUnauthorized),
  365. ]
  366. }
  367. extension GRPCStatusMessageMarshallerTests {
  368. // DO NOT MODIFY: This is autogenerated, use:
  369. // `swift test --generate-linuxmain`
  370. // to regenerate.
  371. static let __allTests__GRPCStatusMessageMarshallerTests = [
  372. ("testASCIIMarshallingAndUnmarshalling", testASCIIMarshallingAndUnmarshalling),
  373. ("testPercentMarshallingAndUnmarshalling", testPercentMarshallingAndUnmarshalling),
  374. ("testUnicodeMarshalling", testUnicodeMarshalling),
  375. ]
  376. }
  377. extension GRPCStatusTests {
  378. // DO NOT MODIFY: This is autogenerated, use:
  379. // `swift test --generate-linuxmain`
  380. // to regenerate.
  381. static let __allTests__GRPCStatusTests = [
  382. ("testStatusDescriptionWithMessage", testStatusDescriptionWithMessage),
  383. ("testStatusDescriptionWithoutMessage", testStatusDescriptionWithoutMessage),
  384. ]
  385. }
  386. extension GRPCTimeoutTests {
  387. // DO NOT MODIFY: This is autogenerated, use:
  388. // `swift test --generate-linuxmain`
  389. // to regenerate.
  390. static let __allTests__GRPCTimeoutTests = [
  391. ("testNegativeTimeoutThrows", testNegativeTimeoutThrows),
  392. ("testRoundingHoursTimeout", testRoundingHoursTimeout),
  393. ("testRoundingMicrosecondsTimeout", testRoundingMicrosecondsTimeout),
  394. ("testRoundingMillisecondsTimeout", testRoundingMillisecondsTimeout),
  395. ("testRoundingMinutesTimeout", testRoundingMinutesTimeout),
  396. ("testRoundingNanosecondsTimeout", testRoundingNanosecondsTimeout),
  397. ("testRoundingNegativeTimeout", testRoundingNegativeTimeout),
  398. ("testRoundingSecondsTimeout", testRoundingSecondsTimeout),
  399. ("testTooLargeTimeout", testTooLargeTimeout),
  400. ]
  401. }
  402. extension GRPCTypeSizeTests {
  403. // DO NOT MODIFY: This is autogenerated, use:
  404. // `swift test --generate-linuxmain`
  405. // to regenerate.
  406. static let __allTests__GRPCTypeSizeTests = [
  407. ("testGRPCClientRequestPart", testGRPCClientRequestPart),
  408. ("testGRPCClientResponsePart", testGRPCClientResponsePart),
  409. ("testGRPCStatus", testGRPCStatus),
  410. ]
  411. }
  412. extension HTTP1ToRawGRPCServerCodecTests {
  413. // DO NOT MODIFY: This is autogenerated, use:
  414. // `swift test --generate-linuxmain`
  415. // to regenerate.
  416. static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
  417. ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
  418. ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
  419. ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
  420. ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
  421. ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
  422. ]
  423. }
  424. extension ImmediatelyFailingProviderTests {
  425. // DO NOT MODIFY: This is autogenerated, use:
  426. // `swift test --generate-linuxmain`
  427. // to regenerate.
  428. static let __allTests__ImmediatelyFailingProviderTests = [
  429. ("testBidirectionalStreaming", testBidirectionalStreaming),
  430. ("testClientStreaming", testClientStreaming),
  431. ("testServerStreaming", testServerStreaming),
  432. ("testUnary", testUnary),
  433. ]
  434. }
  435. extension LengthPrefixedMessageReaderTests {
  436. // DO NOT MODIFY: This is autogenerated, use:
  437. // `swift test --generate-linuxmain`
  438. // to regenerate.
  439. static let __allTests__LengthPrefixedMessageReaderTests = [
  440. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  441. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  442. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  443. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  444. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  445. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  446. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  447. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  448. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  449. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  450. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  451. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  452. ]
  453. }
  454. extension PlatformSupportTests {
  455. // DO NOT MODIFY: This is autogenerated, use:
  456. // `swift test --generate-linuxmain`
  457. // to regenerate.
  458. static let __allTests__PlatformSupportTests = [
  459. ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
  460. ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
  461. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
  462. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
  463. ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
  464. ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
  465. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
  466. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
  467. ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
  468. ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
  469. ]
  470. }
  471. extension ReadStateTests {
  472. // DO NOT MODIFY: This is autogenerated, use:
  473. // `swift test --generate-linuxmain`
  474. // to regenerate.
  475. static let __allTests__ReadStateTests = [
  476. ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
  477. ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
  478. ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
  479. ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
  480. ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
  481. ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
  482. ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
  483. ]
  484. }
  485. extension ServerDelayedThrowingTests {
  486. // DO NOT MODIFY: This is autogenerated, use:
  487. // `swift test --generate-linuxmain`
  488. // to regenerate.
  489. static let __allTests__ServerDelayedThrowingTests = [
  490. ("testBidirectionalStreaming", testBidirectionalStreaming),
  491. ("testClientStreaming", testClientStreaming),
  492. ("testServerStreaming", testServerStreaming),
  493. ("testUnary", testUnary),
  494. ]
  495. }
  496. extension ServerErrorTransformingTests {
  497. // DO NOT MODIFY: This is autogenerated, use:
  498. // `swift test --generate-linuxmain`
  499. // to regenerate.
  500. static let __allTests__ServerErrorTransformingTests = [
  501. ("testBidirectionalStreaming", testBidirectionalStreaming),
  502. ("testClientStreaming", testClientStreaming),
  503. ("testServerStreaming", testServerStreaming),
  504. ("testUnary", testUnary),
  505. ]
  506. }
  507. extension ServerThrowingTests {
  508. // DO NOT MODIFY: This is autogenerated, use:
  509. // `swift test --generate-linuxmain`
  510. // to regenerate.
  511. static let __allTests__ServerThrowingTests = [
  512. ("testBidirectionalStreaming", testBidirectionalStreaming),
  513. ("testClientStreaming", testClientStreaming),
  514. ("testServerStreaming", testServerStreaming),
  515. ("testUnary", testUnary),
  516. ]
  517. }
  518. extension ServerWebTests {
  519. // DO NOT MODIFY: This is autogenerated, use:
  520. // `swift test --generate-linuxmain`
  521. // to regenerate.
  522. static let __allTests__ServerWebTests = [
  523. ("testServerStreaming", testServerStreaming),
  524. ("testUnary", testUnary),
  525. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  526. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  527. ]
  528. }
  529. extension StopwatchTests {
  530. // DO NOT MODIFY: This is autogenerated, use:
  531. // `swift test --generate-linuxmain`
  532. // to regenerate.
  533. static let __allTests__StopwatchTests = [
  534. ("testElapsed", testElapsed),
  535. ]
  536. }
  537. extension StreamingRequestClientCallTests {
  538. // DO NOT MODIFY: This is autogenerated, use:
  539. // `swift test --generate-linuxmain`
  540. // to regenerate.
  541. static let __allTests__StreamingRequestClientCallTests = [
  542. ("testSendMessages", testSendMessages),
  543. ]
  544. }
  545. extension TLSVerificationHandlerTests {
  546. // DO NOT MODIFY: This is autogenerated, use:
  547. // `swift test --generate-linuxmain`
  548. // to regenerate.
  549. static let __allTests__TLSVerificationHandlerTests = [
  550. ("testTLSValidationSucceededWithCustomProtocol", testTLSValidationSucceededWithCustomProtocol),
  551. ("testTLSValidationSucceededWithGRPCApplicationProtocols", testTLSValidationSucceededWithGRPCApplicationProtocols),
  552. ("testTLSValidationSucceededWithUnspecifiedProtocol", testTLSValidationSucceededWithUnspecifiedProtocol),
  553. ]
  554. }
  555. public func __allTests() -> [XCTestCaseEntry] {
  556. return [
  557. testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
  558. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  559. testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
  560. testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
  561. testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
  562. testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
  563. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  564. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  565. testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
  566. testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
  567. testCase(DelegatingErrorHandlerTests.__allTests__DelegatingErrorHandlerTests),
  568. testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
  569. testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
  570. testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
  571. testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
  572. testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
  573. testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
  574. testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
  575. testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
  576. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  577. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  578. testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
  579. testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
  580. testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
  581. testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
  582. testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
  583. testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
  584. testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
  585. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  586. testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
  587. testCase(ReadStateTests.__allTests__ReadStateTests),
  588. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  589. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  590. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  591. testCase(ServerWebTests.__allTests__ServerWebTests),
  592. testCase(StopwatchTests.__allTests__StopwatchTests),
  593. testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
  594. testCase(TLSVerificationHandlerTests.__allTests__TLSVerificationHandlerTests),
  595. ]
  596. }
  597. #endif