Lines Matching refs:expected

184 		expected            map[string]string
191 expected: map[string]string{
205 expected: map[string]string{
226 for k, v := range test.expected {
1585 expected []string
1597 expected: []string{
1612 expected: []string{
1636 for _, e := range test.expected {
1746 for _, expected := range expectedVariants {
1747 variant := ctx.ModuleForTests("foo", expected.variantName)
1751 expectedApkPath := buildDir + expected.apkPath
1764 signapk := variant.Output(expected.moduleName + ".apk")
1766 if expected.certFlag != certFlag {
1767 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected.certFlag, certFlag)
1772 if expected.lineageFlag != lineageFlag {
1773 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected.lineageFlag, lineageFlag)
1778 if !reflect.DeepEqual(expected.overrides, mod.appProperties.Overrides) {
1780 expected.overrides, mod.appProperties.Overrides)
1785 if expected.logging_parent != logging_parent {
1787 expected.logging_parent, logging_parent)
1793 if !strings.Contains(aapt2Flags, expected.aaptFlag) {
1794 …t.Errorf("package renaming flag, %q is missing in aapt2 link flags, %q", expected.aaptFlag, aapt2F…
1897 for _, expected := range expectedVariants {
1898 variant := ctx.ModuleForTests("foo_test", expected.variantName)
1902 expectedApkPath := buildDir + expected.apkPath
1916 if !reflect.DeepEqual(expected.overrides, mod.appProperties.Overrides) {
1918 expected.overrides, mod.appProperties.Overrides)
1923 …turbine := filepath.Join(buildDir, ".intermediates", "foo", expected.targetVariant, "turbine-combi…
1931 checkAapt2LinkFlag(t, aapt2Flags, "rename-manifest-package", expected.packageFlag)
1932 …checkAapt2LinkFlag(t, aapt2Flags, "rename-instrumentation-target-package", expected.targetPackageF…
2040expected := "build/make/target/product/security/platform.x509.pem build/make/target/product/securi…
2041 if expected != signingFlag {
2042 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
2110 expected := "--lineage lineage.bin"
2111 if expected != signingFlag {
2112 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
2139expected := "build/make/target/product/security/testkey.x509.pem build/make/target/product/securit…
2140 if expected != signingFlag {
2141 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
2168 expected string
2174 expected: "prebuilts/apk/app.apk",
2180 expected: "prebuilts/apk/app_xhdpi.apk",
2186 expected: "prebuilts/apk/app_xxhdpi.apk",
2192 expected: "prebuilts/apk/app_xhdpi.apk",
2198 expected: "prebuilts/apk/app.apk",
2217 if test.expected != matches[1] {
2218 t.Errorf("wrong src apk, expected: %q got: %q", test.expected, matches[1])
2241 expected string
2245 expected: "foo.apk",
2249 expected: "bar_sample.apk",
2255 if variant.MaybeOutput(test.expected).Rule == nil {
2256 t.Errorf("can't find output named %q - all outputs: %v", test.expected, variant.AllOutputs())
2260 expectedValues := []string{test.expected}
2275 expected string
2294 expected: "prebuilts/apk/app_arm64.apk",
2313 expected: "prebuilts/apk/app.apk",
2327 if test.expected != matches[1] {
2328 t.Errorf("wrong src apk, expected: %q got: %q", test.expected, matches[1])
2349 expected := []string{"tests"}
2351 if !reflect.DeepEqual(expected, actual) {
2352 t.Errorf("Unexpected module tags - expected: %q, actual: %q", expected, actual)
2354 expected = []string{"testdata/data:testdata/data"}
2356 if !reflect.DeepEqual(expected, actual) {
2357 t.Errorf("Unexpected test data - expected: %q, actual: %q", expected, actual)
2985expected := "build/make/target/product/security/platform.x509.pem build/make/target/product/securi…
2986 if expected != signingFlag {
2987 t.Errorf("Incorrect signing flags, expected: %q, got: %q", expected, signingFlag)
3062 for _, expected := range expectedVariants {
3063 variant := ctx.ModuleForTests("foo_overlay", expected.variantName)
3067 expectedApkPath := buildDir + expected.apkPath
3081 if !reflect.DeepEqual(expected.overrides, mod.properties.Overrides) {
3083 expected.overrides, mod.properties.Overrides)
3089 checkAapt2LinkFlag(t, aapt2Flags, "rename-manifest-package", expected.packageFlag)
3090 checkAapt2LinkFlag(t, aapt2Flags, "rename-overlay-target-package", expected.targetPackageFlag)