Lines Matching refs:Errorf
65 t.Errorf("wrong lengths: 2*%d != %d", len(b1), len(b2))
70 t.Errorf("bad byte[%d]:%x %x: %s %s", i, b1[i], b2[i], b1, b2)
199 t.Errorf("overify marshal-2 err = %v", err)
347 t.Errorf("%s: got err %T(%v) wanted %T", test.name, err, err, test.errType)
350 t.Errorf("%s: got bytes %v wanted %v", test.name, b.Bytes(), test.want)
353 t.Errorf("%s: Size(_) = %v, but marshaled to %v bytes", test.name, size, len(b.Bytes()))
358 t.Errorf("%s: Marshal returned %v, but (*Buffer).Marshal wrote %v", test.name, m, b.Bytes())
361 t.Errorf("%s: Marshal err = %q, but (*Buffer).Marshal returned %q",
381 t.Errorf("Marshal err = %q", err)
402 t.Errorf("needed %dB, allocated %dB total (ratio %.1f), allocated %dB at runtime (ratio %.1f)",
1020 t.Errorf("om = %v, want %v", om, exp)
1026 t.Errorf("Clone(om) = %v, want %v", om, exp)
1039 t.Errorf("NewMessage round-trip: %v => %v", nm, nm2)
1056 t.Errorf("%v marshaled as %q, wanted 11 bytes", om, b)
1068 t.Errorf("nm = %v, want %v", nm, want)
1183 t.Errorf("unexpected Unmarshal error: %v", err)
1189 t.Errorf("unknown bytes mismatch:\ngot %x\nwant %x", m.XXX_unrecognized, unknown)
1195 t.Errorf("message mismatch:\ngot %v\nwant %v", m, want)
1216 t.Errorf("failed non-packed -> packed; np.A=%+v, p.B=%+v", np.A, p.B)
1224 t.Errorf("failed packed -> non-packed; p.B=%+v, np.A=%+v", p.B, np.A)
1280 t.Errorf("marshal: bad error type: %v", err)
1292 t.Errorf("unmarshal: bad error type: %v", err)
1302 t.Errorf("marshal: bad error type: %v", err)
1309 t.Errorf("unmarshal: bad error type: %v", err)
1318 t.Errorf("Marshal(%#v): got %v, want ErrNil", m, err)
1325 t.Errorf("Marshal(%#v): got %v, want errOneofHasNil", m, err)
1397 t.Errorf("SetDefaults failed\n got %v\nwant %v", m, expected)
1408 t.Errorf("m.FInt32 = %v, want 12", v)
1428 t.Errorf("\n got %v\nwant %v", m, expected)
1443 t.Errorf("\n got %v\nwant %v", m, expected)
1454 t.Errorf("\n got %v\nwant %v", m, expected)
1471 t.Errorf("got %q, want %q", got, want)
1492 t.Errorf("got %s\nwant %s", s, expected)
1518 t.Errorf("Unmarshal did not fail")
1520 t.Errorf("wrong error: %v", err)
1581 t.Errorf("two Unmarshals produced %d Messages, want 1", len(pb1.Message))
1592 t.Errorf("two UnmarshalMerges produced %d Messages, want 2", len(pb2.Message))
1620 t.Errorf("Bytes differ on attempt #%d", i)
1642 …t.Errorf("Marshal produced inconsistent output with determinism enabled (pass %d).\n got %v\nwant …
1721 t.Errorf("Bytes differ on re-Marshal #%d", i)
1726 t.Errorf("Unmarshal: %v", err)
1730 t.Errorf("re-Marshal: %v", err)
1733 t.Errorf("Bytes differ on round-trip #%d", i)
1777 t.Errorf("\n got %v\nwant %v", got, want)
1814 t.Errorf("\n got %v\nwant %v", got, want)
1831 t.Errorf("Marshal(%v): %v", test.m, err)
1835 t.Errorf("Marshal(%v) yielded %d bytes, want %d bytes", test.m, len(b), test.n)
1873 t.Errorf("marshal-1 wrong err msg: %v", err)
1889 t.Errorf("unmarshal wrong err msg: %v", err)
1893 t.Errorf("marshal-2 err = %v, want *RequiredNotSetError", err)
1898 t.Errorf("marshal-2 wrong err msg: %v", err)
1909 t.Errorf("Unmarshal = %v, want nil", err)
1913 t.Errorf("Unmarshal = nil, want RequiredNotSetError")
1918 t.Errorf("Unmarshal = %v, want nil", err)
1921 t.Errorf("expected fixed32 to appear as unknown bytes: %x", m.XXX_unrecognized)
1928 t.Errorf("These bytes caused a panic: %+v", data)
2004 …t.Errorf("Marshal produced inconsistent output with determinism enabled (pass %d).\n got %v\nwant …
2034 t.Errorf("Map did not survive a round trip.\ninitial: %v\n final: %v", m, m2)
2055 t.Errorf("msg_mapping[1] not nil: %v", v)
2072 t.Errorf("Size(m1) = %d; want len(Marshal(m1)) = %d", n, len(b))
2081 t.Errorf("byte_mapping[false] not empty: %#v", v)
2086 t.Errorf("byte_mapping[true] not empty: %#v", v)
2103 t.Errorf("Unmarshaled map with no key was not as expected. got: %v, want %v", got, want)
2120 t.Errorf("Unmarshaled map with no value was not as expected. got: %v, want %v", got, want)
2131 t.Errorf("Marshal of empty message yielded too many bytes: %v", b)
2144 t.Errorf("Incorrect marshal of message with oneof: %v", b)
2151 t.Errorf("After round trip, Union = %+v", m.Union)
2154 t.Errorf("After round trip, GetName = %q, want %q", name, "Barry")
2164 t.Errorf("Incorrect marshal of message with oneof set to message: %v", b)
2172 t.Errorf("After round trip with oneof set to message, Union = %+v", m.Union)
2188 t.Errorf("Wrong result of Marshal: got %x, want %x", b, want)
2221 t.Errorf("Incorrect result: want: %v got: %v", pb, x)
2240 t.Errorf("marshal error: %v", err)
2248 t.Errorf("concurrent marshal result not same: b[0] = %v, b[%d] = %v", b[0], i, b[i])
2291 t.Errorf("Marshal(proto2.%s) = %v, want nil", tt.label, err)
2294 t.Errorf("Marshal(proto2.%s) = %x, want %x", tt.label, b, tt.want)
2300 t.Errorf("Unmarshal(proto2.%s) = %v, want nil", tt.label, err)
2303 t.Errorf("proto2.%s: output mismatch:\ngot %v\nwant %v", tt.label, m, tt.proto2)
2309 t.Errorf("Marshal(proto3.%s) = %v, want non-nil", tt.label, err)
2312 t.Errorf("Marshal(proto3.%s) = %x, want %x", tt.label, b, tt.want)
2319 t.Errorf("Unmarshal(proto3.%s) = %v, want non-nil", tt.label, err)
2322 t.Errorf("proto3.%s: output mismatch:\ngot %v\nwant %v", tt.label, m, tt.proto2)
2333 t.Errorf("Marshal() = %v, want RequiredNotSetError error", err)
2336 t.Errorf("Marshal() = %x, want %x", got, want)
2342 t.Errorf("Marshal() = %v, want RequiredNotSetError error", err)