XCTestManifests.swift 34 KB

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