HomeSort by relevance Sort by last modified time
    Searched refs:want (Results 201 - 225 of 2074) sorted by null

1 2 3 4 5 6 7 891011>>

  /prebuilts/go/darwin-x86/test/fixedbugs/
bug321.go 13 func check(test string, got, want float64) bool {
14 if got != want {
15 fmt.Println(test, "got", got, "want", want)
issue14553.go 40 want := t.bits
41 if got != want {
42 panic(fmt.Sprintf("bits(%g) = 0x%08x; want 0x%08x", t.value, got, want))
  /prebuilts/go/darwin-x86/test/fixedbugs/issue11053.dir/
p_test.go 48 if got, want := *resp.V, int32(42); got != want {
49 fmt.Printf("FAIL, got %v, want %v", got, want)
  /prebuilts/go/linux-x86/misc/cgo/test/
cthread.go 40 want := 10 * (10 - 1) / 2 * 6
41 if sum.i != want {
42 t.Fatalf("sum=%d, want %d", sum.i, want)
issue12030.go 6 // Normally we want the one in the msvcrt.
31 if want := fmt.Sprintf("d=%g", f); got != want {
32 t.Fatalf("C.sprintf failed for %g: %q != %q", f, got, want)
  /prebuilts/go/linux-x86/misc/cgo/test/issue9026/
issue9026.go 32 want := "issue9026._Ctype_struct___0 *issue9026._Ctype_struct___1"
33 if got != want {
34 t.Errorf("Non-deterministic type names: got %s, want %s", got, want)
  /prebuilts/go/linux-x86/src/cmd/internal/obj/
line_test.go 42 for i, want := range expect {
45 if have != want {
46 t.Errorf("linkgetline(%d) = %q, want %q", i, have, want)
  /prebuilts/go/linux-x86/src/net/http/httptest/
httptest_test.go 23 want *http.Request
31 want: &http.Request{
50 want: &http.Request{
74 want: &http.Request{
102 want: &http.Request{
122 want: &http.Request{
141 want: &http.Request{
161 t.Errorf("%d. Body = %q; want %q", i, slurp, tt.wantBody)
164 if !reflect.DeepEqual(got.URL, tt.want.URL) {
165 t.Errorf("%d. Request.URL mismatch:\n got: %#v\nwant: %#v", i, got.URL, tt.want.URL
    [all...]
  /prebuilts/go/linux-x86/src/os/
error_unix_test.go 26 isPermissionTest{err: &os.PathError{Err: syscall.EACCES}, want: true},
27 isPermissionTest{err: &os.PathError{Err: syscall.EPERM}, want: true},
28 isPermissionTest{err: &os.PathError{Err: syscall.EEXIST}, want: false},
30 isPermissionTest{err: &os.LinkError{Err: syscall.EACCES}, want: true},
31 isPermissionTest{err: &os.LinkError{Err: syscall.EPERM}, want: true},
32 isPermissionTest{err: &os.LinkError{Err: syscall.EEXIST}, want: false},
34 isPermissionTest{err: &os.SyscallError{Err: syscall.EACCES}, want: true},
35 isPermissionTest{err: &os.SyscallError{Err: syscall.EPERM}, want: true},
36 isPermissionTest{err: &os.SyscallError{Err: syscall.EEXIST}, want: false},
  /prebuilts/go/linux-x86/test/fixedbugs/
bug321.go 13 func check(test string, got, want float64) bool {
14 if got != want {
15 fmt.Println(test, "got", got, "want", want)
issue14553.go 40 want := t.bits
41 if got != want {
42 panic(fmt.Sprintf("bits(%g) = 0x%08x; want 0x%08x", t.value, got, want))
  /prebuilts/go/linux-x86/test/fixedbugs/issue11053.dir/
p_test.go 48 if got, want := *resp.V, int32(42); got != want {
49 fmt.Printf("FAIL, got %v, want %v", got, want)
  /prebuilts/go/darwin-x86/src/net/textproto/
reader_test.go 46 t.Errorf("CanonicalMIMEHeaderKey(%q) = %q, want %q", tt.in, s, tt.out)
117 want := []string{"dotlines", "foo", ".bar", "..baz", "quux", ""}
118 if !reflect.DeepEqual(s, want) || err != nil {
123 want = []string{"another"}
124 if !reflect.DeepEqual(s, want) || err != io.ErrUnexpectedEOF {
132 want := []byte("dotlines\nfoo\n.bar\n..baz\nquux\n\n")
133 if !reflect.DeepEqual(b, want) || err != nil {
138 want = []byte("anot.her\n")
139 if !reflect.DeepEqual(b, want) || err != io.ErrUnexpectedEOF {
147 want := MIMEHeader
    [all...]
  /prebuilts/go/linux-x86/src/net/textproto/
reader_test.go 46 t.Errorf("CanonicalMIMEHeaderKey(%q) = %q, want %q", tt.in, s, tt.out)
117 want := []string{"dotlines", "foo", ".bar", "..baz", "quux", ""}
118 if !reflect.DeepEqual(s, want) || err != nil {
123 want = []string{"another"}
124 if !reflect.DeepEqual(s, want) || err != io.ErrUnexpectedEOF {
132 want := []byte("dotlines\nfoo\n.bar\n..baz\nquux\n\n")
133 if !reflect.DeepEqual(b, want) || err != nil {
138 want = []byte("anot.her\n")
139 if !reflect.DeepEqual(b, want) || err != io.ErrUnexpectedEOF {
147 want := MIMEHeader
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/
hpack_test.go 107 if got, want := staticTable[i-1].Name, m[2]; got != want {
108 t.Errorf("header index %d name = %q; want %q", i, got, want)
110 if got, want := staticTable[i-1].Value, m[3]; got != want {
111 t.Errorf("header index %d value = %q; want %q", i, got, want)
130 if got, want := at(2), (pair(":method", "GET")); got != want {
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/
hpack_test.go 107 if got, want := staticTable[i-1].Name, m[2]; got != want {
108 t.Errorf("header index %d name = %q; want %q", i, got, want)
110 if got, want := staticTable[i-1].Value, m[3]; got != want {
111 t.Errorf("header index %d value = %q; want %q", i, got, want)
130 if got, want := at(2), (pair(":method", "GET")); got != want {
    [all...]
  /prebuilts/go/darwin-x86/src/math/big/
float_test.go 39 t.Errorf("zero value = %s; want 0.0", s)
44 t.Errorf("prec = %d; want 0", prec)
57 z, x, y, want int
87 if got != test.want {
88 t.Errorf("%d %c %d = %d; want %d", test.x, test.opname, test.y, got, test.want)
107 want string
136 t.Errorf("%s.SetPrec(%d).Prec() == %d; want %d", test.x, test.prec, got, prec)
138 if got, acc := x.String(), x.Acc(); got != test.want || acc != test.acc {
139 t.Errorf("%s.SetPrec(%d) = %s (%s); want %s (%s)", test.x, test.prec, got, acc, test.want, test.acc
    [all...]
  /prebuilts/go/linux-x86/src/math/big/
float_test.go 39 t.Errorf("zero value = %s; want 0.0", s)
44 t.Errorf("prec = %d; want 0", prec)
57 z, x, y, want int
87 if got != test.want {
88 t.Errorf("%d %c %d = %d; want %d", test.x, test.opname, test.y, got, test.want)
107 want string
136 t.Errorf("%s.SetPrec(%d).Prec() == %d; want %d", test.x, test.prec, got, prec)
138 if got, acc := x.String(), x.Acc(); got != test.want || acc != test.acc {
139 t.Errorf("%s.SetPrec(%d) = %s (%s); want %s (%s)", test.x, test.prec, got, acc, test.want, test.acc
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/ascii85/
ascii85_test.go 72 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(string(buf)), strip85(p.encoded))
82 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(bb.String()), strip85(p.encoded))
97 testEqual(t, "Write(%q) gave error %v, want %v", input[pos:end], err, error(nil))
98 testEqual(t, "Write(%q) gave length %v, want %v", input[pos:end], n, end-pos)
101 testEqual(t, "Close gave error %v, want %v", err, error(nil))
102 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, strip85(bb.String()), strip85(bigtest.encoded))
110 testEqual(t, "Decode(%q) = error %v, want %v", p.encoded, err, error(nil))
111 testEqual(t, "Decode(%q) = nsrc %v, want %v", p.encoded, nsrc, len(p.encoded))
112 testEqual(t, "Decode(%q) = ndst %v, want %v", p.encoded, ndst, len(p.decoded))
113 testEqual(t, "Decode(%q) = %q, want %q", p.encoded, string(dbuf[0:ndst]), p.decoded
    [all...]
  /prebuilts/go/linux-x86/src/encoding/ascii85/
ascii85_test.go 72 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(string(buf)), strip85(p.encoded))
82 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, strip85(bb.String()), strip85(p.encoded))
97 testEqual(t, "Write(%q) gave error %v, want %v", input[pos:end], err, error(nil))
98 testEqual(t, "Write(%q) gave length %v, want %v", input[pos:end], n, end-pos)
101 testEqual(t, "Close gave error %v, want %v", err, error(nil))
102 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, strip85(bb.String()), strip85(bigtest.encoded))
110 testEqual(t, "Decode(%q) = error %v, want %v", p.encoded, err, error(nil))
111 testEqual(t, "Decode(%q) = nsrc %v, want %v", p.encoded, nsrc, len(p.encoded))
112 testEqual(t, "Decode(%q) = ndst %v, want %v", p.encoded, ndst, len(p.decoded))
113 testEqual(t, "Decode(%q) = %q, want %q", p.encoded, string(dbuf[0:ndst]), p.decoded
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/
crash_test.go 185 want := "main: recovered done\nnew-thread: recovered done\nsecond-new-thread: recovered done\nmain-again: recovered done\n"
186 if output != want {
187 t.Fatalf("output:\n%s\n\nwanted:\n%s", output, want)
197 want := "fatal error: all goroutines are asleep - deadlock!\n"
198 if !strings.HasPrefix(output, want) {
199 t.Fatalf("output does not start with %q:\n%s", want, output)
221 want := "no goroutines (main called runtime.Goexit) - deadlock!"
222 if !strings.Contains(output, want) {
223 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
229 want := "runtime: goroutine stack exceeds 1474560-byte limit\nfatal error: stack overflow
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
crash_test.go 185 want := "main: recovered done\nnew-thread: recovered done\nsecond-new-thread: recovered done\nmain-again: recovered done\n"
186 if output != want {
187 t.Fatalf("output:\n%s\n\nwanted:\n%s", output, want)
197 want := "fatal error: all goroutines are asleep - deadlock!\n"
198 if !strings.HasPrefix(output, want) {
199 t.Fatalf("output does not start with %q:\n%s", want, output)
221 want := "no goroutines (main called runtime.Goexit) - deadlock!"
222 if !strings.Contains(output, want) {
223 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
229 want := "runtime: goroutine stack exceeds 1474560-byte limit\nfatal error: stack overflow
    [all...]
  /prebuilts/go/darwin-x86/src/math/
arith_s390x_test.go 20 t.Errorf("Cos(%g) = %g, want %g", vf[i], f, cos[i])
25 t.Errorf("Cos(%g) = %g, want %g", vfcosSC[i], f, cosSC[i])
36 t.Errorf("Cosh(%g) = %g, want %g", vf[i], f, cosh[i])
41 t.Errorf("Cosh(%g) = %g, want %g", vfcoshSC[i], f, coshSC[i])
51 t.Errorf("Sin(%g) = %g, want %g", vf[i], f, sin[i])
56 t.Errorf("Sin(%g) = %g, want %g", vfsinSC[i], f, sinSC[i])
67 t.Errorf("Sinh(%g) = %g, want %g", vf[i], f, sinh[i])
72 t.Errorf("Sinh(%g) = %g, want %g", vfsinhSC[i], f, sinhSC[i])
90 t.Errorf("Cos(%g) = %g, want %g", vf[i]+large, f2, f1)
104 t.Errorf("Sin(%g) = %g, want %g", vf[i]+large, f2, f1
    [all...]
  /prebuilts/go/linux-x86/src/math/
arith_s390x_test.go 20 t.Errorf("Cos(%g) = %g, want %g", vf[i], f, cos[i])
25 t.Errorf("Cos(%g) = %g, want %g", vfcosSC[i], f, cosSC[i])
36 t.Errorf("Cosh(%g) = %g, want %g", vf[i], f, cosh[i])
41 t.Errorf("Cosh(%g) = %g, want %g", vfcoshSC[i], f, coshSC[i])
51 t.Errorf("Sin(%g) = %g, want %g", vf[i], f, sin[i])
56 t.Errorf("Sin(%g) = %g, want %g", vfsinSC[i], f, sinSC[i])
67 t.Errorf("Sinh(%g) = %g, want %g", vf[i], f, sinh[i])
72 t.Errorf("Sinh(%g) = %g, want %g", vfsinhSC[i], f, sinhSC[i])
90 t.Errorf("Cos(%g) = %g, want %g", vf[i]+large, f2, f1)
104 t.Errorf("Sin(%g) = %g, want %g", vf[i]+large, f2, f1
    [all...]
  /prebuilts/go/darwin-x86/src/context/
context_test.go 47 t.Errorf("<-c.Done() == %v want nothing (it should block)", x)
50 if got, want := fmt.Sprint(c), "context.Background"; got != want {
51 t.Errorf("Background().String() = %q want %q", got, want)
62 t.Errorf("<-c.Done() == %v want nothing (it should block)", x)
65 if got, want := fmt.Sprint(c), "context.TODO"; got != want {
66 t.Errorf("TODO().String() = %q want %q", got, want)
    [all...]

Completed in 1082 milliseconds

1 2 3 4 5 6 7 891011>>