Commit Graph

6 Commits

Author SHA1 Message Date
Andrei-Valentin Onea
9e1bff4e74 Merge changes from topic "sdkext-base-cf-test"
* changes:
  Create base conformance framework test
  Add fetch code for classpath jars
2022-12-20 16:49:42 +00:00
Andrei Onea
9f4e40c814 Create base conformance framework test
Test: atest sdkextensions_conformance_framework_tests
Bug: 254647310

Change-Id: I2eb5da132bc7d66909f641b2e1c479f69aa22ae0
2022-12-20 12:02:03 +00:00
Bob Badour
b6b93309a8 [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/common
Added SPDX-license-identifier-Apache-2.0 to:
  java/com/android/modules/targetprep/proto/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I97b92ff8cc572f8cf1a097421a5931fcac1468a2
2022-12-01 08:19:04 -08:00
Andrei Onea
816b8b6b99 Add fetch code for classpath jars
Fetch all *CLASSPATH jars and dump their data into .pb files in the temp
directory shared between the target preparer and the testcases.

Test: atest ClasspathFetcherTest
Bug: 254647172
Change-Id: I008001975ba5febbec5fec20a908b1dcc02308f6
2022-11-24 18:58:41 +00:00
Andrei Onea
9212ed5d43 Create proto entries for SJP test
Add proto messages relevant to the SJP test. The test may fetch jars
from any of the *CLASSPATH env variables, shared library jars and
apk-in-apex.

Test: m classpath_classes_proto_java
Bug: 254647172
Change-Id: Ie77a489901dc6b4b31f92f457af845f23a16babb
2022-11-16 15:19:01 +00:00
Andrei Onea
7cede5aa6a Create basic reentrant ClasspathFetcher targetprep
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
2022-11-03 15:53:26 +00:00