diff options
author | Jaewoong Jung <jungjw@google.com> | 2019-07-17 11:15:09 -0700 |
---|---|---|
committer | Jaewoong Jung <jungjw@google.com> | 2019-07-17 11:15:09 -0700 |
commit | f9a0443a9c66ae9cc1d8466be4ddf120eb884ae6 (patch) | |
tree | 92e488c6f06ae1709df9e03f5837867846f0747e /java/sdk_test.go | |
parent | 63f4b57a7f6b4050b1fcc81eba3f031ebabf2da9 (diff) |
Java test code clean-up
Remove unused parameters and make testJava return the config.
Test: Ran all java tests.
Change-Id: Iaa123f3fd93188e2f55452b887e1d340429cc710
Diffstat (limited to 'java/sdk_test.go')
-rw-r--r-- | java/sdk_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/sdk_test.go b/java/sdk_test.go index f82a4fba9..6be17eb88 100644 --- a/java/sdk_test.go +++ b/java/sdk_test.go @@ -282,7 +282,7 @@ func TestClasspath(t *testing.T) { if testcase.pdk { config.TestProductVariables.Pdk = proptools.BoolPtr(true) } - ctx := testContext(config, bp, nil) + ctx := testContext(bp, nil) run(t, ctx, config) checkClasspath(t, ctx) @@ -309,7 +309,7 @@ func TestClasspath(t *testing.T) { if testcase.pdk { config.TestProductVariables.Pdk = proptools.BoolPtr(true) } - ctx := testContext(config, bp, nil) + ctx := testContext(bp, nil) run(t, ctx, config) javac := ctx.ModuleForTests("foo", variant).Rule("javac") @@ -335,7 +335,7 @@ func TestClasspath(t *testing.T) { if testcase.pdk { config.TestProductVariables.Pdk = proptools.BoolPtr(true) } - ctx := testContext(config, bp, nil) + ctx := testContext(bp, nil) run(t, ctx, config) checkClasspath(t, ctx) |