BUILD 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # Copyright 2016 gRPC authors.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_package")
  15. grpc_package(name = "test/core/channel")
  16. licenses(["notice"])
  17. grpc_cc_test(
  18. name = "channel_args_test",
  19. srcs = ["channel_args_test.cc"],
  20. language = "C++",
  21. uses_polling = False,
  22. deps = [
  23. "//:gpr",
  24. "//:grpc",
  25. "//test/core/util:grpc_test_util",
  26. ],
  27. )
  28. grpc_cc_test(
  29. name = "channel_stack_test",
  30. srcs = ["channel_stack_test.cc"],
  31. language = "C++",
  32. uses_polling = False,
  33. deps = [
  34. "//:gpr",
  35. "//:grpc",
  36. "//test/core/util:grpc_test_util",
  37. ],
  38. )
  39. grpc_cc_test(
  40. name = "channel_stack_builder_test",
  41. srcs = ["channel_stack_builder_test.cc"],
  42. external_deps = [
  43. "gtest",
  44. ],
  45. language = "C++",
  46. deps = [
  47. "//:gpr",
  48. "//:grpc",
  49. "//test/core/util:grpc_test_util",
  50. ],
  51. )
  52. grpc_cc_test(
  53. name = "minimal_stack_is_minimal_test",
  54. srcs = ["minimal_stack_is_minimal_test.cc"],
  55. language = "C++",
  56. uses_polling = False,
  57. deps = [
  58. "//:gpr",
  59. "//:grpc",
  60. "//test/core/util:grpc_test_util",
  61. ],
  62. )
  63. grpc_cc_test(
  64. name = "channel_trace_test",
  65. srcs = ["channel_trace_test.cc"],
  66. external_deps = [
  67. "gtest",
  68. ],
  69. language = "C++",
  70. deps = [
  71. "//:gpr",
  72. "//:grpc",
  73. "//:grpc++",
  74. "//test/core/util:grpc_test_util",
  75. "//test/cpp/util:channel_trace_proto_helper",
  76. ],
  77. )
  78. grpc_cc_test(
  79. name = "channelz_test",
  80. srcs = ["channelz_test.cc"],
  81. external_deps = [
  82. "gtest",
  83. ],
  84. language = "C++",
  85. deps = [
  86. "//:gpr",
  87. "//:grpc",
  88. "//:grpc++",
  89. "//test/core/util:grpc_test_util",
  90. "//test/cpp/util:channel_trace_proto_helper",
  91. ],
  92. )
  93. grpc_cc_test(
  94. name = "channelz_registry_test",
  95. srcs = ["channelz_registry_test.cc"],
  96. external_deps = [
  97. "gtest",
  98. ],
  99. language = "C++",
  100. uses_polling = False,
  101. deps = [
  102. "//:gpr",
  103. "//:grpc",
  104. "//:grpc++",
  105. "//test/core/util:grpc_test_util",
  106. ],
  107. )
  108. grpc_cc_test(
  109. name = "status_util_test",
  110. srcs = ["status_util_test.cc"],
  111. external_deps = [
  112. "gtest",
  113. ],
  114. language = "C++",
  115. uses_polling = False,
  116. deps = [
  117. "//:grpc",
  118. "//test/core/util:grpc_test_util",
  119. ],
  120. )
  121. grpc_cc_test(
  122. name = "call_finalization_test",
  123. srcs = ["call_finalization_test.cc"],
  124. external_deps = [
  125. "gtest",
  126. ],
  127. language = "C++",
  128. deps = [
  129. "//:gpr",
  130. "//:grpc",
  131. "//test/core/promise:test_context",
  132. "//test/core/util:grpc_test_util",
  133. ],
  134. )