summaryrefslogtreecommitdiff
path: root/sdk/java_sdk_test.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-02-03 14:11:27 +0000
committerPaul Duffin <paulduffin@google.com>2021-02-04 10:07:41 +0000
commit9c3ac96f1fcc64432ef28f21f86bc98bfd518647 (patch)
tree312e11e9331fd48f0bb6f301573ae1b8ebf8e62a /sdk/java_sdk_test.go
parent53b2427fc9a3e256d8611ba27f399fe828797468 (diff)
Detect empty apex in ConfiguredJarList
Previously, ConfiguredJarList would accept an empty apex name, e.g. ":jar" which makes no sense as every apex has to have a non-empty name. This change makes an empty apex invalid. In order to improve the test coverage of the TestConfiguredJarList test this change also changes the implementation of CreateTestConfiguredJarList([]string) to marshal the supplied strings into a json list and then unmarshal into a ConfiguredJarList which more closely matches how it is used at runtime. Bug: 178361284 Test: m nothing Change-Id: I7dfec6b4cc1923aa99746e976da0393922ef0791
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions