XCTestManifests.swift 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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. ("testClientConnectionFailsWhenProtocolCanNotBeNegotiated", testClientConnectionFailsWhenProtocolCanNotBeNegotiated),
  56. ("testClientConnectionFailsWhenServerIsUnknown", testClientConnectionFailsWhenServerIsUnknown),
  57. ]
  58. }
  59. extension ClientTLSHostnameOverrideTests {
  60. // DO NOT MODIFY: This is autogenerated, use:
  61. // `swift test --generate-linuxmain`
  62. // to regenerate.
  63. static let __allTests__ClientTLSHostnameOverrideTests = [
  64. ("testTLSWithHostnameOverride", testTLSWithHostnameOverride),
  65. ("testTLSWithoutHostnameOverride", testTLSWithoutHostnameOverride),
  66. ]
  67. }
  68. extension ClientThrowingWhenServerReturningErrorTests {
  69. // DO NOT MODIFY: This is autogenerated, use:
  70. // `swift test --generate-linuxmain`
  71. // to regenerate.
  72. static let __allTests__ClientThrowingWhenServerReturningErrorTests = [
  73. ("testBidirectionalStreaming", testBidirectionalStreaming),
  74. ("testClientStreaming", testClientStreaming),
  75. ("testServerStreaming", testServerStreaming),
  76. ("testUnary", testUnary),
  77. ]
  78. }
  79. extension ClientTimeoutTests {
  80. // DO NOT MODIFY: This is autogenerated, use:
  81. // `swift test --generate-linuxmain`
  82. // to regenerate.
  83. static let __allTests__ClientTimeoutTests = [
  84. ("testBidirectionalStreamingTimeoutAfterSending", testBidirectionalStreamingTimeoutAfterSending),
  85. ("testBidirectionalStreamingTimeoutBeforeSending", testBidirectionalStreamingTimeoutBeforeSending),
  86. ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
  87. ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
  88. ("testServerStreamingTimeoutAfterSending", testServerStreamingTimeoutAfterSending),
  89. ("testUnaryTimeoutAfterSending", testUnaryTimeoutAfterSending),
  90. ]
  91. }
  92. extension ConnectionBackoffTests {
  93. // DO NOT MODIFY: This is autogenerated, use:
  94. // `swift test --generate-linuxmain`
  95. // to regenerate.
  96. static let __allTests__ConnectionBackoffTests = [
  97. ("testBackoffDoesNotExceedMaximum", testBackoffDoesNotExceedMaximum),
  98. ("testBackoffWithJitter", testBackoffWithJitter),
  99. ("testBackoffWithNoJitter", testBackoffWithNoJitter),
  100. ("testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum", testConnectionTimeoutAlwaysGreatherThanOrEqualToMinimum),
  101. ("testExpectedValuesWithNoJitter", testExpectedValuesWithNoJitter),
  102. ]
  103. }
  104. extension ConnectivityStateMonitorTests {
  105. // DO NOT MODIFY: This is autogenerated, use:
  106. // `swift test --generate-linuxmain`
  107. // to regenerate.
  108. static let __allTests__ConnectivityStateMonitorTests = [
  109. ("testDelegateOnlyCalledForChanges", testDelegateOnlyCalledForChanges),
  110. ]
  111. }
  112. extension FunctionalTestsAnonymousClient {
  113. // DO NOT MODIFY: This is autogenerated, use:
  114. // `swift test --generate-linuxmain`
  115. // to regenerate.
  116. static let __allTests__FunctionalTestsAnonymousClient = [
  117. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  118. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  119. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  120. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  121. ("testClientStreaming", testClientStreaming),
  122. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  123. ("testServerStreaming", testServerStreaming),
  124. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  125. ("testUnary", testUnary),
  126. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  127. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  128. ("testUnaryWithLargeData", testUnaryWithLargeData),
  129. ]
  130. }
  131. extension FunctionalTestsAnonymousClientNIOTS {
  132. // DO NOT MODIFY: This is autogenerated, use:
  133. // `swift test --generate-linuxmain`
  134. // to regenerate.
  135. static let __allTests__FunctionalTestsAnonymousClientNIOTS = [
  136. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  137. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  138. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  139. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  140. ("testClientStreaming", testClientStreaming),
  141. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  142. ("testServerStreaming", testServerStreaming),
  143. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  144. ("testUnary", testUnary),
  145. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  146. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  147. ("testUnaryWithLargeData", testUnaryWithLargeData),
  148. ]
  149. }
  150. extension FunctionalTestsInsecureTransport {
  151. // DO NOT MODIFY: This is autogenerated, use:
  152. // `swift test --generate-linuxmain`
  153. // to regenerate.
  154. static let __allTests__FunctionalTestsInsecureTransport = [
  155. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  156. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  157. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  158. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  159. ("testClientStreaming", testClientStreaming),
  160. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  161. ("testServerStreaming", testServerStreaming),
  162. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  163. ("testUnary", testUnary),
  164. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  165. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  166. ("testUnaryWithLargeData", testUnaryWithLargeData),
  167. ]
  168. }
  169. extension FunctionalTestsInsecureTransportNIOTS {
  170. // DO NOT MODIFY: This is autogenerated, use:
  171. // `swift test --generate-linuxmain`
  172. // to regenerate.
  173. static let __allTests__FunctionalTestsInsecureTransportNIOTS = [
  174. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  175. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  176. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  177. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  178. ("testClientStreaming", testClientStreaming),
  179. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  180. ("testServerStreaming", testServerStreaming),
  181. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  182. ("testUnary", testUnary),
  183. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  184. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  185. ("testUnaryWithLargeData", testUnaryWithLargeData),
  186. ]
  187. }
  188. extension FunctionalTestsMutualAuthentication {
  189. // DO NOT MODIFY: This is autogenerated, use:
  190. // `swift test --generate-linuxmain`
  191. // to regenerate.
  192. static let __allTests__FunctionalTestsMutualAuthentication = [
  193. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  194. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  195. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  196. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  197. ("testClientStreaming", testClientStreaming),
  198. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  199. ("testServerStreaming", testServerStreaming),
  200. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  201. ("testUnary", testUnary),
  202. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  203. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  204. ("testUnaryWithLargeData", testUnaryWithLargeData),
  205. ]
  206. }
  207. extension FunctionalTestsMutualAuthenticationNIOTS {
  208. // DO NOT MODIFY: This is autogenerated, use:
  209. // `swift test --generate-linuxmain`
  210. // to regenerate.
  211. static let __allTests__FunctionalTestsMutualAuthenticationNIOTS = [
  212. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  213. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  214. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  215. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  216. ("testClientStreaming", testClientStreaming),
  217. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  218. ("testServerStreaming", testServerStreaming),
  219. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  220. ("testUnary", testUnary),
  221. ("testUnaryEmptyRequest", testUnaryEmptyRequest),
  222. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  223. ("testUnaryWithLargeData", testUnaryWithLargeData),
  224. ]
  225. }
  226. extension GRPCChannelHandlerTests {
  227. // DO NOT MODIFY: This is autogenerated, use:
  228. // `swift test --generate-linuxmain`
  229. // to regenerate.
  230. static let __allTests__GRPCChannelHandlerTests = [
  231. ("testImplementedMethodReturnsHeadersMessageAndStatus", testImplementedMethodReturnsHeadersMessageAndStatus),
  232. ("testImplementedMethodReturnsStatusForBadlyFormedProto", testImplementedMethodReturnsStatusForBadlyFormedProto),
  233. ("testUnimplementedMethodReturnsUnimplementedStatus", testUnimplementedMethodReturnsUnimplementedStatus),
  234. ]
  235. }
  236. extension GRPCClientStateMachineTests {
  237. // DO NOT MODIFY: This is autogenerated, use:
  238. // `swift test --generate-linuxmain`
  239. // to regenerate.
  240. static let __allTests__GRPCClientStateMachineTests = [
  241. ("testReceiveEndOfResponseStreamFromActive", testReceiveEndOfResponseStreamFromActive),
  242. ("testReceiveEndOfResponseStreamFromClientActiveServerIdle", testReceiveEndOfResponseStreamFromClientActiveServerIdle),
  243. ("testReceiveEndOfResponseStreamFromClientClosedServerActive", testReceiveEndOfResponseStreamFromClientClosedServerActive),
  244. ("testReceiveEndOfResponseStreamFromClientClosedServerIdle", testReceiveEndOfResponseStreamFromClientClosedServerIdle),
  245. ("testReceiveEndOfResponseStreamFromClosed", testReceiveEndOfResponseStreamFromClosed),
  246. ("testReceiveEndOfResponseStreamFromIdle", testReceiveEndOfResponseStreamFromIdle),
  247. ("testReceiveEndOfResponseStreamWithNonIntStatus", testReceiveEndOfResponseStreamWithNonIntStatus),
  248. ("testReceiveEndOfResponseStreamWithStatusAndMessage", testReceiveEndOfResponseStreamWithStatusAndMessage),
  249. ("testReceiveEndOfResponseStreamWithStatus", testReceiveEndOfResponseStreamWithStatus),
  250. ("testReceiveEndOfResponseStreamWithUnknownStatus", testReceiveEndOfResponseStreamWithUnknownStatus),
  251. ("testReceiveResponseFromActive", testReceiveResponseFromActive),
  252. ("testReceiveResponseFromClientActiveServerIdle", testReceiveResponseFromClientActiveServerIdle),
  253. ("testReceiveResponseFromClientClosedServerActive", testReceiveResponseFromClientClosedServerActive),
  254. ("testReceiveResponseFromClientClosedServerIdle", testReceiveResponseFromClientClosedServerIdle),
  255. ("testReceiveResponseFromClosed", testReceiveResponseFromClosed),
  256. ("testReceiveResponseFromIdle", testReceiveResponseFromIdle),
  257. ("testReceiveResponseHeadersFromActive", testReceiveResponseHeadersFromActive),
  258. ("testReceiveResponseHeadersFromClientActiveServerIdle", testReceiveResponseHeadersFromClientActiveServerIdle),
  259. ("testReceiveResponseHeadersFromClientClosedServerActive", testReceiveResponseHeadersFromClientClosedServerActive),
  260. ("testReceiveResponseHeadersFromClientClosedServerIdle", testReceiveResponseHeadersFromClientClosedServerIdle),
  261. ("testReceiveResponseHeadersFromClosed", testReceiveResponseHeadersFromClosed),
  262. ("testReceiveResponseHeadersFromIdle", testReceiveResponseHeadersFromIdle),
  263. ("testReceiveResponseHeadersWithInvalidContentType", testReceiveResponseHeadersWithInvalidContentType),
  264. ("testReceiveResponseHeadersWithNotOkStatus", testReceiveResponseHeadersWithNotOkStatus),
  265. ("testReceiveResponseHeadersWithOkStatus", testReceiveResponseHeadersWithOkStatus),
  266. ("testReceiveResponseHeadersWithoutContentType", testReceiveResponseHeadersWithoutContentType),
  267. ("testReceiveResponseHeadersWithSupportedCompressionMechanism", testReceiveResponseHeadersWithSupportedCompressionMechanism),
  268. ("testReceiveResponseHeadersWithUnknownCompressionMechanism", testReceiveResponseHeadersWithUnknownCompressionMechanism),
  269. ("testReceiveResponseHeadersWithUnsupportedCompressionMechanism", testReceiveResponseHeadersWithUnsupportedCompressionMechanism),
  270. ("testReceiveTooManyRequests", testReceiveTooManyRequests),
  271. ("testReceiveTooManyRequestsInOneBuffer", testReceiveTooManyRequestsInOneBuffer),
  272. ("testSendEndOfRequestStreamFromActive", testSendEndOfRequestStreamFromActive),
  273. ("testSendEndOfRequestStreamFromClientActiveServerIdle", testSendEndOfRequestStreamFromClientActiveServerIdle),
  274. ("testSendEndOfRequestStreamFromClientClosedServerActive", testSendEndOfRequestStreamFromClientClosedServerActive),
  275. ("testSendEndOfRequestStreamFromClientClosedServerIdle", testSendEndOfRequestStreamFromClientClosedServerIdle),
  276. ("testSendEndOfRequestStreamFromClosed", testSendEndOfRequestStreamFromClosed),
  277. ("testSendEndOfRequestStreamFromIdle", testSendEndOfRequestStreamFromIdle),
  278. ("testSendRequestFromActive", testSendRequestFromActive),
  279. ("testSendRequestFromClientActiveServerIdle", testSendRequestFromClientActiveServerIdle),
  280. ("testSendRequestFromClientClosedServerActive", testSendRequestFromClientClosedServerActive),
  281. ("testSendRequestFromClientClosedServerIdle", testSendRequestFromClientClosedServerIdle),
  282. ("testSendRequestFromClosed", testSendRequestFromClosed),
  283. ("testSendRequestFromIdle", testSendRequestFromIdle),
  284. ("testSendRequestHeaders", testSendRequestHeaders),
  285. ("testSendRequestHeadersFromActive", testSendRequestHeadersFromActive),
  286. ("testSendRequestHeadersFromClientActiveServerIdle", testSendRequestHeadersFromClientActiveServerIdle),
  287. ("testSendRequestHeadersFromClientClosedServerActive", testSendRequestHeadersFromClientClosedServerActive),
  288. ("testSendRequestHeadersFromClientClosedServerIdle", testSendRequestHeadersFromClientClosedServerIdle),
  289. ("testSendRequestHeadersFromClosed", testSendRequestHeadersFromClosed),
  290. ("testSendRequestHeadersFromIdle", testSendRequestHeadersFromIdle),
  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 GRPCStatusCodeTests {
  345. // DO NOT MODIFY: This is autogenerated, use:
  346. // `swift test --generate-linuxmain`
  347. // to regenerate.
  348. static let __allTests__GRPCStatusCodeTests = [
  349. ("testBadGateway", testBadGateway),
  350. ("testBadRequest", testBadRequest),
  351. ("testForbidden", testForbidden),
  352. ("testGatewayTimeout", testGatewayTimeout),
  353. ("testNotFound", testNotFound),
  354. ("testServiceUnavailable", testServiceUnavailable),
  355. ("testStatusCodeAndMessageAreRespectedForNon200Responses", testStatusCodeAndMessageAreRespectedForNon200Responses),
  356. ("testTooManyRequests", testTooManyRequests),
  357. ("testUnauthorized", testUnauthorized),
  358. ]
  359. }
  360. extension GRPCStatusMessageMarshallerTests {
  361. // DO NOT MODIFY: This is autogenerated, use:
  362. // `swift test --generate-linuxmain`
  363. // to regenerate.
  364. static let __allTests__GRPCStatusMessageMarshallerTests = [
  365. ("testASCIIMarshallingAndUnmarshalling", testASCIIMarshallingAndUnmarshalling),
  366. ("testPercentMarshallingAndUnmarshalling", testPercentMarshallingAndUnmarshalling),
  367. ("testUnicodeMarshalling", testUnicodeMarshalling),
  368. ]
  369. }
  370. extension GRPCStatusTests {
  371. // DO NOT MODIFY: This is autogenerated, use:
  372. // `swift test --generate-linuxmain`
  373. // to regenerate.
  374. static let __allTests__GRPCStatusTests = [
  375. ("testStatusDescriptionWithMessage", testStatusDescriptionWithMessage),
  376. ("testStatusDescriptionWithoutMessage", testStatusDescriptionWithoutMessage),
  377. ]
  378. }
  379. extension GRPCTimeoutTests {
  380. // DO NOT MODIFY: This is autogenerated, use:
  381. // `swift test --generate-linuxmain`
  382. // to regenerate.
  383. static let __allTests__GRPCTimeoutTests = [
  384. ("testNegativeTimeoutThrows", testNegativeTimeoutThrows),
  385. ("testRoundingHoursTimeout", testRoundingHoursTimeout),
  386. ("testRoundingMicrosecondsTimeout", testRoundingMicrosecondsTimeout),
  387. ("testRoundingMillisecondsTimeout", testRoundingMillisecondsTimeout),
  388. ("testRoundingMinutesTimeout", testRoundingMinutesTimeout),
  389. ("testRoundingNanosecondsTimeout", testRoundingNanosecondsTimeout),
  390. ("testRoundingNegativeTimeout", testRoundingNegativeTimeout),
  391. ("testRoundingSecondsTimeout", testRoundingSecondsTimeout),
  392. ("testTooLargeTimeout", testTooLargeTimeout),
  393. ]
  394. }
  395. extension GRPCTypeSizeTests {
  396. // DO NOT MODIFY: This is autogenerated, use:
  397. // `swift test --generate-linuxmain`
  398. // to regenerate.
  399. static let __allTests__GRPCTypeSizeTests = [
  400. ("testGRPCClientRequestPart", testGRPCClientRequestPart),
  401. ("testGRPCClientResponsePart", testGRPCClientResponsePart),
  402. ("testGRPCStatus", testGRPCStatus),
  403. ]
  404. }
  405. extension HTTP1ToRawGRPCServerCodecTests {
  406. // DO NOT MODIFY: This is autogenerated, use:
  407. // `swift test --generate-linuxmain`
  408. // to regenerate.
  409. static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
  410. ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
  411. ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
  412. ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
  413. ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
  414. ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
  415. ]
  416. }
  417. extension ImmediatelyFailingProviderTests {
  418. // DO NOT MODIFY: This is autogenerated, use:
  419. // `swift test --generate-linuxmain`
  420. // to regenerate.
  421. static let __allTests__ImmediatelyFailingProviderTests = [
  422. ("testBidirectionalStreaming", testBidirectionalStreaming),
  423. ("testClientStreaming", testClientStreaming),
  424. ("testServerStreaming", testServerStreaming),
  425. ("testUnary", testUnary),
  426. ]
  427. }
  428. extension LengthPrefixedMessageReaderTests {
  429. // DO NOT MODIFY: This is autogenerated, use:
  430. // `swift test --generate-linuxmain`
  431. // to regenerate.
  432. static let __allTests__LengthPrefixedMessageReaderTests = [
  433. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  434. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  435. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  436. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  437. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  438. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  439. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  440. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  441. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  442. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  443. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  444. ("testNextMessageThrowsWhenCompressionMechanismIsNotSupported", testNextMessageThrowsWhenCompressionMechanismIsNotSupported),
  445. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  446. ]
  447. }
  448. extension PlatformSupportTests {
  449. // DO NOT MODIFY: This is autogenerated, use:
  450. // `swift test --generate-linuxmain`
  451. // to regenerate.
  452. static let __allTests__PlatformSupportTests = [
  453. ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
  454. ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
  455. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
  456. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
  457. ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
  458. ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
  459. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
  460. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
  461. ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
  462. ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
  463. ]
  464. }
  465. extension ReadStateTests {
  466. // DO NOT MODIFY: This is autogenerated, use:
  467. // `swift test --generate-linuxmain`
  468. // to regenerate.
  469. static let __allTests__ReadStateTests = [
  470. ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
  471. ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
  472. ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
  473. ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
  474. ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
  475. ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
  476. ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
  477. ]
  478. }
  479. extension ServerDelayedThrowingTests {
  480. // DO NOT MODIFY: This is autogenerated, use:
  481. // `swift test --generate-linuxmain`
  482. // to regenerate.
  483. static let __allTests__ServerDelayedThrowingTests = [
  484. ("testBidirectionalStreaming", testBidirectionalStreaming),
  485. ("testClientStreaming", testClientStreaming),
  486. ("testServerStreaming", testServerStreaming),
  487. ("testUnary", testUnary),
  488. ]
  489. }
  490. extension ServerErrorTransformingTests {
  491. // DO NOT MODIFY: This is autogenerated, use:
  492. // `swift test --generate-linuxmain`
  493. // to regenerate.
  494. static let __allTests__ServerErrorTransformingTests = [
  495. ("testBidirectionalStreaming", testBidirectionalStreaming),
  496. ("testClientStreaming", testClientStreaming),
  497. ("testServerStreaming", testServerStreaming),
  498. ("testUnary", testUnary),
  499. ]
  500. }
  501. extension ServerThrowingTests {
  502. // DO NOT MODIFY: This is autogenerated, use:
  503. // `swift test --generate-linuxmain`
  504. // to regenerate.
  505. static let __allTests__ServerThrowingTests = [
  506. ("testBidirectionalStreaming", testBidirectionalStreaming),
  507. ("testClientStreaming", testClientStreaming),
  508. ("testServerStreaming", testServerStreaming),
  509. ("testUnary", testUnary),
  510. ]
  511. }
  512. extension ServerWebTests {
  513. // DO NOT MODIFY: This is autogenerated, use:
  514. // `swift test --generate-linuxmain`
  515. // to regenerate.
  516. static let __allTests__ServerWebTests = [
  517. ("testServerStreaming", testServerStreaming),
  518. ("testUnary", testUnary),
  519. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  520. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  521. ]
  522. }
  523. extension StopwatchTests {
  524. // DO NOT MODIFY: This is autogenerated, use:
  525. // `swift test --generate-linuxmain`
  526. // to regenerate.
  527. static let __allTests__StopwatchTests = [
  528. ("testElapsed", testElapsed),
  529. ]
  530. }
  531. extension StreamingRequestClientCallTests {
  532. // DO NOT MODIFY: This is autogenerated, use:
  533. // `swift test --generate-linuxmain`
  534. // to regenerate.
  535. static let __allTests__StreamingRequestClientCallTests = [
  536. ("testSendMessages", testSendMessages),
  537. ]
  538. }
  539. public func __allTests() -> [XCTestCaseEntry] {
  540. return [
  541. testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
  542. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  543. testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
  544. testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
  545. testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
  546. testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
  547. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  548. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  549. testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
  550. testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
  551. testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
  552. testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
  553. testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
  554. testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
  555. testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
  556. testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
  557. testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
  558. testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
  559. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  560. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  561. testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
  562. testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
  563. testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
  564. testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
  565. testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
  566. testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
  567. testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
  568. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  569. testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
  570. testCase(ReadStateTests.__allTests__ReadStateTests),
  571. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  572. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  573. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  574. testCase(ServerWebTests.__allTests__ServerWebTests),
  575. testCase(StopwatchTests.__allTests__StopwatchTests),
  576. testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
  577. ]
  578. }
  579. #endif