diff options
author | 2024-07-01 16:35:32 -0700 | |
---|---|---|
committer | 2024-07-09 10:57:54 -0700 | |
commit | 39e68fff470e7737c8ae9d9fd46ace1c5f5c70a7 (patch) | |
tree | 177b466c4254729220c8dfbc6c67103445c9bb3c /java/droiddoc_test.go | |
parent | dc554b218d43cd92dbb028c9ef39a8fce7cbb9a6 (diff) |
Use OutputFilesProvider on droidstubs
In the context of incremental soong, the output files
inter-module-communication will be through OutputFilesProvider.
The OutputFileProducer interface will be deprecated.
Test: CI
Bug: 339477385
Change-Id: I8ea7463cfc3881d800255aa99147897eeba85b04
Diffstat (limited to 'java/droiddoc_test.go')
-rw-r--r-- | java/droiddoc_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/droiddoc_test.go b/java/droiddoc_test.go index 8d1f5917c..e5846407f 100644 --- a/java/droiddoc_test.go +++ b/java/droiddoc_test.go @@ -69,11 +69,7 @@ func TestDroiddoc(t *testing.T) { "bar-doc/a.java": nil, "bar-doc/b.java": nil, }) - barStubs := ctx.ModuleForTests("bar-stubs", "android_common") - barStubsOutputs, err := barStubs.Module().(*Droidstubs).OutputFiles("") - if err != nil { - t.Errorf("Unexpected error %q retrieving \"bar-stubs\" output file", err) - } + barStubsOutputs := ctx.ModuleForTests("bar-stubs", "android_common").OutputFiles(t, "") if len(barStubsOutputs) != 1 { t.Errorf("Expected one output from \"bar-stubs\" got %s", barStubsOutputs) } |