Java test code clean-up
Remove unused parameters and make testJava return the config. Test: Ran all java tests. Change-Id: Iaa123f3fd93188e2f55452b887e1d340429cc710
This commit is contained in:
@@ -142,7 +142,7 @@ func TestDexpreoptEnabled(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
ctx := testJava(t, test.bp)
|
||||
ctx, _ := testJava(t, test.bp)
|
||||
|
||||
dexpreopt := ctx.ModuleForTests("foo", "android_common").MaybeDescription("dexpreopt")
|
||||
enabled := dexpreopt.Rule != nil
|
||||
|
Reference in New Issue
Block a user