diff options
author | 2021-03-11 08:10:19 +0000 | |
---|---|---|
committer | 2021-03-11 09:39:18 +0000 | |
commit | c52bea9555086692a7afc0dc5cf36b60ca430057 (patch) | |
tree | da03e392f97bcb5a44cd959a8292832d54c3ef3e /java/system_modules.go | |
parent | f23e346f6cff3162b3b9ca8e73ddea8ac2f4ca89 (diff) |
Improve system modules tests
The previous approach of looking for substrings in the command that
matched the base name of the jar could not differentiate between
whether the jar was a prebuilt or a source as they both have the same
base name.
The tests also did not cover the case when there was both prebuilts
and source modules.
This change:
1. Checks that the inputs to the command come from the appropriate
module.
2. Adds a mixed test.
3. Deduped the source and prebuilt module definitions.
The new test reveals the buggy behavior which will be fixed in a follow
up change.
Bug: 182402568
Test: m nothing
Change-Id: I384ecca097cbe3560e7589c23fb99c176a42fd9b
Diffstat (limited to 'java/system_modules.go')
0 files changed, 0 insertions, 0 deletions