mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-07 12:56:47 +00:00
3c5fb5f879
Change the protoc flags such that when one of our test .proto files imports another, the filename is consistently specified relative to the module root. Change-Id: I690282795cef23347c8794c1c6357e4fe9560d8a Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/217762 Reviewed-by: Joe Tsai <joetsai@google.com>
25 lines
1.0 KiB
Protocol Buffer
25 lines
1.0 KiB
Protocol Buffer
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
syntax = "proto2";
|
|
|
|
package goproto.proto.fuzz;
|
|
|
|
import "internal/testprotos/test/test.proto";
|
|
import "internal/testprotos/test3/test.proto";
|
|
|
|
option go_package = "google.golang.org/protobuf/internal/testprotos/fuzz";
|
|
|
|
// Fuzz is a container for every message we want to make available to the fuzzer.
|
|
message Fuzz {
|
|
optional goproto.proto.test.TestAllTypes test_all_types = 1;
|
|
optional goproto.proto.test.TestAllExtensions test_all_extensions = 2;
|
|
optional goproto.proto.test.TestRequired test_required = 3;
|
|
optional goproto.proto.test.TestRequiredForeign test_required_foreign = 4;
|
|
optional goproto.proto.test.TestRequiredGroupFields test_required_group_fields = 5;
|
|
optional goproto.proto.test.TestPackedTypes test_packed_types = 6;
|
|
optional goproto.proto.test.TestPackedExtensions test_packed_extensions = 7;
|
|
optional goproto.proto.test3.TestAllTypes test_all_types3 = 8;
|
|
}
|