From 08626ec9d7e4615554c2ca8d96a42b559ead597d Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Wed, 9 Nov 2022 09:03:52 -0500 Subject: [PATCH] Add reference to bundle_file in request_type_test Test: go test soong tests Change-Id: I60e8930e4565a9b076e1f487300e1e2e1d3e66d0 --- bazel/cquery/request_type_test.go | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/bazel/cquery/request_type_test.go b/bazel/cquery/request_type_test.go index 2c3548970..86f128e15 100644 --- a/bazel/cquery/request_type_test.go +++ b/bazel/cquery/request_type_test.go @@ -142,15 +142,18 @@ func TestGetApexInfoParseResults(t *testing.T) { }, { description: "one result", - input: `{"signed_output":"my.apex",` + - `"unsigned_output":"my.apex.unsigned",` + - `"requires_native_libs":["//bionic/libc:libc","//bionic/libdl:libdl"],` + - `"bundle_key_info":["foo.pem", "foo.privkey"],` + - `"container_key_info":["foo.x509.pem", "foo.pk8", "foo"],` + - `"package_name":"package.name",` + - `"symbols_used_by_apex": "path/to/my.apex_using.txt",` + - `"backing_libs":"path/to/backing.txt",` + - `"provides_native_libs":[]}`, + input: `{ + "signed_output":"my.apex", + "unsigned_output":"my.apex.unsigned", + "requires_native_libs":["//bionic/libc:libc","//bionic/libdl:libdl"], + "bundle_key_info":["foo.pem", "foo.privkey"], + "container_key_info":["foo.x509.pem", "foo.pk8", "foo"], + "package_name":"package.name", + "symbols_used_by_apex": "path/to/my.apex_using.txt", + "backing_libs":"path/to/backing.txt", + "bundle_file": "dir/bundlefile.zip", + "provides_native_libs":[] +}`, expectedOutput: ApexInfo{ SignedOutput: "my.apex", UnsignedOutput: "my.apex.unsigned", @@ -161,6 +164,7 @@ func TestGetApexInfoParseResults(t *testing.T) { PackageName: "package.name", SymbolsUsedByApex: "path/to/my.apex_using.txt", BackingLibs: "path/to/backing.txt", + BundleFile: "dir/bundlefile.zip", }, }, }