XCTestManifests.swift 35 KB

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