Add reference to bundle_file in request_type_test

Test: go test soong tests
Change-Id: I60e8930e4565a9b076e1f487300e1e2e1d3e66d0
This commit is contained in:
Liz Kammer 2022-11-09 09:03:52 -05:00
parent 303978dcd2
commit 08626ec9d7

View file

@ -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",
},
},
}