XCTestManifests.swift 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. #if !canImport(ObjectiveC)
  2. import XCTest
  3. extension ChannelArgumentTests {
  4. // DO NOT MODIFY: This is autogenerated, use:
  5. // `swift test --generate-linuxmain`
  6. // to regenerate.
  7. static let __allTests__ChannelArgumentTests = [
  8. ("testArgumentKey", testArgumentKey),
  9. ("testBoolArgument", testBoolArgument),
  10. ("testIntegerArgument", testIntegerArgument),
  11. ("testPracticalUse", testPracticalUse),
  12. ("testStringArgument", testStringArgument),
  13. ("testTimeIntervalArgument", testTimeIntervalArgument),
  14. ]
  15. }
  16. extension ChannelConnectivityTests {
  17. // DO NOT MODIFY: This is autogenerated, use:
  18. // `swift test --generate-linuxmain`
  19. // to regenerate.
  20. static let __allTests__ChannelConnectivityTests = [
  21. ("testDanglingConnectivityObserversDontCrash", testDanglingConnectivityObserversDontCrash),
  22. ("testMultipleConnectivityObserversAreCalled", testMultipleConnectivityObserversAreCalled),
  23. ]
  24. }
  25. extension ChannelShutdownTests {
  26. // DO NOT MODIFY: This is autogenerated, use:
  27. // `swift test --generate-linuxmain`
  28. // to regenerate.
  29. static let __allTests__ChannelShutdownTests = [
  30. ("testCallCloseAndReceiveThrowsWhenChannelIsShutDown", testCallCloseAndReceiveThrowsWhenChannelIsShutDown),
  31. ("testCallCloseThrowsWhenChannelIsShutDown", testCallCloseThrowsWhenChannelIsShutDown),
  32. ("testCallReceiveThrowsWhenChannelIsShutDown", testCallReceiveThrowsWhenChannelIsShutDown),
  33. ("testCallSendThrowsWhenChannelIsShutDown", testCallSendThrowsWhenChannelIsShutDown),
  34. ("testCancelsActiveCallWhenShutdownIsCalled", testCancelsActiveCallWhenShutdownIsCalled),
  35. ("testThrowsWhenCreatingCallWithAlreadyShutDownChannel", testThrowsWhenCreatingCallWithAlreadyShutDownChannel),
  36. ]
  37. }
  38. extension ClientCancellingTests {
  39. // DO NOT MODIFY: This is autogenerated, use:
  40. // `swift test --generate-linuxmain`
  41. // to regenerate.
  42. static let __allTests__ClientCancellingTests = [
  43. ("testBidirectionalStreaming", testBidirectionalStreaming),
  44. ("testClientStreaming", testClientStreaming),
  45. ("testServerStreaming", testServerStreaming),
  46. ("testUnary", testUnary),
  47. ]
  48. }
  49. extension ClientTestExample {
  50. // DO NOT MODIFY: This is autogenerated, use:
  51. // `swift test --generate-linuxmain`
  52. // to regenerate.
  53. static let __allTests__ClientTestExample = [
  54. ("testBidirectionalStreaming", testBidirectionalStreaming),
  55. ("testClientStreaming", testClientStreaming),
  56. ("testServerStreaming", testServerStreaming),
  57. ("testUnary", testUnary),
  58. ]
  59. }
  60. extension ClientTimeoutTests {
  61. // DO NOT MODIFY: This is autogenerated, use:
  62. // `swift test --generate-linuxmain`
  63. // to regenerate.
  64. static let __allTests__ClientTimeoutTests = [
  65. ("testBidirectionalStreamingTimeoutPassedToReceiveMethod", testBidirectionalStreamingTimeoutPassedToReceiveMethod),
  66. ("testClientStreamingTimeoutAfterSending", testClientStreamingTimeoutAfterSending),
  67. ("testClientStreamingTimeoutBeforeSending", testClientStreamingTimeoutBeforeSending),
  68. ]
  69. }
  70. extension CompletionQueueTests {
  71. // DO NOT MODIFY: This is autogenerated, use:
  72. // `swift test --generate-linuxmain`
  73. // to regenerate.
  74. static let __allTests__CompletionQueueTests = [
  75. ("testCompletionQueueThrowsAfterShutdown", testCompletionQueueThrowsAfterShutdown),
  76. ]
  77. }
  78. extension ConnectionFailureTests {
  79. // DO NOT MODIFY: This is autogenerated, use:
  80. // `swift test --generate-linuxmain`
  81. // to regenerate.
  82. static let __allTests__ConnectionFailureTests = [
  83. ("testConnectionFailureBidirectionalStreaming", testConnectionFailureBidirectionalStreaming),
  84. ("testConnectionFailureClientStreaming", testConnectionFailureClientStreaming),
  85. ("testConnectionFailureServerStreaming", testConnectionFailureServerStreaming),
  86. ("testConnectionFailureUnary", testConnectionFailureUnary),
  87. ]
  88. }
  89. extension EchoTests {
  90. // DO NOT MODIFY: This is autogenerated, use:
  91. // `swift test --generate-linuxmain`
  92. // to regenerate.
  93. static let __allTests__EchoTests = [
  94. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  95. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  96. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  97. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  98. ("testClientStreaming", testClientStreaming),
  99. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  100. ("testServerStreaming", testServerStreaming),
  101. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  102. ("testUnary", testUnary),
  103. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  104. ]
  105. }
  106. extension EchoTestsMutualAuth {
  107. // DO NOT MODIFY: This is autogenerated, use:
  108. // `swift test --generate-linuxmain`
  109. // to regenerate.
  110. static let __allTests__EchoTestsMutualAuth = [
  111. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  112. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  113. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  114. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  115. ("testClientStreaming", testClientStreaming),
  116. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  117. ("testServerStreaming", testServerStreaming),
  118. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  119. ("testUnary", testUnary),
  120. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  121. ]
  122. }
  123. extension EchoTestsSecure {
  124. // DO NOT MODIFY: This is autogenerated, use:
  125. // `swift test --generate-linuxmain`
  126. // to regenerate.
  127. static let __allTests__EchoTestsSecure = [
  128. ("testBidirectionalStreamingBatched", testBidirectionalStreamingBatched),
  129. ("testBidirectionalStreamingLotsOfMessagesBatched", testBidirectionalStreamingLotsOfMessagesBatched),
  130. ("testBidirectionalStreamingLotsOfMessagesPingPong", testBidirectionalStreamingLotsOfMessagesPingPong),
  131. ("testBidirectionalStreamingPingPong", testBidirectionalStreamingPingPong),
  132. ("testClientStreaming", testClientStreaming),
  133. ("testClientStreamingLotsOfMessages", testClientStreamingLotsOfMessages),
  134. ("testServerStreaming", testServerStreaming),
  135. ("testServerStreamingLotsOfMessages", testServerStreamingLotsOfMessages),
  136. ("testUnary", testUnary),
  137. ("testUnaryLotsOfRequests", testUnaryLotsOfRequests),
  138. ]
  139. }
  140. extension MetadataTests {
  141. // DO NOT MODIFY: This is autogenerated, use:
  142. // `swift test --generate-linuxmain`
  143. // to regenerate.
  144. static let __allTests__MetadataTests = [
  145. ("testCopyDoesNotCorruptData", testCopyDoesNotCorruptData),
  146. ("testExtractData", testExtractData),
  147. ]
  148. }
  149. extension ServerCancellingTests {
  150. // DO NOT MODIFY: This is autogenerated, use:
  151. // `swift test --generate-linuxmain`
  152. // to regenerate.
  153. static let __allTests__ServerCancellingTests = [
  154. ("testServerThrowsBidirectionalStreaming", testServerThrowsBidirectionalStreaming),
  155. ("testServerThrowsClientStreaming", testServerThrowsClientStreaming),
  156. ("testServerThrowsServerStreaming", testServerThrowsServerStreaming),
  157. ("testServerThrowsUnary", testServerThrowsUnary),
  158. ]
  159. }
  160. extension ServerTestExample {
  161. // DO NOT MODIFY: This is autogenerated, use:
  162. // `swift test --generate-linuxmain`
  163. // to regenerate.
  164. static let __allTests__ServerTestExample = [
  165. ("testBidirectionalStreaming", testBidirectionalStreaming),
  166. ("testClientStreaming", testClientStreaming),
  167. ("testServerStreaming", testServerStreaming),
  168. ("testUnary", testUnary),
  169. ]
  170. }
  171. extension ServerThrowingTests {
  172. // DO NOT MODIFY: This is autogenerated, use:
  173. // `swift test --generate-linuxmain`
  174. // to regenerate.
  175. static let __allTests__ServerThrowingTests = [
  176. ("testServerThrowsBidirectionalStreaming", testServerThrowsBidirectionalStreaming),
  177. ("testServerThrowsClientStreaming", testServerThrowsClientStreaming),
  178. ("testServerThrowsServerStreaming", testServerThrowsServerStreaming),
  179. ("testServerThrowsUnary_noTrailingMetadataCorruptionAfterOriginalTrailingMetadataGetsReleased", testServerThrowsUnary_noTrailingMetadataCorruptionAfterOriginalTrailingMetadataGetsReleased),
  180. ("testServerThrowsUnary", testServerThrowsUnary),
  181. ]
  182. }
  183. extension ServerTimeoutTests {
  184. // DO NOT MODIFY: This is autogenerated, use:
  185. // `swift test --generate-linuxmain`
  186. // to regenerate.
  187. static let __allTests__ServerTimeoutTests = [
  188. ("testTimeoutBidirectionalStreaming", testTimeoutBidirectionalStreaming),
  189. ("testTimeoutClientStreaming", testTimeoutClientStreaming),
  190. ("testTimeoutServerStreaming", testTimeoutServerStreaming),
  191. ("testTimeoutUnary", testTimeoutUnary),
  192. ]
  193. }
  194. extension ServiceClientTests {
  195. // DO NOT MODIFY: This is autogenerated, use:
  196. // `swift test --generate-linuxmain`
  197. // to regenerate.
  198. static let __allTests__ServiceClientTests = [
  199. ("testSharedChannelStillWorksAfterFirstUnaryClientCompletes", testSharedChannelStillWorksAfterFirstUnaryClientCompletes),
  200. ("testSharingChannelBetweenClientsUnaryAsync", testSharingChannelBetweenClientsUnaryAsync),
  201. ]
  202. }
  203. extension gRPCTests {
  204. // DO NOT MODIFY: This is autogenerated, use:
  205. // `swift test --generate-linuxmain`
  206. // to regenerate.
  207. static let __allTests__gRPCTests = [
  208. ("testConnectivity", testConnectivity),
  209. ("testConnectivitySecure", testConnectivitySecure),
  210. ]
  211. }
  212. public func __allTests() -> [XCTestCaseEntry] {
  213. return [
  214. testCase(ChannelArgumentTests.__allTests__ChannelArgumentTests),
  215. testCase(ChannelConnectivityTests.__allTests__ChannelConnectivityTests),
  216. testCase(ChannelShutdownTests.__allTests__ChannelShutdownTests),
  217. testCase(ClientCancellingTests.__allTests__ClientCancellingTests),
  218. testCase(ClientTestExample.__allTests__ClientTestExample),
  219. testCase(ClientTimeoutTests.__allTests__ClientTimeoutTests),
  220. testCase(CompletionQueueTests.__allTests__CompletionQueueTests),
  221. testCase(ConnectionFailureTests.__allTests__ConnectionFailureTests),
  222. testCase(EchoTests.__allTests__EchoTests),
  223. testCase(EchoTestsMutualAuth.__allTests__EchoTestsMutualAuth),
  224. testCase(EchoTestsSecure.__allTests__EchoTestsSecure),
  225. testCase(MetadataTests.__allTests__MetadataTests),
  226. testCase(ServerCancellingTests.__allTests__ServerCancellingTests),
  227. testCase(ServerTestExample.__allTests__ServerTestExample),
  228. testCase(ServerThrowingTests.__allTests__ServerThrowingTests),
  229. testCase(ServerTimeoutTests.__allTests__ServerTimeoutTests),
  230. testCase(ServiceClientTests.__allTests__ServiceClientTests),
  231. testCase(gRPCTests.__allTests__gRPCTests),
  232. ]
  233. }
  234. #endif