summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-21 17:27:21 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-21 17:27:21 +0000
commitfed2be9f98eb4e040cc0fe2a633f2bbef2f57eb7 (patch)
treeadff1d920d61a3e58e818327841a078bd3cb2ef8 /java/java_test.go
parent079871cd55bb72337197c2782fa9fb64476b506a (diff)
parent51c2231eab35f051141e642850891a626bd786cb (diff)
Merge "Access output files thru providers in Soong tests." into main
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 477a0b385..9e39b51aa 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -2919,9 +2919,9 @@ func TestJavaLibraryOutputFilesRel(t *testing.T) {
bar := result.ModuleForTests("bar", "android_common")
baz := result.ModuleForTests("baz", "android_common")
- fooOutputPaths := foo.OutputFiles(t, "")
- barOutputPaths := bar.OutputFiles(t, "")
- bazOutputPaths := baz.OutputFiles(t, "")
+ fooOutputPaths := foo.OutputFiles(result.TestContext, t, "")
+ barOutputPaths := bar.OutputFiles(result.TestContext, t, "")
+ bazOutputPaths := baz.OutputFiles(result.TestContext, t, "")
android.AssertPathsRelativeToTopEquals(t, "foo output path",
[]string{"out/soong/.intermediates/foo/android_common/javac/foo.jar"}, fooOutputPaths)