XCTestManifests.swift 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  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. ("testRawGRPCClientRequestPart", testRawGRPCClientRequestPart),
  404. ("testRawGRPCClientResponsePart", testRawGRPCClientResponsePart),
  405. ]
  406. }
  407. extension HTTP1ToRawGRPCServerCodecTests {
  408. // DO NOT MODIFY: This is autogenerated, use:
  409. // `swift test --generate-linuxmain`
  410. // to regenerate.
  411. static let __allTests__HTTP1ToRawGRPCServerCodecTests = [
  412. ("testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized", testInternalErrorStatusIsReturnedIfMessageCannotBeDeserialized),
  413. ("testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest", testInternalErrorStatusIsReturnedWhenSendingTrailersInRequest),
  414. ("testInternalErrorStatusReturnedWhenCompressionFlagIsSet", testInternalErrorStatusReturnedWhenCompressionFlagIsSet),
  415. ("testMessageCanBeSentAcrossMultipleByteBuffers", testMessageCanBeSentAcrossMultipleByteBuffers),
  416. ("testOnlyOneStatusIsReturned", testOnlyOneStatusIsReturned),
  417. ]
  418. }
  419. extension ImmediatelyFailingProviderTests {
  420. // DO NOT MODIFY: This is autogenerated, use:
  421. // `swift test --generate-linuxmain`
  422. // to regenerate.
  423. static let __allTests__ImmediatelyFailingProviderTests = [
  424. ("testBidirectionalStreaming", testBidirectionalStreaming),
  425. ("testClientStreaming", testClientStreaming),
  426. ("testServerStreaming", testServerStreaming),
  427. ("testUnary", testUnary),
  428. ]
  429. }
  430. extension LengthPrefixedMessageReaderTests {
  431. // DO NOT MODIFY: This is autogenerated, use:
  432. // `swift test --generate-linuxmain`
  433. // to regenerate.
  434. static let __allTests__LengthPrefixedMessageReaderTests = [
  435. ("testAppendReadsAllBytes", testAppendReadsAllBytes),
  436. ("testNextMessageDeliveredAcrossMultipleByteBuffers", testNextMessageDeliveredAcrossMultipleByteBuffers),
  437. ("testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet", testNextMessageDoesNotThrowWhenCompressionFlagIsExpectedButNotSet),
  438. ("testNextMessageReturnsMessageForZeroLengthMessage", testNextMessageReturnsMessageForZeroLengthMessage),
  439. ("testNextMessageReturnsMessageIsAppendedInOneBuffer", testNextMessageReturnsMessageIsAppendedInOneBuffer),
  440. ("testNextMessageReturnsNilWhenNoBytesAppended", testNextMessageReturnsNilWhenNoBytesAppended),
  441. ("testNextMessageReturnsNilWhenNoMessageBytesAreAvailable", testNextMessageReturnsNilWhenNoMessageBytesAreAvailable),
  442. ("testNextMessageReturnsNilWhenNoMessageLengthIsAvailable", testNextMessageReturnsNilWhenNoMessageLengthIsAvailable),
  443. ("testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable", testNextMessageReturnsNilWhenNotAllMessageBytesAreAvailable),
  444. ("testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable", testNextMessageReturnsNilWhenNotAllMessageLengthIsAvailable),
  445. ("testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected", testNextMessageThrowsWhenCompressionFlagIsSetButNotExpected),
  446. ("testNextMessageThrowsWhenCompressionMechanismIsNotSupported", testNextMessageThrowsWhenCompressionMechanismIsNotSupported),
  447. ("testNextMessageWhenMultipleMessagesAreBuffered", testNextMessageWhenMultipleMessagesAreBuffered),
  448. ]
  449. }
  450. extension PlatformSupportTests {
  451. // DO NOT MODIFY: This is autogenerated, use:
  452. // `swift test --generate-linuxmain`
  453. // to regenerate.
  454. static let __allTests__PlatformSupportTests = [
  455. ("testMakeClientBootstrapReturnsClientBootstrapForEventLoop", testMakeClientBootstrapReturnsClientBootstrapForEventLoop),
  456. ("testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup", testMakeClientBootstrapReturnsClientBootstrapForMultiThreadedGroup),
  457. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForNIOTSGroup),
  458. ("testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop", testMakeClientBootstrapReturnsNIOTSConnectionBootstrapForQoSEventLoop),
  459. ("testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix", testMakeEventLoopGroupReturnsMultiThreadedGroupForPosix),
  460. ("testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework", testMakeEventLoopGroupReturnsNIOTSGroupForNetworkFramework),
  461. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForNIOTSGroup),
  462. ("testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop", testMakeServerBootstrapReturnsNIOTSListenerBootstrapForQoSEventLoop),
  463. ("testMakeServerBootstrapReturnsServerBootstrapForEventLoop", testMakeServerBootstrapReturnsServerBootstrapForEventLoop),
  464. ("testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup", testMakeServerBootstrapReturnsServerBootstrapForMultiThreadedGroup),
  465. ]
  466. }
  467. extension ReadStateTests {
  468. // DO NOT MODIFY: This is autogenerated, use:
  469. // `swift test --generate-linuxmain`
  470. // to regenerate.
  471. static let __allTests__ReadStateTests = [
  472. ("testReadManyMessagesForManyExpectedMessages", testReadManyMessagesForManyExpectedMessages),
  473. ("testReadOneMessageForManyExpectedMessages", testReadOneMessageForManyExpectedMessages),
  474. ("testReadOneMessageForOneExpectedMessages", testReadOneMessageForOneExpectedMessages),
  475. ("testReadTooManyMessagesForOneExpectedMessages", testReadTooManyMessagesForOneExpectedMessages),
  476. ("testReadWhenBufferContainsLengthPrefixedJunk", testReadWhenBufferContainsLengthPrefixedJunk),
  477. ("testReadWhenNoExpectedMessages", testReadWhenNoExpectedMessages),
  478. ("testReadWithLeftOverBytesForOneExpectedMessage", testReadWithLeftOverBytesForOneExpectedMessage),
  479. ]
  480. }
  481. extension ServerDelayedThrowingTests {
  482. // DO NOT MODIFY: This is autogenerated, use:
  483. // `swift test --generate-linuxmain`
  484. // to regenerate.
  485. static let __allTests__ServerDelayedThrowingTests = [
  486. ("testBidirectionalStreaming", testBidirectionalStreaming),
  487. ("testClientStreaming", testClientStreaming),
  488. ("testServerStreaming", testServerStreaming),
  489. ("testUnary", testUnary),
  490. ]
  491. }
  492. extension ServerErrorTransformingTests {
  493. // DO NOT MODIFY: This is autogenerated, use:
  494. // `swift test --generate-linuxmain`
  495. // to regenerate.
  496. static let __allTests__ServerErrorTransformingTests = [
  497. ("testBidirectionalStreaming", testBidirectionalStreaming),
  498. ("testClientStreaming", testClientStreaming),
  499. ("testServerStreaming", testServerStreaming),
  500. ("testUnary", testUnary),
  501. ]
  502. }
  503. extension ServerThrowingTests {
  504. // DO NOT MODIFY: This is autogenerated, use:
  505. // `swift test --generate-linuxmain`
  506. // to regenerate.
  507. static let __allTests__ServerThrowingTests = [
  508. ("testBidirectionalStreaming", testBidirectionalStreaming),
  509. ("testClientStreaming", testClientStreaming),
  510. ("testServerStreaming", testServerStreaming),
  511. ("testUnary", testUnary),
  512. ]
  513. }
  514. extension ServerWebTests {
  515. // DO NOT MODIFY: This is autogenerated, use:
  516. // `swift test --generate-linuxmain`
  517. // to regenerate.
  518. static let __allTests__ServerWebTests = [
  519. ("testServerStreaming", testServerStreaming),
  520. ("testUnary", testUnary),
  521. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  522. ("testUnaryWithoutRequestMessage", testUnaryWithoutRequestMessage),
  523. ]
  524. }
  525. extension StopwatchTests {
  526. // DO NOT MODIFY: This is autogenerated, use:
  527. // `swift test --generate-linuxmain`
  528. // to regenerate.
  529. static let __allTests__StopwatchTests = [
  530. ("testElapsed", testElapsed),
  531. ]
  532. }
  533. extension StreamingRequestClientCallTests {
  534. // DO NOT MODIFY: This is autogenerated, use:
  535. // `swift test --generate-linuxmain`
  536. // to regenerate.
  537. static let __allTests__StreamingRequestClientCallTests = [
  538. ("testSendMessages", testSendMessages),
  539. ]
  540. }
  541. public func __allTests() -> [XCTestCaseEntry] {
  542. return [
  543. testCase(AnyServiceClientTests.__allTests__AnyServiceClientTests),
  544. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  545. testCase(ClientClosedChannelTests.__allTests__ClientClosedChannelTests),
  546. testCase(ClientConnectionBackoffTests.__allTests__ClientConnectionBackoffTests),
  547. testCase(ClientTLSFailureTests.__allTests__ClientTLSFailureTests),
  548. testCase(ClientTLSHostnameOverrideTests.__allTests__ClientTLSHostnameOverrideTests),
  549. testCase(ClientThrowingWhenServerReturningErrorTests.__allTests__ClientThrowingWhenServerReturningErrorTests),
  550. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  551. testCase(ConnectionBackoffTests.__allTests__ConnectionBackoffTests),
  552. testCase(ConnectivityStateMonitorTests.__allTests__ConnectivityStateMonitorTests),
  553. testCase(FunctionalTestsAnonymousClient.__allTests__FunctionalTestsAnonymousClient),
  554. testCase(FunctionalTestsAnonymousClientNIOTS.__allTests__FunctionalTestsAnonymousClientNIOTS),
  555. testCase(FunctionalTestsInsecureTransport.__allTests__FunctionalTestsInsecureTransport),
  556. testCase(FunctionalTestsInsecureTransportNIOTS.__allTests__FunctionalTestsInsecureTransportNIOTS),
  557. testCase(FunctionalTestsMutualAuthentication.__allTests__FunctionalTestsMutualAuthentication),
  558. testCase(FunctionalTestsMutualAuthenticationNIOTS.__allTests__FunctionalTestsMutualAuthenticationNIOTS),
  559. testCase(GRPCChannelHandlerTests.__allTests__GRPCChannelHandlerTests),
  560. testCase(GRPCClientStateMachineTests.__allTests__GRPCClientStateMachineTests),
  561. testCase(GRPCInsecureInteroperabilityTests.__allTests__GRPCInsecureInteroperabilityTests),
  562. testCase(GRPCSecureInteroperabilityTests.__allTests__GRPCSecureInteroperabilityTests),
  563. testCase(GRPCStatusCodeTests.__allTests__GRPCStatusCodeTests),
  564. testCase(GRPCStatusMessageMarshallerTests.__allTests__GRPCStatusMessageMarshallerTests),
  565. testCase(GRPCStatusTests.__allTests__GRPCStatusTests),
  566. testCase(GRPCTimeoutTests.__allTests__GRPCTimeoutTests),
  567. testCase(GRPCTypeSizeTests.__allTests__GRPCTypeSizeTests),
  568. testCase(HTTP1ToRawGRPCServerCodecTests.__allTests__HTTP1ToRawGRPCServerCodecTests),
  569. testCase(ImmediatelyFailingProviderTests.__allTests__ImmediatelyFailingProviderTests),
  570. testCase(LengthPrefixedMessageReaderTests.__allTests__LengthPrefixedMessageReaderTests),
  571. testCase(PlatformSupportTests.__allTests__PlatformSupportTests),
  572. testCase(ReadStateTests.__allTests__ReadStateTests),
  573. testCase(ServerDelayedThrowingTests.__allTests__ServerDelayedThrowingTests),
  574. testCase(ServerErrorTransformingTests.__allTests__ServerErrorTransformingTests),
  575. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  576. testCase(ServerWebTests.__allTests__ServerWebTests),
  577. testCase(StopwatchTests.__allTests__StopwatchTests),
  578. testCase(StreamingRequestClientCallTests.__allTests__StreamingRequestClientCallTests),
  579. ]
  580. }
  581. #endif