aboutsummaryrefslogtreecommitdiff
path: root/sdk
diff options
context:
space:
mode:
authorJiakai Zhang <jiakaiz@google.com>2023-05-11 16:39:27 +0100
committerJiakai Zhang <jiakaiz@google.com>2023-05-11 18:24:44 +0100
commitb95998be731406209f18fab764b96421a17ab4c9 (patch)
treec588e7b7e6413ab36894de2658d00a2892345e08 /sdk
parent9241da96626b6e224fbf255f1d03ea0bf4e8958b (diff)
Prepare tests for dexpreopt changes.
After this change, there is a clear separation between tests that are related to dexpreopt and tests that are not. The former uses PrepareForTestWithDexpreopt, while the latter uses PrepareForTestWithJavaDefaultModules. The benefit is that the latter will no longer affected by any dexpreopt changes. Bug: 280776428 Test: m nothing Change-Id: Ib957765b9287d51c082e0a33cee17a6bb56daeef
Diffstat (limited to 'sdk')
-rw-r--r--sdk/bootclasspath_fragment_sdk_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdk/bootclasspath_fragment_sdk_test.go b/sdk/bootclasspath_fragment_sdk_test.go
index 0d6496dd3..bef82d601 100644
--- a/sdk/bootclasspath_fragment_sdk_test.go
+++ b/sdk/bootclasspath_fragment_sdk_test.go
@@ -74,7 +74,7 @@ func fixtureAddPrebuiltApexForBootclasspathFragment(apex, fragment string) andro
func TestSnapshotWithBootclasspathFragment_ImageName(t *testing.T) {
result := android.GroupFixturePreparers(
prepareForSdkTestWithJava,
- java.PrepareForTestWithJavaDefaultModules,
+ java.PrepareForTestWithDexpreopt,
prepareForSdkTestWithApex,
// Some additional files needed for the art apex.