BUILD 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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_binary", "grpc_cc_library", "grpc_cc_test", "grpc_package")
  15. licenses(["notice"]) # Apache v2
  16. grpc_package(name = "test/core/transport/chttp2")
  17. load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
  18. grpc_fuzzer(
  19. name = "hpack_parser_fuzzer",
  20. srcs = ["hpack_parser_fuzzer_test.cc"],
  21. corpus = "hpack_parser_corpus",
  22. tags = ["no_windows"],
  23. deps = [
  24. "//:grpc",
  25. "//test/core/util:grpc_test_util",
  26. ],
  27. )
  28. grpc_cc_test(
  29. name = "alpn_test",
  30. srcs = ["alpn_test.cc"],
  31. language = "C++",
  32. deps = [
  33. "//:gpr",
  34. "//:grpc",
  35. "//test/core/util:grpc_test_util",
  36. ],
  37. )
  38. grpc_cc_test(
  39. name = "bin_decoder_test",
  40. srcs = ["bin_decoder_test.cc"],
  41. language = "C++",
  42. uses_polling = False,
  43. deps = [
  44. "//:gpr",
  45. "//:grpc",
  46. "//test/core/util:grpc_test_util",
  47. ],
  48. )
  49. grpc_cc_test(
  50. name = "bin_encoder_test",
  51. srcs = ["bin_encoder_test.cc"],
  52. language = "C++",
  53. uses_polling = False,
  54. deps = [
  55. "//:gpr",
  56. "//:grpc",
  57. "//test/core/util:grpc_test_util",
  58. ],
  59. )
  60. grpc_cc_test(
  61. name = "context_list_test",
  62. srcs = ["context_list_test.cc"],
  63. external_deps = [
  64. "gtest",
  65. ],
  66. language = "C++",
  67. uses_polling = False,
  68. deps = [
  69. "//:gpr",
  70. "//:grpc",
  71. "//test/core/util:grpc_test_util",
  72. ],
  73. )
  74. grpc_cc_test(
  75. name = "hpack_encoder_test",
  76. srcs = ["hpack_encoder_test.cc"],
  77. language = "C++",
  78. uses_polling = False,
  79. deps = [
  80. "//:gpr",
  81. "//:grpc",
  82. "//test/core/util:grpc_test_util",
  83. ],
  84. )
  85. grpc_cc_test(
  86. name = "hpack_parser_test",
  87. srcs = ["hpack_parser_test.cc"],
  88. language = "C++",
  89. uses_polling = False,
  90. deps = [
  91. "//:gpr",
  92. "//:grpc",
  93. "//test/core/util:grpc_test_util",
  94. ],
  95. )
  96. grpc_cc_test(
  97. name = "hpack_table_test",
  98. srcs = ["hpack_table_test.cc"],
  99. language = "C++",
  100. uses_polling = False,
  101. deps = [
  102. "//:gpr",
  103. "//:grpc",
  104. "//test/core/util:grpc_test_util",
  105. ],
  106. )
  107. grpc_cc_test(
  108. name = "stream_map_test",
  109. srcs = ["stream_map_test.cc"],
  110. language = "C++",
  111. deps = [
  112. "//:gpr",
  113. "//:grpc",
  114. "//test/core/util:grpc_test_util",
  115. ],
  116. )
  117. grpc_cc_test(
  118. name = "settings_timeout_test",
  119. srcs = ["settings_timeout_test.cc"],
  120. external_deps = [
  121. "gtest",
  122. ],
  123. language = "C++",
  124. deps = [
  125. "//:gpr",
  126. "//:grpc",
  127. "//test/core/util:grpc_test_util",
  128. ],
  129. )
  130. grpc_cc_test(
  131. name = "varint_test",
  132. srcs = ["varint_test.cc"],
  133. language = "C++",
  134. uses_polling = False,
  135. deps = [
  136. "//:gpr",
  137. "//:grpc",
  138. "//test/core/util:grpc_test_util",
  139. ],
  140. )