Support Parcel, Bundle under Ravenwood, with CTS.
We have baseline implementations of the Parcel and Bundle, so we're
ready to support them under the Ravenwood environment. Brings along
the relevant CTS to prove that it works consistently on both devices
and Ravenwood. Make a few test-driven bug fixes to Parcel code.
Currently does not support FDs or Binders.
Add new `@IgnoreUnderRavenwood` annotation that is respected by a
new `RavenwoodRule`, letting the same test code be shared to run
under both devices and Ravenwood. Currently packaged under our own
area of the tree, but named to match layout of `platform_testing`
for future migration.
Add "ThrowClass" policy.
Bug: 292141694
Test: atest-dev CtsOsTestCasesRavenwood CtsOsTestCases:ParcelTest CtsOsTestCases:BundleTest
Change-Id: I88d19afff47fbea6557e922a10e8555ee0f70ba3
diff --git a/ravenwood/Android.bp b/ravenwood/Android.bp
index d0e442e..5c9bf18 100644
--- a/ravenwood/Android.bp
+++ b/ravenwood/Android.bp
@@ -32,3 +32,14 @@
host_supported: true,
visibility: ["//visibility:public"],
}
+
+java_library {
+ name: "ravenwood-junit",
+ srcs: ["junit-src/**/*.java"],
+ libs: [
+ "junit",
+ ],
+ sdk_version: "core_current",
+ host_supported: true,
+ visibility: ["//visibility:public"],
+}