protobuf-go/proto
Damien Neil c7aa53a3e0 proto: refactor merge tests
Use protobuild to generate test messages, both to simplify generating
proto2/proto3/extension variants of each test where appropriate and
to make it easier to test alternative message generators in the future.

Add various additional merge tests.

Change-Id: I4ba3ce232304e1d8325543680e2b6aae61de7364
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/219146
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-02-12 19:41:50 +00:00
..
bench_test.go all: remove APIv1 dependency 2020-01-09 18:06:30 +00:00
decode_gen.go proto: consistently use non-nil, zero-length []bytes for empty bytes strings 2019-12-09 17:33:50 +00:00
decode_test.go encoding: add Format helper function and method 2020-01-30 07:50:58 +00:00
decode.go proto, internal/errors: add Error sentinel, errors.Wrap 2020-02-07 21:09:48 +00:00
doc.go proto: add package docs 2020-02-09 08:35:44 +00:00
encode_gen.go
encode_test.go encoding: add Format helper function and method 2020-01-30 07:50:58 +00:00
encode.go runtime/protoiface: use more efficient options representation 2020-01-28 23:33:31 +00:00
equal_test.go proto, internal/protobuild: add test proto template builder 2020-02-03 19:14:55 +00:00
equal.go proto: fix equality on nil values of different types 2020-01-06 23:36:47 +00:00
extension_test.go proto, internal/protobuild: add test proto template builder 2020-02-03 19:14:55 +00:00
extension.go
isinit_test.go encoding: add Format helper function and method 2020-01-30 07:50:58 +00:00
isinit.go
merge_test.go proto: refactor merge tests 2020-02-12 19:41:50 +00:00
merge.go proto: remove shallow merge support, and MergeOptions 2020-02-12 19:18:33 +00:00
messageset_test.go internal/impl: validate messagesets 2020-02-07 20:06:04 +00:00
messageset.go proto, internal/errors: add Error sentinel, errors.Wrap 2020-02-07 21:09:48 +00:00
methods_test.go all: do best-effort initialization check on fast path unmarshal 2020-01-22 20:57:14 +00:00
noenforceutf8_test.go proto: rearrange test messages 2019-12-16 21:49:56 +00:00
proto_methods.go all: add ProtoMethods method to protoreflect.Message 2020-01-21 21:05:54 +00:00
proto_reflect.go proto: reset message by default in Unmarshal 2019-09-17 21:13:42 +00:00
proto.go proto, internal/errors: add Error sentinel, errors.Wrap 2020-02-07 21:09:48 +00:00
reset_test.go
reset.go proto: document reset memory aliasing guarantees 2020-02-12 18:11:04 +00:00
size_gen.go
size.go proto: add MarshalState, UnmarshalState 2020-01-22 20:52:17 +00:00
testmessages_test.go proto: refactor merge tests 2020-02-12 19:41:50 +00:00
validate_test.go internal/impl: refactor validation a bit 2020-02-05 05:32:50 +00:00
weak_test.go proto: refactor merge tests 2020-02-12 19:41:50 +00:00
wrappers.go