/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 …]
|
/build/soong/android/soongconfig/ |
D | modules_test.go | 28 want string 33 want: "board", 38 want: "BOARD", 43 want: "BOARD123", 48 want: "TARGET_BOARD", 53 want: "TARGET_BOARD", 58 want: "board_", 63 if got := CanonicalizeToProperty(tt.arg); got != tt.want { 64 t.Errorf("canonicalizeToProperty() = %v, want %v", got, tt.want) 75 want string [all …]
|
/build/soong/remoteexec/ |
D | remoteexec_test.go | 26 want string 39 …want: fmt.Sprintf("${android.RBEWrapper} --labels=compiler=clang,lang=cpp,type=compile --platform=… 55 …want: fmt.Sprintf("${android.RBEWrapper} --labels=compiler=clang,lang=cpp,type=compile --platform=… 60 if got := test.params.Template(); got != test.want { 61 t.Errorf("Template() returned\n%s\nwant\n%s", got, test.want) 77 …want := fmt.Sprintf("prebuilts/remoteexecution-client/live/rewrapper --labels=compiler=clang,lang=… 78 if got := params.NoVarTemplate(DefaultWrapperPath); got != want { 79 t.Errorf("NoVarTemplate() returned\n%s\nwant\n%s", got, want) 93 …want := fmt.Sprintf("${android.RBEWrapper} --labels=compiler=clang,lang=cpp,type=compile --platfor… 95 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/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/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 …]
|
/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/blueprint/ |
D | context_test.go | 670 want string 688 want: "normal", 716 want: "normal_a", 735 want: "normal_a", 759 want: "far", 796 want: "far_b", 824 want: "nil", 830 if g, w := got == nil, tt.want == "nil"; g != w { 831 t.Fatalf("findVariant() got = %v, want %v", got, tt.want) 834 if g, w := got.String(), fmt.Sprintf("module %q variant %q", "dep", tt.want); g != w { [all …]
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader_test.go | 189 want string 193 want: "github.com/google/blueprint/bootstrap", 197 want: "android/soong/android", 201 want: "android/soong/android", 205 want: "main", 214 if got != tt.want { 215 t.Errorf("funcNameToPkgPath(%v) = %v, want %v", tt.f, got, tt.want)
|
/build/soong/android/ |
D | util_test.go | 64 f := func(t *testing.T, imp func([]string) []string, in, want []string) { 67 if !reflect.DeepEqual(out, want) { 70 t.Errorf(" expected: %#v", want) 501 want [][]string 509 want: [][]string(nil), 517 want: [][]string{{"a", "b"}}, 525 want: [][]string{{"a", "b"}}, 533 want: [][]string{{"a"}, {"b"}, {"c"}}, 541 want: [][]string{{"a", "b"}, {"c", "d"}}, 549 want: [][]string{{"a", "b"}, {"c"}}, [all …]
|
D | bazel_handler_test.go | 96 if want := 1; len(got) != want { 97 t.Errorf("Expected %d registered build statements, got %#v", want, got)
|
D | variable_test.go | 306 want := []string{"defaults", "module", "product_variable_defaults", "product_variable_module"} 307 AssertDeepEquals(t, "foo", want, foo.properties.Foo)
|
D | mutator_test.go | 133 want := []string{ 172 AssertDeepEquals(t, "module String() values", want, moduleStrings)
|
/build/soong/zip/ |
D | zip_test.go | 506 want := test.files[i] 509 if want.Name != got.Name { 510 t.Errorf("incorrect file %d want %q got %q", i, want.Name, got.Name) 514 if want.UncompressedSize64 != got.UncompressedSize64 { 515 t.Errorf("incorrect file %s length want %v got %v", want.Name, 516 want.UncompressedSize64, got.UncompressedSize64) 519 if want.ExternalAttrs != got.ExternalAttrs { 520 t.Errorf("incorrect file %s attrs want %x got %x", want.Name, 521 want.ExternalAttrs, got.ExternalAttrs) 524 if want.CRC32 != got.CRC32 { [all …]
|
/build/blueprint/parser/ |
D | sort_test.go | 46 oneTest := func(a, b string, want bool) { 48 if got := numericStringLess(a, b); got != want { 49 t.Errorf("want numericStringLess(%v, %v) = %v, got %v", a, b, want, got)
|
/build/soong/ui/build/ |
D | upload_test.go | 59 want := []string{ 68 sort.Strings(want) 70 if !reflect.DeepEqual(got, want) { 71 t.Errorf("got %q, want %q after pruning metrics files", got, want)
|
/build/soong/cc/ |
D | sanitize_test.go | 166 want := toInstalled.Output.String() 167 if !android.InList(want, got) { 169 from.Module(), to.Module(), want, got)
|
/build/soong/java/ |
D | systemserver_classpath_fragment_test.go | 78 want := map[string][]string{ 89 for k, expectedValue := range want {
|
D | hiddenapi_singleton_test.go | 58 want := "--boot-dex=out/soong/.intermediates/foo/android_common/aligned/foo.jar" 59 android.AssertStringDoesContain(t, "hiddenapi command", hiddenapiRule.RuleParams.Command, want) 100 want := "--boot-dex=out/soong/.intermediates/foo/android_common/aligned/foo.jar" 101 android.AssertStringDoesContain(t, "hiddenapi command", hiddenapiRule.RuleParams.Command, want)
|
D | java_test.go | 347 for _, want := range test.results { 348 javac := ctx.ModuleForTests(want.library, "android_common").Rule("javac") 349 if javac.Args["processor"] != want.processors { 350 …t.Errorf("For library %v, expected %v, found %v", want.library, want.processors, javac.Args["proce… 352 turbine := ctx.ModuleForTests(want.library, "android_common").MaybeRule("turbine") 354 if disableTurbine != want.disableTurbine { 355 …t.Errorf("For library %v, expected disableTurbine %v, found %v", want.library, want.disableTurbine…
|
/build/soong/dexpreopt/ |
D | class_loader_context_test.go | 268 func checkError(t *testing.T, have error, want string) { 270 t.Errorf("\nwant error: '%s'\nhave: none", want) 271 } else if msg := have.Error(); !strings.HasPrefix(msg, want) { 272 t.Errorf("\nwant error: '%s'\nhave error: '%s'\n", want, msg)
|
/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/ |
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))
|