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 15load("//bazel:grpc_build_system.bzl", "grpc_sh_test") 16 17licenses(["notice"]) 18 19grpc_sh_test( 20 name = "csharp_codegen_simple_test", 21 size = "small", 22 srcs = ["csharp_codegen_simple_test.sh"], 23 data = [ 24 "simple/expected/HelloworldGrpc.cs", 25 "simple/proto/helloworld.proto", 26 "//src/compiler:grpc_csharp_plugin", 27 "@com_google_protobuf//:protoc", 28 ], 29 tags = [ 30 "no_windows", 31 "noasan", 32 "nomsan", 33 "notsan", 34 "noubsan", 35 ], 36 uses_polling = False, 37) 38 39grpc_sh_test( 40 name = "csharp_codegen_deprecated_test", 41 size = "small", 42 srcs = ["csharp_codegen_deprecated_test.sh"], 43 data = [ 44 "deprecated/proto/depmethod.proto", 45 "deprecated/proto/depnothing.proto", 46 "deprecated/proto/depservice.proto", 47 "//src/compiler:grpc_csharp_plugin", 48 "@com_google_protobuf//:protoc", 49 ], 50 tags = [ 51 "no_windows", 52 "noasan", 53 "nomsan", 54 "notsan", 55 "noubsan", 56 ], 57 uses_polling = False, 58) 59 60grpc_sh_test( 61 name = "csharp_codegen_base_namespace_test", 62 size = "small", 63 srcs = ["csharp_codegen_base_namespace_test.sh"], 64 data = [ 65 "basenamespace/proto/namespacetest.proto", 66 "//src/compiler:grpc_csharp_plugin", 67 "@com_google_protobuf//:protoc", 68 ], 69 tags = [ 70 "no_windows", 71 "noasan", 72 "nomsan", 73 "notsan", 74 "noubsan", 75 ], 76 uses_polling = False, 77) 78