2
0

LinuxMain.swift 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright 2017, gRPC Authors All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. import XCTest
  17. @testable import SwiftGRPCTests
  18. @testable import SwiftGRPCNIOTests
  19. XCTMain([
  20. // SwiftGRPC
  21. testCase(gRPCTests.allTests),
  22. testCase(ChannelArgumentTests.allTests),
  23. testCase(ChannelConnectivityTests.allTests),
  24. testCase(ChannelShutdownTests.allTests),
  25. testCase(ClientCancellingTests.allTests),
  26. testCase(ClientTestExample.allTests),
  27. testCase(ClientTimeoutTests.allTests),
  28. testCase(CompletionQueueTests.allTests),
  29. testCase(ConnectionFailureTests.allTests),
  30. testCase(EchoTests.allTests),
  31. testCase(EchoTestsSecure.allTests),
  32. testCase(EchoTestsMutualAuth.allTests),
  33. testCase(MetadataTests.allTests),
  34. testCase(ServerCancellingTests.allTests),
  35. testCase(ServerTestExample.allTests),
  36. testCase(SwiftGRPCTests.ServerThrowingTests.allTests),
  37. testCase(ServerTimeoutTests.allTests),
  38. // SwiftGRPCNIO
  39. testCase(NIOServerTests.allTests),
  40. testCase(SwiftGRPCNIOTests.ServerThrowingTests.allTests),
  41. testCase(SwiftGRPCNIOTests.ServerDelayedThrowingTests.allTests),
  42. testCase(SwiftGRPCNIOTests.ClientThrowingWhenServerReturningErrorTests.allTests),
  43. testCase(NIOClientCancellingTests.allTests),
  44. testCase(NIOClientTimeoutTests.allTests),
  45. testCase(NIOServerWebTests.allTests),
  46. testCase(GRPCChannelHandlerTests.allTests),
  47. testCase(HTTP1ToRawGRPCServerCodecTests.allTests)
  48. ])