diff options
author | 2024-08-20 23:56:15 +0000 | |
---|---|---|
committer | 2024-08-21 00:03:50 +0000 | |
commit | 51c2231eab35f051141e642850891a626bd786cb (patch) | |
tree | 0d9564de86e0d69569cc815162814c4571d7b21b /java/droiddoc_test.go | |
parent | 97bf07a2ef8f5fd3c78cd674f35120e55df7d45e (diff) |
Access output files thru providers in Soong tests.
The outputFiles field on ModuleBase will be removed next.
Bug: 358425833
Test: CI
Change-Id: I6d665ac13134d9278e5908f64c454366bc6bca5e
Diffstat (limited to 'java/droiddoc_test.go')
-rw-r--r-- | java/droiddoc_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/droiddoc_test.go b/java/droiddoc_test.go index e5846407f..9e1ebbed0 100644 --- a/java/droiddoc_test.go +++ b/java/droiddoc_test.go @@ -69,7 +69,7 @@ func TestDroiddoc(t *testing.T) { "bar-doc/a.java": nil, "bar-doc/b.java": nil, }) - barStubsOutputs := ctx.ModuleForTests("bar-stubs", "android_common").OutputFiles(t, "") + barStubsOutputs := ctx.ModuleForTests("bar-stubs", "android_common").OutputFiles(ctx, t, "") if len(barStubsOutputs) != 1 { t.Errorf("Expected one output from \"bar-stubs\" got %s", barStubsOutputs) } |