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

Skip to content
Commit a32dfdce authored by Colin Cross's avatar Colin Cross
Browse files

Fix Error Prone errors

Soong wasn't including android_app or android_test sources in the
javac-check target used for the Error Prone build, which allowed
some Error Prone errors to get in.  Fix them so Error Prone can be
re-enabled for these targets.

Fixes:
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1037: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1332: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1457: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1564: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1716: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:1918: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:740: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:847: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.
packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/StateMachineTest.java:941: error: [JUnit4TestNotRun] This looks like a test method but is not run; please add @Test and @Ignore, or, if this is a helper method, reduce its visibility.

Bug: 146455923
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I8ef74b286139b86bf5af6e5d25fc75e42ca8ef63
parent 9d09f63c
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