Home
last modified time | relevance | path

Searched refs:Errorf (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/aosp12/build/soong/android/
H A Dutil_test.go68 t.Errorf("incorrect output:")
69 t.Errorf(" input: %#v", in)
70 t.Errorf(" expected: %#v", want)
71 t.Errorf(" got: %#v", out)
127 t.Errorf("incorrect output:")
130 t.Errorf(" got: %#v", out)
164 t.Errorf("incorrect output:")
203 t.Errorf("incorrect output:")
234 t.Errorf("incorrect output:")
269 t.Errorf("incorrect output:")
[all …]
H A Donceper_test.go30 t.Errorf(`first call to Once should return "a": %q`, a)
49 t.Errorf("expect %q, got %q", "foo", a)
61 t.Errorf(`first call to Once should return "a": %q`, a)
65 t.Errorf(`Get with the same key should return "a": %q`, b)
95 t.Errorf("expect %q, got %q", "foo", a)
140 t.Errorf(`first call to Once should return "a": %q`, a)
160 t.Errorf(`first call to Once should return "a": %q`, a)
175 t.Errorf(`reentrant Once should return "a": %q`, a)
201 t.Errorf(`expected panic with "foo", got %#v`, p)
205 t.Errorf(`expected a to be nil, got %#v`, a)
[all …]
H A Dbazel_handler_test.go18 t.Errorf("Did not expect cquery results prior to running InvokeBazel(), but got %s", g)
26 t.Errorf("Expected cquery results after running InvokeBazel(), but got none")
28 t.Errorf("Expected output %s, got %s", w, g)
39 t.Errorf("Expected main.bzl to exist, but it does not")
41 t.Errorf("Unexpected error stating main.bzl %s", err)
45 t.Errorf("Expected BUILD.bazel to exist, but it does not")
47 t.Errorf("Unexpected error stating BUILD.bazel %s", err)
51 t.Errorf("Expected WORKSPACE.bazel to exist, but it does not")
53 t.Errorf("Unexpected error stating WORKSPACE.bazel %s", err)
97 t.Errorf("Expected %d registered build statements, got %#v", want, got)
H A Dtest_asserts.go31 t.Errorf("%s: expected:\n%#v\nactual:\n%#v", message, expected, actual)
40 t.Errorf("%s: expected %t, actual %t", message, expected, actual)
49 t.Errorf("%s: expected %d, actual %d", message, expected, actual)
58 t.Errorf("%s: expected %s, actual %s", message, expected, actual)
96 t.Errorf("Expected error but was nil")
98 t.Errorf("%s: expected %s, actual %s", message, expected, actual.Error())
116 t.Errorf("%s: could not find %q within %q", message, expectedSubstring, s)
146 t.Errorf("%s: could not find %q within %q", message, s, list)
155 t.Errorf("%s: unexpectedly found %q within %q", message, s, list)
180 t.Errorf("%s: expected %d-th, %q (%q), actual %q (%q)",
[all …]
/aosp12/build/soong/java/
H A Dapp_import_test.go45 t.Errorf("can't find dexpreopt outputs")
74 t.Errorf("dexpreopt shouldn't have run.")
95 t.Errorf("can't find dexpreopt outputs")
99 t.Errorf("signing rule shouldn't be included.")
102 t.Errorf("can't find aligning rule")
184 t.Errorf("can't find dexpreopt outputs")
429 t.Errorf("prebuilt foo module is not active")
432 t.Errorf("prebuilt foo module is disabled")
457 t.Errorf("prebuilt framework-res is not preprocessed")
554 t.Errorf("Unexpected JNI uncompress rule: " + jniRule)
[all …]
H A Dkotlin_test.go50 t.Errorf(`foo kotlinc inputs %v != ["a.java", "b.kt"]`, fooKotlinc.Inputs)
54 t.Errorf(`foo inputs %v != ["a.java"]`, fooJavac.Inputs)
58 t.Errorf("foo classpath %v does not contain %q",
63 t.Errorf("foo jar inputs %v does not contain %q",
72 t.Errorf(`bar kotlinc inputs %v != ["b.kt"]`, barKotlinc.Inputs)
76 t.Errorf(`expected %q in bar implicits %v`,
81 t.Errorf(`expected %q in bar implicits %v`,
128 t.Errorf(`foo kapt inputs %v != ["a.java", "b.kt"]`, kapt.Inputs)
131 t.Errorf(`foo kotlinc inputs %v != ["a.java", "b.kt"]`, kotlinc.Inputs)
136 t.Errorf(`foo inputs %v != ["a.java"]`, javac.Inputs)
[all …]
H A Dplugin_test.go34 t.Errorf("expected turbine to be enabled")
38 t.Errorf("want empty processorpath, got %q", javac.Args["processorpath"])
42 t.Errorf("want '-proc:none' argument, got %q", javac.Args["processor"])
67 t.Errorf("expected turbine to be enabled")
73 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
77 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
81 t.Errorf("foo processor %q != '-processor com.bar'", javac.Args["processor"])
107 t.Errorf("expected turbine to be disabled")
113 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
117 t.Errorf("foo processorpath %q != '-processorpath %s'", javac.Args["processorpath"], bar)
[all …]
H A Dandroidmk_test.go39 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
55 t.Errorf("two entries are expected, but got %d", len(entriesList))
62 t.Errorf("Unexpected module name - expected: %q, actual: %q", expected, actual)
69 t.Errorf("Unexpected module name - expected: %q, actual: %q", expected, actual)
86 t.Errorf("two entries are expected, but got %d", len(entriesList))
93 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
100 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
121 t.Errorf("two entries are expected, but got %d", len(entriesList))
126 t.Errorf("Unexpected required modules: %q", r)
133 t.Errorf("Unexpected required modules - expected: %q, actual: %q", expected, actual)
[all …]
H A Djava_test.go240 t.Errorf(`foo inputs %v != ["a.java"]`, javac.Inputs)
718 t.Errorf("atestOptimize should optimize APK")
723 t.Errorf("atestNoOptimize should not optimize APK")
728 t.Errorf("atestDefault should optimize APK")
831 t.Errorf("foo resource jar args %q is not %q",
875 t.Errorf("foo source jar args %q is not %q", w, g)
897 t.Errorf("bar source jar args %q is not %q", w, g)
1166 t.Errorf("incorrect output:")
1167 t.Errorf(" input: %#v", testCase.in)
1168 t.Errorf(" expected: %#v", testCase.out)
[all …]
/aosp12/build/soong/ui/logger/
H A Dlogger_test.go72 t.Errorf("File list does not match.")
73 t.Errorf(" got: %v", names)
74 t.Errorf("expected: %v", expected)
87 t.Errorf(" got: %v", data)
88 t.Errorf("expected: %v", expected)
172 t.Errorf("Unexpected panic: %#v", p)
181 t.Errorf("Should not get here")
188 t.Errorf("Panic not thrown")
197 t.Errorf("Should not get here")
203 t.Errorf("Panic not thrown")
[all …]
/aosp12/build/blueprint/
H A Dcontext_test.go161 t.Errorf(" %s", err)
168 t.Errorf("unexpected dep errors:")
170 t.Errorf(" %s", err)
227 t.Errorf(" %s", err)
236 t.Errorf(" %s", err)
308 t.Errorf(" %s", err)
317 t.Errorf(" %s", err)
375 t.Errorf(" %s", err)
384 t.Errorf(" %s", err)
421 t.Errorf(" %s", err)
[all …]
H A Dninja_defs.go161 return nil, fmt.Errorf("error parsing Command param: %s", err)
168 return nil, fmt.Errorf("error parsing Depfile param: %s", err)
196 return nil, fmt.Errorf("error parsing Rspfile param: %s", err)
307 return nil, fmt.Errorf("error parsing Outputs param: %s", err)
317 return nil, fmt.Errorf("error parsing Inputs param: %s", err)
322 return nil, fmt.Errorf("error parsing Implicits param: %s", err)
327 return nil, fmt.Errorf("error parsing OrderOnly param: %s", err)
340 return nil, fmt.Errorf("error parsing Depfile param: %s", err)
369 return nil, fmt.Errorf("unknown argument %q", name)
375 return nil, fmt.Errorf("argument lookup error: %s", err)
[all …]
H A Dninja_strings_test.go140 t.Errorf("incorrect ninja string:")
142 t.Errorf(" expected: %#v", expected)
143 t.Errorf(" got: %#v", output)
151 t.Errorf("unexpected error:")
152 t.Errorf(" input: %q", testCase.input)
153 t.Errorf(" expected: %q", testCase.err)
154 t.Errorf(" got: %q", errStr)
174 t.Errorf("incorrect output:")
175 t.Errorf(" input: %q", input)
176 t.Errorf(" expected: %#v", expect)
[all …]
H A Dsplice_modules_test.go120 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
121 t.Errorf("incorrect output:")
122 t.Errorf(" expected: %v", testCase.out)
123 t.Errorf(" got: %v", got)
126 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
127 t.Errorf("incorrect index:")
128 t.Errorf(" expected: %d", testCase.outAt)
129 t.Errorf(" got: %d", gotAt)
132 t.Errorf("test case: %v, %v -> %v", testCase.in, testCase.at, testCase.with)
137 t.Errorf(" expected to%s reallocate", not)
/aosp12/build/soong/rust/
H A Dlibrary_test.go192 t.Errorf("libbar not present as rlib dependency in static lib")
195 t.Errorf("libbar present as dynamic dependency in static lib")
201 t.Errorf("libbar not present as dynamic dependency in dynamic lib")
204 t.Errorf("libbar present as rlib dependency in dynamic lib")
233 t.Errorf("installed binary not based on stripped version: %v", cp.Input)
238 t.Errorf("stripped version of bar has been generated")
280 t.Errorf("Device rust_library_dylib does not link libstd as an dylib")
284 t.Errorf("Device rust_ffi_shared does not link libstd as an dylib")
287 t.Errorf("Device rust_ffi_static does not link libstd as an rlib")
290 t.Errorf("Device rust_ffi_static does not link dependent rustlib rlib-std variant")
[all …]
H A Dproject_json_test.go41 t.Errorf("rust-project.json has not been generated")
59 t.Errorf("Unexpected JSON format: %v", content)
62 t.Errorf("No crates attribute in rust-project.json: %v", root)
66 t.Errorf("Unexpected crates format: %v", root["crates"])
86 t.Errorf("Unexpected format for deps: %v", crate["deps"])
91 t.Errorf("Unexpected format for dependency: %v", dep)
95 t.Errorf("Dependency is missing the name key: %v", d)
225 t.Errorf("libbindings1 depends on itself")
239 t.Errorf("libd does not depend on libbindings1: %v", crate)
247 t.Errorf("libd does not have its OUT_DIR set: %v", env)
[all …]
H A Dbinary_test.go51 t.Errorf("rustlibs dependency libfoo should be an rlib dep for host modules")
55 t.Errorf("rustlibs dependency libfoo should be an dylib dep for device modules")
83 t.Errorf("libstd dependency should be an rlib dep when prefer_rlib is defined")
97 t.Errorf("wrong host tool path, expected %q got %q", w, g)
113 t.Errorf("extra --test flag, rustcFlags: %#v", flags)
137 t.Errorf("static binary missing '-static' in linkFlags, found: %#v", flags)
141 t.Errorf("static binary not linking against libc as a static library")
144 t.Errorf("static binary incorrectly linking against shared libraries")
162 t.Errorf("missing shared dependency 'libfoo.so' in linkFlags: %#v", linkFlags)
187 t.Errorf("installed binary not based on stripped version: %v", cp.Input)
[all …]
H A Dprotobuf_test.go46 …t.Errorf("libprotobuf dependency missing for rust_protobuf (dependency missing from AndroidMkDylib…
53 t.Errorf("expected %q in %q", w, cmd)
58 t.Errorf("expected %q in %q", w, cmd)
61 t.Errorf("expected %q in %q", w, cmd)
67 …t.Errorf("rust_protobuf is not producing multiple outputs; expected 'proto.rs' in list, got: %#v ",
88 t.Errorf("libgrpcio dependency missing for rust_grpcio (dependency missing from AndroidMkDylibs)")
93 …t.Errorf("libfutures dependency missing for rust_grpcio (dependency missing from AndroidMkDylibs)")
100 t.Errorf("expected %q in %q", w, cmd)
105 t.Errorf("expected %q in %q", w, cmd)
111 …t.Errorf("rust_protobuf is not producing multiple outputs; expected 'proto_grpc.rs' in list, got: …
H A Drust_test.go158 …t.Errorf("libNameFromFilePath returned the wrong name; expected '%#v', got '%#v'", expectedResult,…
212 t.Errorf("Dylib dependency not detected (dependency missing from AndroidMkDylibs)")
216 t.Errorf("Rlib dependency not detected (dependency missing from AndroidMkRlibs)")
220 t.Errorf("Proc_macro dependency not detected (dependency missing from AndroidMkProcMacroLibs)")
224 t.Errorf("Shared library dependency not detected (dependency missing from AndroidMkSharedLibs)")
228 t.Errorf("Static library dependency not detected (dependency missing from AndroidMkStaticLibs)")
232 …t.Errorf("-lstatic flag not being passed to rustc for static library %#v", rustc.Args["rustcFlags"…
317 …t.Errorf("bindgen dependency not detected as a rlib dependency (dependency missing from AndroidMkR…
321 …t.Errorf("bindgen dependency not detected as a rlib dependency (dependency missing from AndroidMkR…
374 t.Errorf("Proc_macro is not using host variant of dependent modules.")
[all …]
H A Dbindgen_test.go57 t.Errorf("missing bindgen flags in rust_bindgen rule: flags %#v", libbindgen.Args["flags"])
60 t.Errorf("missing clang cflags in rust_bindgen rule: cflags %#v", libbindgen.Args["cflags"])
63 …t.Errorf("missing shared_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
66 …t.Errorf("missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
69 …t.Errorf("missing static_libs exported includes in rust_bindgen rule: cflags %#v", libbindgen.Args…
72 …t.Errorf("rust_bindgen missing cflags defined in cc_defaults: cflags %#v", libbindgen.Args["cflags…
97 t.Errorf("Custom bindgen binary %s not used for libbindgen: rule description %#v", "my_bindgen",
138 t.Errorf("c_std value not passed in to rust_bindgen as a clang flag")
142 t.Errorf("cpp_std value not passed in to rust_bindgen as a clang flag")
/aosp12/system/tools/sysprop/
H A DCommon.cpp111 return Errorf("Invalid API name \"{}\"", prop.api_name()); in ValidateProp()
141 return Errorf("Invalid prop name \"{}\"", prop.prop_name()); in ValidateProp()
147 return Errorf("Invalid legacy prop name \"{}\"", legacy_name); in ValidateProp()
164 return Errorf( in ValidateProp()
172 return Errorf( in ValidateProp()
205 return Errorf("Invalid module name \"{}\"", props.module()); in ValidateProps()
210 return Errorf("Invalid name \"{}\" in module", name); in ValidateProps()
215 return Errorf("There is no defined property"); in ValidateProps()
304 return Errorf("Error parsing file {}", input_file_path); in ParseProps()
327 return Errorf("Error parsing file {}", input_file_path); in ParseApiFile()
[all …]
/aosp12/build/blueprint/proptools/
H A Dclone.go28 panic(fmt.Errorf("CloneProperties expected *struct, got %s", structValue.Type()))
40 panic(fmt.Errorf("CopyProperties expected dstValue *struct, got %s", dstValue.Type()))
51 panic(fmt.Errorf("can't copy mismatching types (%s <- %s)",
57 panic(fmt.Errorf("can't copy a private field %q", field.Name))
130 panic(fmt.Errorf("can't clone pointer field %q type %s",
134 panic(fmt.Errorf("unexpected type for property struct field %q: %s",
144 panic(fmt.Errorf("ZeroProperties expected *struct, got %s", structValue.Type()))
186 panic(fmt.Errorf("can't zero field %q: points to a %s",
192 panic(fmt.Errorf("unexpected kind for property struct field %q: %s",
258 panic(fmt.Errorf("can't clone empty field %q: points to a %s",
[all …]
H A Dunpack_test.go736 t.Errorf(" %s", err)
763 t.Errorf(" %s", err)
768 t.Errorf("incorrect errors:")
770 t.Errorf(" got: %+v", errs)
782 t.Errorf("incorrect output:")
975 t.Errorf(" %s", err)
1007 t.Errorf("got errors:")
1009 t.Errorf(" %s", err.Error())
1024 b.Errorf("test case: %s", input)
1027 b.Errorf(" %s", err)
[all …]
/aosp12/build/soong/ui/build/
H A Denvironment_test.go28 t.Errorf("Expected [TEST2=0], got: %v", got)
37 t.Errorf("Expected [TEST2=0], got: %v", got)
46 t.Errorf("Expected [TEST=0], got: %v", got)
55 t.Errorf("Expected [TEST=0], got: %v", got)
64 t.Errorf("Expected [TEST=1 TEST3=2], got: %v", got)
85 t.Errorf("Environment list does not match")
86 t.Errorf("expected: %v", expected)
87 t.Errorf(" got: %v", got)
/aosp12/build/blueprint/bpmodify/
H A Dbpmodify_test.go308 t.Errorf(" %s", err)
310 t.Errorf("failed to parse:")
311 t.Errorf("%+v", testCase)
320 t.Errorf("test case %d:", i)
322 t.Errorf(" %s", err)
328 t.Errorf("test case %d:", i)
329 t.Errorf("expected module definition:")
330 t.Errorf(" %s", testCase.output)
331 t.Errorf("actual module definition:")
332 t.Errorf(" %s", inModuleString)

12345678910>>...16