From 171de3ef7c891d542b907a9257252164de0dc989 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Sat, 13 Mar 2021 10:18:26 +0000 Subject: [PATCH] Fix TestClasspath to work without javaMockFS() Bug: 182638834 Test: m nothing Change-Id: Icd6fe93cbda418cb4eaf5e99800894d4c4cc5e6f --- java/sdk_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/sdk_test.go b/java/sdk_test.go index 50755cf89..37875a43b 100644 --- a/java/sdk_test.go +++ b/java/sdk_test.go @@ -353,6 +353,11 @@ func TestClasspath(t *testing.T) { } fixtureFactory := javaFixtureFactory.Extend( + FixtureWithPrebuiltApis(map[string][]string{ + "29": {}, + "30": {}, + "current": {}, + }), android.FixtureModifyProductVariables(func(variables android.FixtureProductVariables) { if testcase.unbundled { variables.Unbundled_build = proptools.BoolPtr(true)