HomeSort by relevance Sort by last modified time
    Searched refs:want (Results 126 - 150 of 2512) sorted by null

1 2 3 4 56 7 8 91011>>

  /prebuilts/go/darwin-x86/src/strings/
builder_test.go 14 func check(t *testing.T, b *Builder, want string) {
17 if got != want {
18 t.Errorf("String: got %#q; want %#q", got, want)
31 t.Errorf("WriteString: got %d,%s; want 5,nil", n, err)
40 t.Errorf("WriteString: got %d,%s; want 5,nil", n, err)
58 if want := "alpha"; s1 != want {
59 t.Errorf("first String result is now %q; want %q", s1, want)
    [all...]
  /prebuilts/go/linux-x86/src/mime/quotedprintable/
writer_test.go 24 in, want, wantB string
26 {in: "", want: ""},
27 {in: "foo bar", want: "foo bar"},
28 {in: "foo bar=", want: "foo bar=3D"},
29 {in: "foo bar\r", want: "foo bar\r\n", wantB: "foo bar=0D"},
30 {in: "foo bar\r\r", want: "foo bar\r\n\r\n", wantB: "foo bar=0D=0D"},
31 {in: "foo bar\n", want: "foo bar\r\n", wantB: "foo bar=0A"},
32 {in: "foo bar\r\n", want: "foo bar\r\n", wantB: "foo bar=0D=0A"},
33 {in: "foo bar\r\r\n", want: "foo bar\r\n\r\n", wantB: "foo bar=0D=0D=0A"},
34 {in: "foo bar ", want: "foo bar=20"}
    [all...]
  /prebuilts/go/linux-x86/src/strings/
builder_test.go 14 func check(t *testing.T, b *Builder, want string) {
17 if got != want {
18 t.Errorf("String: got %#q; want %#q", got, want)
31 t.Errorf("WriteString: got %d,%s; want 5,nil", n, err)
40 t.Errorf("WriteString: got %d,%s; want 5,nil", n, err)
58 if want := "alpha"; s1 != want {
59 t.Errorf("first String result is now %q; want %q", s1, want)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
LocalLogTest.java 38 String[] want = lines; local
39 testcase(new LocalLog(10), lines, want);
48 String[] want = {}; local
49 testcase(new LocalLog(0), lines, want);
64 String[] want = { local
69 testcase(new LocalLog(3), lines, want);
72 void testcase(LocalLog logger, String[] input, String[] want) {
76 verifyAllLines(want, dump(logger).split("\n"));
77 verifyAllLines(reverse(want), reverseDump(logger).split("\n"));
82 String want = wantLines[i] local
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/
map.go 24 if want, got := 3, lenMap_ssa(v); got != want {
25 fmt.Printf("expected len(map) = %d, got %d", want, got)
33 if want, got := 0, lenMap_ssa(v); got != want {
34 fmt.Printf("expected len(nil) = %d, got %d", want, got)
regalloc.go 23 want := 5
25 if got != want {
26 println("phiOverwrite_ssa()=", want, ", got", got)
41 want := 1
43 if got != want {
44 println("phiOverwriteBig_ssa()=", want, ", got", got)
loadstore.go 35 want := [4]uint16{77, 22, 33, 44}
36 if a != want {
37 fmt.Println("testStoreSize failed. want =", want, ", got =", a)
74 fmt.Println("testExtStore failed. want =", start, ", got =", got)
99 if want, got := 2, testDeadStorePanic_ssa(1); want != got {
100 fmt.Println("testDeadStorePanic failed. want =", want, ", got =", got)
154 want := int32(in * in
    [all...]
  /prebuilts/go/darwin-x86/src/os/user/
user_test.go 37 func compare(t *testing.T, want, got *User) {
38 if want.Uid != got.Uid {
39 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid)
41 if want.Username != got.Username {
42 t.Errorf("got Username=%q; want %q", got.Username, want.Username)
44 if want.Name != got.Name {
45 t.Errorf("got Name=%q; want %q", got.Name, want.Name
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/
map.go 24 if want, got := 3, lenMap_ssa(v); got != want {
25 fmt.Printf("expected len(map) = %d, got %d", want, got)
33 if want, got := 0, lenMap_ssa(v); got != want {
34 fmt.Printf("expected len(nil) = %d, got %d", want, got)
regalloc.go 23 want := 5
25 if got != want {
26 println("phiOverwrite_ssa()=", want, ", got", got)
41 want := 1
43 if got != want {
44 println("phiOverwriteBig_ssa()=", want, ", got", got)
loadstore.go 35 want := [4]uint16{77, 22, 33, 44}
36 if a != want {
37 fmt.Println("testStoreSize failed. want =", want, ", got =", a)
74 fmt.Println("testExtStore failed. want =", start, ", got =", got)
99 if want, got := 2, testDeadStorePanic_ssa(1); want != got {
100 fmt.Println("testDeadStorePanic failed. want =", want, ", got =", got)
154 want := int32(in * in
    [all...]
  /prebuilts/go/linux-x86/src/os/user/
user_test.go 37 func compare(t *testing.T, want, got *User) {
38 if want.Uid != got.Uid {
39 t.Errorf("got Uid=%q; want %q", got.Uid, want.Uid)
41 if want.Username != got.Username {
42 t.Errorf("got Username=%q; want %q", got.Username, want.Username)
44 if want.Name != got.Name {
45 t.Errorf("got Name=%q; want %q", got.Name, want.Name
    [all...]
  /external/protobuf/examples/
list_people_test.go 25 want := `Person ID: 1234
30 if got != want {
31 t.Errorf("writePerson(%s) =>\n\t%q, want %q", p.String(), got, want)
76 want := strings.Split(`Person ID: 101
98 if len(got) != len(want) {
100 "listPeople(%s) =>\n\t%q has %d lines, want %d",
104 len(want))
107 if lines > len(want) {
108 lines = len(want)
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue6612.go 38 t.Errorf("C.myvar = %d, want 5", v)
41 t.Errorf("C.myvar_def = %d, want 5", v)
44 t.Errorf("C.mytext = %q, want %q", s, "abcdef")
47 t.Errorf("C.mytext_def = %q, want %q", s, "abcdef")
50 t.Errorf("C.myenum = %v, want 1234", c)
53 t.Errorf("C.myenum_def = %v, want 1234", c)
58 t.Errorf("C.myenum as const = %v, want 1234", c)
64 t.Errorf("C.myenum as const = %v, want 1234", c)
68 t.Errorf("C.myint_def = %v, want 12345", c)
73 t.Errorf("C.myint as const = %v, want 12345", c
    [all...]
issue17537.go 45 if got, want := C.I17537(&v), C.int(17537); got != want {
46 t.Errorf("got %d, want %d", got, want)
51 if got, want := C.F17537(&p), C.int(17); got != want {
52 t.Errorf("got %d, want %d", got, want)
  /prebuilts/go/linux-x86/misc/cgo/test/
issue6612.go 38 t.Errorf("C.myvar = %d, want 5", v)
41 t.Errorf("C.myvar_def = %d, want 5", v)
44 t.Errorf("C.mytext = %q, want %q", s, "abcdef")
47 t.Errorf("C.mytext_def = %q, want %q", s, "abcdef")
50 t.Errorf("C.myenum = %v, want 1234", c)
53 t.Errorf("C.myenum_def = %v, want 1234", c)
58 t.Errorf("C.myenum as const = %v, want 1234", c)
64 t.Errorf("C.myenum as const = %v, want 1234", c)
68 t.Errorf("C.myint_def = %v, want 12345", c)
73 t.Errorf("C.myint as const = %v, want 12345", c
    [all...]
issue17537.go 45 if got, want := C.I17537(&v), C.int(17537); got != want {
46 t.Errorf("got %d, want %d", got, want)
51 if got, want := C.F17537(&p), C.int(17); got != want {
52 t.Errorf("got %d, want %d", got, want)
  /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/vendor/golang_org/x/crypto/cryptobyte/
cryptobyte_test.go 14 func builderBytesEq(b *Builder, want ...byte) error {
16 if !bytes.Equal(got, want) {
17 return fmt.Errorf("Bytes() = %v, want %v", got, want)
83 t.Errorf("ReadBytes() = false, want true (w = %v)", w)
85 want := []byte(w)
86 if !bytes.Equal(got, want) {
87 t.Errorf("ReadBytes(): got = %v, want %v", got, want)
91 t.Errorf("len(s) = %d, want 0", len(s)
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/cryptobyte/
cryptobyte_test.go 14 func builderBytesEq(b *Builder, want ...byte) error {
16 if !bytes.Equal(got, want) {
17 return fmt.Errorf("Bytes() = %v, want %v", got, want)
83 t.Errorf("ReadBytes() = false, want true (w = %v)", w)
85 want := []byte(w)
86 if !bytes.Equal(got, want) {
87 t.Errorf("ReadBytes(): got = %v, want %v", got, want)
91 t.Errorf("len(s) = %d, want 0", len(s)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/go/internal/cache/
hash_test.go 24 want := "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
25 if sum != want {
26 t.Errorf("hash(hello world) = %v, want %v", sum, want)
48 want := "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
49 if sum != want {
50 t.Errorf("hash(hello world) = %v, want %v", sum, want)
  /prebuilts/go/linux-x86/src/cmd/go/internal/cache/
hash_test.go 24 want := "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
25 if sum != want {
26 t.Errorf("hash(hello world) = %v, want %v", sum, want)
48 want := "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
49 if sum != want {
50 t.Errorf("hash(hello world) = %v, want %v", sum, want)
  /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/bfin/
objdump.exp 46 set want "e1 c1\[ \t\]*ILLEGAL.*34 98 .*\[\r\n\]"
48 if [regexp $want $got] then {
  /external/python/cpython2/Lib/plat-mac/lib-scriptpackages/SystemEvents/
Text_Suite.py 20 want = 'atts' variable in class:attachment
24 want = 'ctxt' variable in class:_Prop__3c_Inheritance_3e_
28 want = 'utxt' variable in class:_Prop_file_name
36 want = 'catr' variable in class:attribute_run
40 want = 'colr' variable in class:_Prop_color
44 want = 'utxt' variable in class:_Prop_font
48 want = 'long' variable in class:_Prop_size
58 want = 'cha ' variable in class:character
68 want = 'cpar' variable in class:paragraph
78 want = 'ctxt variable in class:text
86 want = 'cwor' variable in class:word
    [all...]

Completed in 851 milliseconds

1 2 3 4 56 7 8 91011>>