(t *testing.T)
| 712 | } |
| 713 | |
| 714 | func TestBindingProtoBuf(t *testing.T) { |
| 715 | test := &protoexample.Test{ |
| 716 | Label: proto.String("yes"), |
| 717 | } |
| 718 | data, _ := proto.Marshal(test) |
| 719 | |
| 720 | testProtoBodyBinding(t, |
| 721 | ProtoBuf, "protobuf", |
| 722 | "/", "/", |
| 723 | string(data), string(data[1:])) |
| 724 | } |
| 725 | |
| 726 | func TestBindingProtoBufFail(t *testing.T) { |
| 727 | test := &protoexample.Test{ |
nothing calls this directly
no test coverage detected