/build/soong/android/ |
D | util_test.go | 68 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:") 128 t.Errorf(" input: %#v", testCase.in) 129 t.Errorf(" expected: %#v", testCase.out) 130 t.Errorf(" got: %#v", out) 164 t.Errorf("incorrect output:") 165 t.Errorf(" input: %#v", testCase.input) [all …]
|
D | onceper_test.go | 30 t.Errorf(`first call to Once should return "a": %q`, a) 34 t.Errorf(`second call to Once with the same key should return "a": %q`, b) 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) 107 t.Errorf(`first call to OnceStringSlice should return ["a"]: %q`, a) 111 t.Errorf(`second call to OnceStringSlice with the same key should return ["a"]: %q`, b) 123 t.Errorf(`first call to Once2StringSlice should return ["a"], ["b"]: %q, %q`, a, b) 127 …t.Errorf(`second call to Once2StringSlice with the same key should return ["a"], ["b"]: %q, %q`, c… [all …]
|
D | bazel_handler_test.go | 18 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)
|
D | test_asserts.go | 31 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) 125 t.Errorf("%s: unexpectedly found %q within %q", message, unexpectedSubstring, 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) [all …]
|
/build/soong/ui/logger/ |
D | logger_test.go | 72 t.Errorf("File list does not match.") 73 t.Errorf(" got: %v", names) 74 t.Errorf("expected: %v", expected) 81 t.Errorf("Error reading file: %v", err) 86 t.Errorf("Contents of %v does not match.", name) 87 t.Errorf(" got: %v", data) 88 t.Errorf("expected: %v", expected) 127 t.Errorf("Expected process to exit with status 42, got %v", err) 149 t.Errorf("Expected process to exit with status 1, got %v", err) 164 t.Errorf("Expected process to exit cleanly, got %v", err) [all …]
|
/build/soong/java/ |
D | app_import_test.go | 45 t.Errorf("can't find dexpreopt outputs") 53 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag) 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") 131 t.Errorf("Incorrect certificates flags, expected: %q, got: %q", expected, certificatesFlag) 137 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag) 163 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag) 184 t.Errorf("can't find dexpreopt outputs") [all …]
|
D | kotlin_test.go | 50 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 …]
|
D | plugin_test.go | 34 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 …]
|
D | androidmk_test.go | 39 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 …]
|
/build/soong/rust/ |
D | library_test.go | 52 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", rlibCrateType, l… 57 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", dylibCrateType, … 62 …t.Errorf("missing crate-type for static variant, expecting %#v, rustcFlags: %#v", staticCrateType,… 67 …t.Errorf("missing crate-type for shared variant, expecting %#v, got rustcFlags: %#v", sharedCrateT… 84 …t.Errorf("missing prefer-dynamic flag for libfoo dylib, rustcFlags: %#v", libfooDylib.Args["rustcF… 137 t.Errorf("missing expected -Wl,-soname linker flag for libfoo shared lib, linkFlags: %#v", 142 …t.Errorf("Non-static libstd dylib expected to be a dependency of Rust shared libraries. Dylib deps… 158 …t.Errorf("Static libstd rlib expected to be a dependency of Rust static libraries. Rlib deps are: … 192 t.Errorf("libbar not present as rlib dependency in static lib") 195 t.Errorf("libbar present as dynamic dependency in static lib") [all …]
|
D | binary_test.go | 51 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") 79 t.Errorf("rustlibs dependency libfoo should be an rlib dep when prefer_rlib is defined") 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) 131 t.Errorf("static binary missing '-C relocation-model=static' in rustcFlags, found: %#v", flags) 134 t.Errorf("static binary missing '-C panic=abort' in rustcFlags, found: %#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") [all …]
|
D | protobuf_test.go | 46 …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: …
|
D | project_json_test.go | 41 t.Errorf("rust-project.json has not been generated") 55 t.Errorf("Unable to parse the rust-project.json as JSON: %v", err) 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) 149 t.Errorf("Incorrect features: got %v; want %v", foundCfg, expectedCfgs[i]) 175 t.Errorf("Entry for binary %q not found: %s", "a", jsonContent) [all …]
|
D | bindgen_test.go | 57 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")
|
D | rust_test.go | 158 …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"… 292 …t.Errorf("rust_bindgen generated source not included as implicit input for libfoo; Implicits %#v",… 295 …t.Errorf("genrule generated source not included as implicit input for libfoo; Implicits %#v", libf… 300 …t.Errorf("rust_bindgen generated source not included as implicit input for fizz-buzz-dep; Implicit… [all …]
|
D | test_test.go | 36 t.Errorf("wrong output path: %v; expected: %v", outPath, expectedOut) 41 t.Errorf("expected exactly one test data file. test data files: [%s]", dataPaths) 68 …t.Errorf("rlib-std variant for libfoo not detected as a rustlib-defined rlib dependency for device… 71 …t.Errorf("rlib-std variant for libbar not detected as an rlib dependency for device rust_test modu… 74 t.Errorf("Device rust_test module 'my_test' does not link libstd as an rlib")
|
/build/soong/ui/build/ |
D | environment_test.go | 28 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)
|
/build/blueprint/ |
D | context_test.go | 159 t.Errorf("unexpected parse errors:") 161 t.Errorf(" %s", err) 168 t.Errorf("unexpected dep errors:") 170 t.Errorf(" %s", err) 225 t.Errorf("unexpected parse errors:") 227 t.Errorf(" %s", err) 234 t.Errorf("unexpected dep errors:") 236 t.Errorf(" %s", err) 244 t.Errorf("unexpected walkDeps behaviour: %s\ndown should be: BCEFG", outputDown) 247 t.Errorf("unexpected walkDeps behaviour: %s\nup should be: BEGFC", outputUp) [all …]
|
D | ninja_strings_test.go | 140 t.Errorf("incorrect ninja string:") 141 t.Errorf(" input: %q", testCase.input) 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) [all …]
|
D | ninja_defs.go | 151 return nil, fmt.Errorf("encountered rule params with no command " + 156 return nil, fmt.Errorf("Pool %s is not visible in this scope", r.Pool) 161 return nil, fmt.Errorf("error parsing Command param: %s", err) 168 return nil, fmt.Errorf("error parsing Depfile param: %s", err) 180 return nil, fmt.Errorf("error parsing Description param: %s", err) 196 return nil, fmt.Errorf("error parsing Rspfile param: %s", err) 204 return nil, fmt.Errorf("error parsing RspfileContent param: %s", 213 return nil, fmt.Errorf("error parsing SymlinkOutputs param: %s", 221 return nil, fmt.Errorf("error parsing CommandDeps param: %s", err) 226 return nil, fmt.Errorf("error parsing CommandDeps param: %s", err) [all …]
|
D | splice_modules_test.go | 120 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)
|
/build/soong/bp2build/ |
D | conversion_test.go | 54 t.Errorf("Expected %d files, got %d", e, a) 71 t.Errorf("Did not find expected file %s/%s", actualFile.Dir, actualFile.Basename) 74 t.Errorf("Expected %s to have no content.", actualFile) 77 t.Errorf("Contents of %s unexpected empty.", actualFile) 97 t.Errorf("Expected %d file, got %d", len(expectedFilePaths), len(files)) 104 t.Errorf("Did not find expected file %s/%s", actualFile.Dir, actualFile.Basename) 108 t.Errorf("Contents of %s unexpected empty.", actualFile)
|
/build/soong/linkerconfig/ |
D | linkerconfig_test.go | 52 t.Errorf("expected linker.config.pb, got %q", p.outputFilePath.Base()) 59 t.Errorf("Value of %s is '%s', but expected as '%s'", k, value, expectedValue) 62 t.Errorf("%s is not defined", k) 67 t.Errorf("Value of LOCAL_UNINSTALLABLE_MODULE is %s, but expected as empty", value) 86 t.Errorf("LOCAL_UNINSTALLABLE_MODULE is expected to be true but %s", value) 89 t.Errorf("LOCAL_UNINSTALLABLE_MODULE is not defined")
|
/build/blueprint/bpmodify/ |
D | bpmodify_test.go | 308 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)
|
/build/blueprint/proptools/ |
D | clone.go | 28 panic(fmt.Errorf("CloneProperties expected *struct, got %s", structValue.Type())) 40 panic(fmt.Errorf("CopyProperties expected dstValue *struct, got %s", dstValue.Type())) 43 panic(fmt.Errorf("CopyProperties expected srcValue *struct, got %s", srcValue.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)) 90 panic(fmt.Errorf("can't clone field %q: expected interface to contain *struct, found %s", 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())) 172 panic(fmt.Errorf("can't zero field %q: expected interface to contain *struct, found %s", [all …]
|