This will take over the responsibilities of StrictJavaPackagesTest's
setup code, and by fetching and processing all classpath data, as
defined in go/stricter-java-packages-test .
Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I93d2651994f7602d60ae91ca2401b83ae8c57baf
Bug: 235322441
Test: built locally and verified contents.
Change-Id: Ia1a8f0f1dc8bcba2142e36f6236f5940fc2c8cb9
Ignore-AOSP-First: file is not part of AOSP
(cherry picked from commit dce28636ce)
Test: m mts && mts-tradefed run mts-core-tests-list-eng-only
or
Test: m mts && mts-tradefed run mts -m ApkInApexTest -t
com.android.modules.apkinapex.ApkInApexTest
Ignore-AOSP-First: work not in AOSP yet
Bug: 208239394
Change-Id: I500e0c385bfac0fb44f4f2f00ff51245925fa108
Apk in apex should not be installed.
Test: atest ApkInApexTest
Test: (test the test:) manually change AndroidManifest.xml of the app and set
the min sdk version to 30. Repeat the test and the test should fail (because
with min sdk version 30, the app should be installable).
Bug: 208239394
Ignore-AOSP-First: feature not in AOSP yet
Change-Id: I7caa31fe366b74d74f1d8e9e53d6ddd241a70751
Test: m mts && mts-tradefed run mts-core-tests-list-eng-only
or
Test: m mts && mts-tradefed run mts -m UpdatableSharedLibsTest -t
com.android.modules.updatablesharedlibs.UpdatableSharedLibsTest
Ignore-AOSP-First: functionality is not yet on AOSP
Change-Id: Ica667253f785af8f17853982d9a57035c92223af
Errorprone is being updated, and adds a check for
these characters.
Bug: 190944875
Test: Presubmits
Ignore-AOSP-First: This file only exists in internal master
Change-Id: I970673a984bb2285ce04704285cd0becfb3d5ce3
This test verifies that PackageManager#getSystemSharedLibraryNames
returns libraries that were introduced via updatable shared libraries in
apexes.
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: I8a7bcc1a89cd056a5ecf3e4d519a38ff77addebd
Added SPDX-license-identifier-Apache-2.0 to:
javatests/com/android/modules/updatablesharedlibs/apex/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I4474debdfebd557bb46d8ade13c86ea9f8e7f06f
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: Ie0181833c8b35d98ab22b00fe36d3273c934559d
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: Iebfed4a0f48ccbf17d5d7dae22980a178c54edfe
Just adding the tests now, not making them run yet.
Test: atest UpdatableSharedLibsTest
Bug: 191978330
Ignore-AOSP-First: logic under test is only available in internal master
Change-Id: I48e8b9422c8703cd4cec6552e0dcfd3b82021816