• Home
  • Raw
  • Download

Lines Matching refs:Errorf

66 		t.Errorf("ext1 not in returned extensions: %T %v", exts[0], exts[0])
69 t.Errorf("ext2 in returned extensions: %T %v", exts[1], exts[1])
80 t.Errorf("unexpected error in GetExtension from empty buffer: got %v, want %v", err, want)
177 t.Errorf("proto.ExtensionDescs: got %d descs, error %v; want 0, nil", len(descs), err)
211 t.Errorf("proto.ExtensionDescs(msg) sorted extension ids: got %+v, want %+v", descs, wantDescs)
243 t.Errorf("GetExtension() not stable before marshaling")
255 t.Errorf("GetExtension() not stable after unmarshaling")
318 return fmt.Errorf("GetExtension(): %s", err)
321 return fmt.Errorf("Unexpected error: got %v, want %v", err, want)
330 return fmt.Errorf("unexpected reflect.TypeOf(): got %v want %v", got, want)
335 return fmt.Errorf("unexpected reflect.TypeOf().Elem(): got %v want %v", got, want)
341 return fmt.Errorf("unexpected reflect.TypeOf().Elem().Name(): got %v want %v", got, want)
351 return fmt.Errorf("unexpected reflect.DeepEqual(): got %v want %v", got, want)
373 t.Errorf("%s: %v", name, err)
379 t.Errorf("%s: SetExtension(): %v", name, err)
383 t.Errorf("%s: %v", name, err)
391 t.Errorf("%s: %v", name, err)
399 t.Errorf("%s: got %T %v, expected to fail", name, got, got)
401 t.Errorf("%s: got error %v, expected not-extendable error", name, err)
419 t.Errorf("GetExtensions(nil) = %q (wrong error)", err)
423 t.Errorf("ExtensionDescs(nil) = %q (wrong error)", err)
427 t.Errorf("SetExtension(nil) = %q (wrong error)", err)
458 t.Errorf("e has type %T, expected test_proto.Ext", e)
460 t.Errorf("SetExtension failed to overwrite, got %+v, not 'there'", x)
464 t.Errorf("got %v, expected ErrMissingExtension", e)
487 t.Errorf("expected error %v, got %v", want, err)
550 …t.Errorf("[%s] Wrong length of ComplexExtension: got: %v want: %v\n", test.name, len(ext), len(tes…
554 …t.Errorf("[%s] Wrong value for ComplexExtension[%d]: got: %v want: %v\n", test.name, i, ext[i], te…
630 t.Errorf("[%s] Wrong value for ComplexExtension: got: %s want: %s\n", test.name, ext, &want)
646 t.Errorf("proto.HasExtension(%s): got true, want false", proto.MarshalTextString(m))
649 t.Errorf("proto.SetExtension(m, desc, true): got error %q, want nil", err)
652 t.Errorf("proto.HasExtension(%s): got false, want true", proto.MarshalTextString(m))
656 t.Errorf("proto.HasExtension(%s): got true, want false", proto.MarshalTextString(m))