Home | History | Annotate | Download | only in slice
      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 
     15 load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package")
     16 
     17 grpc_package(name = "test/core/slice")
     18 
     19 licenses(["notice"])  # Apache v2
     20 
     21 load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
     22 
     23 grpc_fuzzer(
     24     name = "percent_encode_fuzzer",
     25     srcs = ["percent_encode_fuzzer.cc"],
     26     corpus = "percent_encode_corpus",
     27     language = "C++",
     28     deps = [
     29         "//:gpr",
     30         "//:grpc",
     31         "//test/core/util:grpc_test_util",
     32     ],
     33 )
     34 
     35 grpc_fuzzer(
     36     name = "percent_decode_fuzzer",
     37     srcs = ["percent_decode_fuzzer.cc"],
     38     corpus = "percent_decode_corpus",
     39     language = "C++",
     40     deps = [
     41         "//:gpr",
     42         "//:grpc",
     43         "//test/core/util:grpc_test_util",
     44     ],
     45 )
     46 
     47 grpc_cc_test(
     48     name = "percent_encoding_test",
     49     srcs = ["percent_encoding_test.cc"],
     50     language = "C++",
     51     deps = [
     52         "//:gpr",
     53         "//:grpc",
     54         "//test/core/util:gpr_test_util",
     55         "//test/core/util:grpc_test_util",
     56     ],
     57 )
     58 
     59 grpc_cc_test(
     60     name = "slice_test",
     61     srcs = ["slice_test.cc"],
     62     language = "C++",
     63     deps = [
     64         "//:gpr",
     65         "//:grpc",
     66         "//test/core/util:gpr_test_util",
     67         "//test/core/util:grpc_test_util",
     68     ],
     69 )
     70 
     71 grpc_cc_test(
     72     name = "slice_string_helpers_test",
     73     srcs = ["slice_string_helpers_test.cc"],
     74     language = "C++",
     75     deps = [
     76         "//:gpr",
     77         "//:grpc",
     78         "//test/core/util:gpr_test_util",
     79         "//test/core/util:grpc_test_util",
     80     ],
     81 )
     82 
     83 grpc_cc_test(
     84     name = "slice_buffer_test",
     85     srcs = ["slice_buffer_test.cc"],
     86     language = "C++",
     87     deps = [
     88         "//:gpr",
     89         "//:grpc",
     90         "//test/core/util:gpr_test_util",
     91         "//test/core/util:grpc_test_util",
     92     ],
     93 )
     94 
     95 grpc_cc_test(
     96     name = "slice_hash_table_test",
     97     srcs = ["slice_hash_table_test.cc"],
     98     external_deps = [
     99         "gtest",
    100     ],
    101     language = "C++",
    102     deps = [
    103         "//:gpr",
    104         "//:grpc",
    105         "//test/core/util:gpr_test_util",
    106         "//test/core/util:grpc_test_util",
    107     ],
    108 )
    109 
    110 grpc_cc_test(
    111     name = "slice_weak_hash_table_test",
    112     srcs = ["slice_weak_hash_table_test.cc"],
    113     external_deps = [
    114         "gtest",
    115     ],
    116     language = "C++",
    117     deps = [
    118         "//:gpr",
    119         "//:grpc",
    120         "//test/core/util:gpr_test_util",
    121         "//test/core/util:grpc_test_util",
    122     ],
    123 )
    124 
    125 grpc_cc_test(
    126     name = "b64_test",
    127     srcs = ["b64_test.cc"],
    128     language = "C++",
    129     deps = [
    130         "//:gpr",
    131         "//:grpc",
    132         "//test/core/util:gpr_test_util",
    133         "//test/core/util:grpc_test_util",
    134     ],
    135 )
    136