Refactored ExtendedMockitoRule.

It doesn't depend on StaticMockFixtureRule anymore, so the latter
could be refactored to depend on it instead.

Note: this is the same as
commit 7f0c42e6dc1a3bf61858c27272da4778a73b3e98
(change-id Ie971b2e2a68168514801cb26775c339d9323f425), which was
reverted by
commit 9c94c1d99bc9307b88930768027268ec1bcb46a3 (which was not the
real culprit - the real one was
commit b51fbb9824a1f70f10d5e23f484c341a73acb1c7 / change-id
I94f6245ee201df65449db242cd6fc33018b1c6cd)

Test: atest com.android.modules.utils.testing.ExtendedMockitoRuleTest
Bug: 281577492
Change-Id: Ie971b2e2a68168514801cb26775c339d9323f666
2 files changed
tree: 07562b382c538d226cf1675fb87201347578cf0a
  1. build/
  2. java/
  3. javatests/
  4. jni/
  5. tools/
  6. .gitignore
  7. Android.bp
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. TEST_MAPPING
README.md

frameworks/libs/modules-utils/

Libraries and utilities intended for use by module and framework code.

Since modules use the code in this project, it must adhere to mainline requirements, for example, by setting min_sdk_version in Soong modules.

Java code

This project uses a single source path for Java code. All Java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.

Tests for java code should go in the javatests directory and follow the same structure.