Merge "Add reference to bundle_file in request_type_test"
This commit is contained in:
@@ -142,15 +142,18 @@ func TestGetApexInfoParseResults(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "one result",
|
description: "one result",
|
||||||
input: `{"signed_output":"my.apex",` +
|
input: `{
|
||||||
`"unsigned_output":"my.apex.unsigned",` +
|
"signed_output":"my.apex",
|
||||||
`"requires_native_libs":["//bionic/libc:libc","//bionic/libdl:libdl"],` +
|
"unsigned_output":"my.apex.unsigned",
|
||||||
`"bundle_key_info":["foo.pem", "foo.privkey"],` +
|
"requires_native_libs":["//bionic/libc:libc","//bionic/libdl:libdl"],
|
||||||
`"container_key_info":["foo.x509.pem", "foo.pk8", "foo"],` +
|
"bundle_key_info":["foo.pem", "foo.privkey"],
|
||||||
`"package_name":"package.name",` +
|
"container_key_info":["foo.x509.pem", "foo.pk8", "foo"],
|
||||||
`"symbols_used_by_apex": "path/to/my.apex_using.txt",` +
|
"package_name":"package.name",
|
||||||
`"backing_libs":"path/to/backing.txt",` +
|
"symbols_used_by_apex": "path/to/my.apex_using.txt",
|
||||||
`"provides_native_libs":[]}`,
|
"backing_libs":"path/to/backing.txt",
|
||||||
|
"bundle_file": "dir/bundlefile.zip",
|
||||||
|
"provides_native_libs":[]
|
||||||
|
}`,
|
||||||
expectedOutput: ApexInfo{
|
expectedOutput: ApexInfo{
|
||||||
SignedOutput: "my.apex",
|
SignedOutput: "my.apex",
|
||||||
UnsignedOutput: "my.apex.unsigned",
|
UnsignedOutput: "my.apex.unsigned",
|
||||||
@@ -161,6 +164,7 @@ func TestGetApexInfoParseResults(t *testing.T) {
|
|||||||
PackageName: "package.name",
|
PackageName: "package.name",
|
||||||
SymbolsUsedByApex: "path/to/my.apex_using.txt",
|
SymbolsUsedByApex: "path/to/my.apex_using.txt",
|
||||||
BackingLibs: "path/to/backing.txt",
|
BackingLibs: "path/to/backing.txt",
|
||||||
|
BundleFile: "dir/bundlefile.zip",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user