/build/soong/android/soongconfig/ |
D | modules_test.go | 26 want string 31 want: "board", 36 want: "BOARD", 41 want: "BOARD123", 46 want: "TARGET_BOARD", 51 want: "TARGET_BOARD", 56 want: "board_", 61 if got := CanonicalizeToProperty(tt.arg); got != tt.want { 62 t.Errorf("canonicalizeToProperty() = %v, want %v", got, tt.want) 73 want string [all …]
|
/build/blueprint/proptools/ |
D | proptools_test.go | 23 want string 28 want: "s", 33 want: "string", 38 want: "STRING", 43 want: "stRiNg", 48 want: "under_score", 53 want: "UNDER_SCORE", 58 want: "x86", 63 want: "x86_64", 68 if got := PropertyNameForField(tt.input); got != tt.want { [all …]
|
D | tag_test.go | 34 want bool 38 want: false, 42 want: false, 46 want: false, 50 want: true, 54 want: true, 58 want: true, 64 if got := HasTag(field, "name", "value"); got != test.want { 65 t.Errorf(`HasTag(%q, "name", "value") = %v, want %v`, field.Tag, got, test.want) 75 want [][]int [all …]
|
/build/soong/remoteexec/ |
D | remoteexec_test.go | 28 want string 41 …want: fmt.Sprintf("${remoteexec.Wrapper} --labels=compiler=clang,lang=cpp,type=compile --platform=… 57 …want: fmt.Sprintf("${remoteexec.Wrapper} --labels=compiler=clang,lang=cpp,type=compile --platform=… 62 if got := test.params.Template(); got != test.want { 63 t.Errorf("Template() returned\n%s\nwant\n%s", got, test.want) 79 …want := fmt.Sprintf("prebuilts/remoteexecution-client/live/rewrapper --labels=compiler=clang,lang=… 80 if got := params.NoVarTemplate(android.NullConfig("")); got != want { 81 t.Errorf("NoVarTemplate() returned\n%s\nwant\n%s", got, want) 95 …want := fmt.Sprintf("${remoteexec.Wrapper} --labels=compiler=clang,lang=cpp,type=compile --platfor… 97 if got := r.Template(); got != want { [all …]
|
/build/soong/cmd/multiproduct_kati/ |
D | main_test.go | 27 want [][]string 32 want: [][]string{{"1"}}, 37 want: [][]string{{"1"}, {}}, 42 want: [][]string{{"1", "2"}, {"3", "4"}}, 47 want: [][]string{ 63 want: [][]string{ 87 if !reflect.DeepEqual(got, tc.want) { 89 tc.inputCount, tc.shardCount, tc.want, got)
|
/build/soong/jar/ |
D | jar_test.go | 31 want string 37 want: "foo.bar", 42 want: "foo.bar", 47 want: "", 73 if got != tt.want { 74 t.Errorf("JavaPackage() = %v, want %v", got, tt.want) 140 check := func(t *testing.T, ch rune, i int, want bool) { 142 if got := javaIdentRune(ch, i); got != want { 143 t.Errorf("javaIdentRune() = %v, want %v", got, want)
|
/build/soong/third_party/zip/ |
D | zip_test.go | 49 want := fmt.Sprintf("%d.dat", i) 50 if zr.File[i].Name != want { 51 t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want) 72 if got, want := fh2.Name, fh.Name; got != want { 73 t.Errorf("Name: got %s, want %s\n", got, want) 75 if got, want := fh2.UncompressedSize, wantUncompressedSize; got != want { 76 t.Errorf("UncompressedSize: got %d, want %d\n", got, want) 78 if got, want := fh2.UncompressedSize64, wantUncompressedSize64; got != want { 79 t.Errorf("UncompressedSize64: got %d, want %d\n", got, want) 81 if got, want := fh2.ModifiedTime, fh.ModifiedTime; got != want { [all …]
|
D | reader_test.go | 443 func testFileMode(t *testing.T, zipName string, f *File, want os.FileMode) { 445 if want == 0 { 447 } else if mode != want { 448 t.Errorf("%s: %s mode: want %v, got %v", zipName, f.Name, want, mode) 795 const want = "TOC declares impossible 3472328296227680304 files in 57 byte" 796 if err == nil && !strings.Contains(err.Error(), want) { 797 t.Errorf("error = %v; want %q", err, want)
|
/build/soong/cmd/diff_target_files/ |
D | allow_list_test.go | 68 want zipDiff 79 want: zipDiff{ 91 want: zipDiff{}, 101 want: zipDiff{}, 111 want: zipDiff{}, 121 if !reflect.DeepEqual(got, tt.want) { 122 t.Errorf("Test_applyAllowLists() = %v, want %v", got, tt.want)
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader_test.go | 113 want string 117 want: "github.com/google/blueprint/bootstrap", 121 want: "android/soong/android", 125 want: "android/soong/android", 129 want: "main", 138 if got != tt.want { 139 t.Errorf("funcNameToPkgPath(%v) = %v, want %v", tt.f, got, tt.want)
|
/build/blueprint/pathtools/ |
D | fs_test.go | 236 want := append([]string(nil), test.dirs...) 237 for i := range want { 238 want[i] = filepath.Join(dir, want[i]) 240 if !reflect.DeepEqual(got, want) { 241 t.Errorf("want: %v, got %v", want, got) 282 want := append([]string(nil), test.dirs...) 283 for i := range want { 284 want[i] = filepath.Join(dir, want[i]) 286 if !reflect.DeepEqual(got, want) { 287 t.Errorf("want: %v, got %v", want, got) [all …]
|
D | glob_test.go | 889 t.Errorf("want: %v, got %v", test.match, match) 921 t.Errorf("want: %v, got %v", test.match, match)
|
/build/soong/ui/status/ |
D | critical_path_test.go | 57 want []string 72 want: []string{"a"}, 90 want: []string{"c", "b", "a"}, 110 want: []string{"d", "c", "a"}, 133 want: []string{"e", "d"}, 153 if !reflect.DeepEqual(descs, tt.want) { 154 t.Errorf("criticalPath.criticalPath() = %v, want %v", descs, tt.want)
|
/build/soong/android/ |
D | util_test.go | 63 f := func(t *testing.T, imp func([]string) []string, in, want []string) { 66 if !reflect.DeepEqual(out, want) { 69 t.Errorf(" expected: %#v", want) 492 want [][]string 500 want: [][]string(nil), 508 want: [][]string{{"a", "b"}}, 516 want: [][]string{{"a", "b"}}, 524 want: [][]string{{"a"}, {"b"}, {"c"}}, 532 want: [][]string{{"a", "b"}, {"c", "d"}}, 540 want: [][]string{{"a", "b"}, {"c"}}, [all …]
|
D | rule_builder_test.go | 556 want string 563 want: "", 570 want: "$$abc", 578 want: "$abc", 586 want: "$abc$$", 594 want: "$$abc$", 602 want: "$$a$b$c$$", 610 want: "$$a$b$c$$", 615 if got := ninjaEscapeExceptForSpans(tt.args.s, tt.args.spans); got != tt.want { 616 t.Errorf("ninjaEscapeExceptForSpans() = %v, want %v", got, tt.want)
|
D | mutator_test.go | 148 want := []string{ 187 if !reflect.DeepEqual(moduleStrings, want) { 188 t.Errorf("want module String() values:\n%q\ngot:\n%q", want, moduleStrings)
|
D | variable_test.go | 315 want := []string{"defaults", "module", "product_variable_defaults", "product_variable_module"} 316 if g, w := foo.properties.Foo, want; !reflect.DeepEqual(g, w) {
|
/build/soong/zip/ |
D | zip_test.go | 484 want := test.files[i] 487 if want.Name != got.Name { 488 t.Errorf("incorrect file %d want %q got %q", i, want.Name, got.Name) 492 if want.UncompressedSize64 != got.UncompressedSize64 { 493 t.Errorf("incorrect file %s length want %v got %v", want.Name, 494 want.UncompressedSize64, got.UncompressedSize64) 497 if want.ExternalAttrs != got.ExternalAttrs { 498 t.Errorf("incorrect file %s attrs want %x got %x", want.Name, 499 want.ExternalAttrs, got.ExternalAttrs) 502 if want.CRC32 != got.CRC32 { [all …]
|
/build/soong/cc/ |
D | genrule_test.go | 70 t.Errorf(`want arm inputs %v, got %v`, expected, gen.Inputs.Strings()) 76 t.Errorf(`want arm64 inputs %v, got %v`, expected, gen.Inputs.Strings())
|
/build/ |
D | buildspec.mk.default | 59 # Uncomment this if you want the host tools built in debug mode. Otherwise 88 # If you want to always set certain system properties, add them to this list. 93 # If you want to reduce the system.img size by several meg, and are willing to
|
/build/make/ |
D | buildspec.mk.default | 59 # Uncomment this if you want the host tools built in debug mode. Otherwise 88 # If you want to always set certain system properties, add them to this list. 93 # If you want to reduce the system.img size by several meg, and are willing to
|
/build/soong/cmd/merge_zips/ |
D | merge_zips_test.go | 248 want := testZipEntriesToBuf(test.out) 271 if !bytes.Equal(want, out.Bytes()) { 273 t.Errorf("want:\n%s", dumpZip(want))
|
/build/blueprint/microfactory/ |
D | microfactory_test.go | 42 compare := func(got, want interface{}) { 43 if !reflect.DeepEqual(got, want) { 45 want, got)
|
/build/soong/java/ |
D | java_test.go | 385 for _, want := range test.results { 386 javac := ctx.ModuleForTests(want.library, "android_common").Rule("javac") 387 if javac.Args["processor"] != want.processors { 388 …t.Errorf("For library %v, expected %v, found %v", want.library, want.processors, javac.Args["proce…
|
/build/make/core/ |
D | LINUX_KERNEL_COPYING | 41 if you want it, that you can change the software or use pieces of it 59 Also, for each author's protection and ours, we want to make certain 62 want its recipients to know that what they have is not the original, so 300 If you develop a new program, and you want it to be of the greatest 355 library. If this is what you want to do, use the GNU Library General
|