- Nov 29, 2023
-
-
Makoto Onuki authored
See below for the log filename. Also disable an unimplemented flag. Bug: 311174191 Test: ./scripts/run-all-tests.sh Test: m framework-minus-apex.ravenwood and examine console output and out/soong/.intermediates/frameworks/base/framework-minus-apex.ravenwood-base/android_common/gen/hoststubgen_framework-minus-apex.log Change-Id: I9997370c93e2fe90276d5f3e657d45d440ca0a59
-
Jeff Sharkey authored
Even though developers are encouraged to use Mockito, existing tests may still be using this old library for their mocking. We'll circle back later to consider support for components such as ContentProvider, Service, etc. Clean up OWNERS. Bug: 310268946 Test: atest android.test.mock.ravenwood.tests Change-Id: Ie3f4ccea9cf6719d61cff277a627825868edc992
-
- Nov 21, 2023
-
-
Makoto Onuki authored
- Now both --out-stub-jar and --out-impl-jar are optional - Disable --enable-non-stub-method-check by default (it's not fully implemented anyway) - Delete the script `run-ravenwood-test` since now atest just works. Test: run-all-tests.sh Bug: 292141694 Change-Id: I3b7d63600139425e5fffc12930ee860edf2acd7f
-
- Nov 16, 2023
-
-
Jeff Sharkey authored
Some CTS tests desire to link against `test_current` to prove to themselves that they're not touching hidden APIs. This means if they also want to use our `ravenwood-junit` rules, that dependency also needs to link against `test_current`. Since we're reaching down into plenty of hidden details when we're actually running on a Ravenwood runtime, we split into a `stub` and an `impl` library, so that we give a cleanly compiling library to to clients, which is then replaced under the Ravenwood runtime. Bug: 292141694 Test: atest-dev CtsTextTestCasesRavenwood CtsTextTestCases Change-Id: I96dbc9643324a7853a992e97b51a88f70eb721f3
-
- Nov 15, 2023
-
-
Jeff Sharkey authored
Initial pass at foundational classes under android.content, along with CTS to verify consistency. Methods that interface to broader parts of OS remain marked as "throw" for the moment, such as cross-process work and StrictMode. Bug: 292141694 Test: atest-dev CtsOsTestCasesRavenwood CtsOsTestCases Test: atest-dev CtsContentTestCasesRavenwood CtsContentTestCases Change-Id: Ic3deafb1f4058fcc104882a3508728994669f7d2
-
- Nov 10, 2023
-
-
Makoto Onuki authored
Also add some presubmit tests as a smoke test. Bug: 292141694 Test: run-all-tests.sh Test: atest --no-bazel-mode CtsUtilTestCasesRavenwood Change-Id: I30569313b764dfa30db9c2c5627050da4a6a1d67
-
- Nov 08, 2023
-
-
Jeff Sharkey authored
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
-
- Nov 03, 2023
-
-
Makoto Onuki authored
Since we're unable to compile libcore classes for the device, we temporarily pivot usages to our own copy of EmptyArray. Bug: 292141694 Test: m nothing --no-skip-soong-tests Test: m hoststubgen ravenwood-runtime tradefed atest && atest-dev HostStubGenTest-framework-test Change-Id: I9d4ff559924e47725eb3e897aaf2cc93e9b1a193
-
- Oct 16, 2023
-
-
Makoto Onuki authored
... to prevent other people from using them. Test: ./scripts/run-all-tests.sh Bug: 292141694 Change-Id: Ia45edead270883116446e8db6abde080d341ab07
-
- Oct 09, 2023
-
-
Makoto Onuki authored
- Add "framework-minus-apex.ravenwood". - Update the behavior of: --default-throw: - Now this will "keep" the subject classes and fields. - When a 'throw' directive is specified on a static initializer, it's now handled as 'keep', because otherwise the class wouldn't be usable. Test: ./scripts/run-all-tests.sh Test: m framework-minus-apex.ravenwood Bug: 292141694 Change-Id: If4d650dc175a5a78cf8844dfed2217c19f2d5790
-