commit | c6d6da950acc0f38f39c3ccdfb726c423662837e | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Thu Nov 23 02:26:18 2023 +0000 |
committer | Felipe Leme <felipeal@google.com> | Thu Nov 23 02:42:16 2023 +0000 |
tree | 474f3f2c4eb08ab5db3306e48d334048d86c7f42 | |
parent | f451d48649cc8ce740f270107f72931992fbedc5 [diff] |
Renamed ExtendedMockito annotations. Removed the Class suffix (like SpyStaticClass) as they're redundant - they were added to be consistent with the repeated annotations (like SpyStaticClasses), but in reality, the repeated ones won't be used in tests, so it's clear to have just @SpyStatic / @MockStatic. Test: m -j ModulesUtilsTestingTests && adb install $OUT/testcases/ModulesUtilsTestingTests/*/ModulesUtilsTestingTests.apk && adb shell am instrument -w -e class com.android.modules.utils.testing.ExtendedMockitoRuleTest -w com.android.modules.utils.testing/androidx.test.runner.AndroidJUnitRunner Bug: 311790035 Change-Id: I297a05f3e8a2ff70cb3928e7cce68ae7d803d049
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.
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.