protobuf-go/testing/protocmp
Joe Tsai c14e7899f9 testing/protocmp: fix reflection handling of extensions
Extensions should be checked based on ContainingMessage,
rather than the Parent. Add tests to ensure this works.

Change-Id: Iaf257f65197fb8d332039bc77a192753f8c4159f
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/221426
Reviewed-by: Damien Neil <dneil@google.com>
2020-02-28 21:49:08 +00:00
..
format.go testing/protocmp: initial commit of cmp helper package 2019-10-30 23:03:12 +00:00
reflect_test.go testing/protocmp: fix reflection handling of extensions 2020-02-28 21:49:08 +00:00
reflect.go testing/protocmp: fix reflection handling of extensions 2020-02-28 21:49:08 +00:00
util_test.go testing/protocmp: automatically promote message values 2020-02-27 23:42:48 +00:00
util.go testing/protocmp: make Message implement proto.Message 2020-02-27 23:32:22 +00:00
xform_test.go proto, internal/protobuild: add test proto template builder 2020-02-03 19:14:55 +00:00
xform.go testing/protocmp: fix reflection handling of extensions 2020-02-28 21:49:08 +00:00