mirror of https://github.com/grpc/grpc.git
Merge pull request #23375 from jtattermusch/csharp_proto_collision_test
Add Grpc.Tools test for generating for .proto with the same namereviewable/pr23443/r1^2
commit
c38bbd4b38
2 changed files with 31 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||||
|
// Copyright 2019 The gRPC Authors |
||||||
|
// |
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License"); |
||||||
|
// you may not use this file except in compliance with the License. |
||||||
|
// You may obtain a copy of the License at |
||||||
|
// |
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0 |
||||||
|
// |
||||||
|
// Unless required by applicable law or agreed to in writing, software |
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, |
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||||
|
// See the License for the specific language governing permissions and |
||||||
|
// limitations under the License. |
||||||
|
|
||||||
|
// Test that codegen works well in case the .csproj has .proto files |
||||||
|
// of the same name, but under different directories (see #17672). |
||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package duplicate_proto; |
||||||
|
|
||||||
|
message MessageFromDuplicateProto { |
||||||
|
string name = 1; |
||||||
|
} |
Loading…
Reference in new issue