Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5d19c9b0 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

[ravenwood] Make all classes and methods non-final

- Making them non-final allows mockito to use the traditional, subclass-based mock strategy, as opposed to "inline mocking", which is nice because inline mocking has some non-obvious gatchas.

- Other than that, this shouldn't affect any test behavior -- we still compile tests against the original jar, so tests still couldn't override final classes / methods.

(- It _could_ affect it if there were any tests that check class / method signatures, but I don't think we need to support such tests.)


Flag: EXEMPT host test change only
Bug: 292141694
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh
Change-Id: Ia690cb4f50328e2ef0650513facad6f91835893f
parent f8490737
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment