diff options
| author | 2023-01-11 18:39:12 +0000 | |
|---|---|---|
| committer | 2023-01-11 18:44:53 +0000 | |
| commit | 18845d0f7a8610eab33844b5ec891e77cd533d33 (patch) | |
| tree | c2c6f132906129351af75c17bbc277220503ebaf /java/app_test.go | |
| parent | e0598a1cbd20d410d33d7849a3ef9f06e683031e (diff) | |
Update app tests to set Unbundled_build
Based on the description for UnbundledBuildApps(), UnbundledBuild()
should always be true when UnbundledBuildApps() is true.
Updating the test to match this condition.
More details: https://android-review.git.corp.google.com/c/platform/build/soong/+/2380693/comment/54f172b4_2eee54fa/
Bug: b/227460469
Test: m nothing
Change-Id: I3a93edb781522da5af201f6864e157e7bab2195a
Diffstat (limited to 'java/app_test.go')
| -rw-r--r-- | java/app_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/app_test.go b/java/app_test.go index cd8886426..3fb67c188 100644 --- a/java/app_test.go +++ b/java/app_test.go @@ -3163,6 +3163,7 @@ func TestDefaultAppTargetSdkVersionForUpdatableModules(t *testing.T) { variables.Platform_sdk_version = &platform_sdk_version variables.Platform_sdk_codename = &platform_sdk_codename variables.Platform_version_active_codenames = []string{platform_sdk_codename} + variables.Unbundled_build = proptools.BoolPtr(true) variables.Unbundled_build_apps = []string{"sampleModule"} }), ) @@ -3241,6 +3242,7 @@ func TestEnforceDefaultAppTargetSdkVersionFlag(t *testing.T) { variables.Platform_sdk_final = &testCase.platform_sdk_final variables.Platform_sdk_version = &platform_sdk_version variables.Platform_sdk_codename = &platform_sdk_codename + variables.Unbundled_build = proptools.BoolPtr(true) variables.Unbundled_build_apps = []string{"sampleModule"} }), ) @@ -3311,6 +3313,7 @@ func TestEnforceDefaultAppTargetSdkVersionFlagForTests(t *testing.T) { variables.Platform_sdk_final = &testCase.platform_sdk_final variables.Platform_sdk_version = &platform_sdk_version variables.Platform_sdk_codename = &platform_sdk_codename + variables.Unbundled_build = proptools.BoolPtr(true) variables.Unbundled_build_apps = []string{"sampleModule"} }), ) |