BUILD 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. # Copyright 2017 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. licenses(["notice"])
  16. grpc_package(name = "test/core/transport")
  17. grpc_cc_test(
  18. name = "bdp_estimator_test",
  19. srcs = ["bdp_estimator_test.cc"],
  20. external_deps = [
  21. "gtest",
  22. ],
  23. language = "C++",
  24. tags = ["no_windows"], # TODO(jtattermusch): investigate the timeout on windows
  25. uses_polling = False,
  26. deps = [
  27. "//:gpr",
  28. "//:grpc",
  29. "//test/core/util:grpc_test_util",
  30. ],
  31. )
  32. grpc_cc_test(
  33. name = "byte_stream_test",
  34. srcs = ["byte_stream_test.cc"],
  35. external_deps = [
  36. "gtest",
  37. ],
  38. language = "C++",
  39. uses_polling = False,
  40. deps = [
  41. "//:gpr",
  42. "//:grpc",
  43. "//test/core/util:grpc_test_util",
  44. ],
  45. )
  46. grpc_cc_test(
  47. name = "connectivity_state_test",
  48. srcs = ["connectivity_state_test.cc"],
  49. external_deps = [
  50. "gtest",
  51. ],
  52. language = "C++",
  53. deps = [
  54. "//:gpr",
  55. "//:grpc",
  56. "//test/core/util:grpc_test_util",
  57. ],
  58. )
  59. grpc_cc_test(
  60. name = "error_utils_test",
  61. srcs = ["error_utils_test.cc"],
  62. external_deps = [
  63. "gtest",
  64. ],
  65. language = "C++",
  66. deps = [
  67. "//:gpr",
  68. "//:grpc",
  69. "//test/core/util:grpc_test_util",
  70. ],
  71. )
  72. grpc_cc_test(
  73. name = "metadata_map_test",
  74. srcs = ["metadata_map_test.cc"],
  75. external_deps = [
  76. "gtest",
  77. ],
  78. language = "C++",
  79. deps = [
  80. "//:gpr",
  81. "//:grpc",
  82. "//test/core/util:grpc_test_util",
  83. ],
  84. )
  85. grpc_cc_test(
  86. name = "parsed_metadata_test",
  87. srcs = ["parsed_metadata_test.cc"],
  88. external_deps = [
  89. "gtest",
  90. ],
  91. language = "C++",
  92. deps = [
  93. "//:gpr",
  94. "//:grpc",
  95. "//test/core/util:grpc_test_util",
  96. ],
  97. )
  98. grpc_cc_test(
  99. name = "pid_controller_test",
  100. srcs = ["pid_controller_test.cc"],
  101. external_deps = [
  102. "gtest",
  103. ],
  104. language = "C++",
  105. deps = [
  106. "//:gpr",
  107. "//:grpc",
  108. "//test/core/util:grpc_test_util",
  109. ],
  110. )
  111. grpc_cc_test(
  112. name = "status_conversion_test",
  113. srcs = ["status_conversion_test.cc"],
  114. language = "C++",
  115. uses_polling = False,
  116. deps = [
  117. "//:gpr",
  118. "//:grpc",
  119. "//test/core/util:grpc_test_util",
  120. ],
  121. )
  122. grpc_cc_test(
  123. name = "timeout_encoding_test",
  124. srcs = ["timeout_encoding_test.cc"],
  125. external_deps = [
  126. "gtest",
  127. ],
  128. language = "C++",
  129. uses_polling = False,
  130. deps = [
  131. "//:gpr",
  132. "//:grpc",
  133. "//test/core/util:grpc_test_util",
  134. ],
  135. )