commit | 1ef4caaf3f80498f8c682bb8f8791a960ac32ba0 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Aug 29 12:14:54 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Aug 29 12:57:06 2017 -0700 |
tree | 275bcfc13f7d8f672acf42eddf01726c2d44aa65 | |
parent | 54eeafa052146144855dd254ec7d805eff92666c [diff] |
Fix errorprone build Fixes: packages/apps/Settings/tests/robotests/src/com/android/settings/language/LanguageAndInputSettingsTest.java:95: error: [MockitoCast] A bug in Mockito will cause this test to fail at runtime with a ClassCastException when(mContext.getSystemService(AutofillManager.class)).thenReturn(mAutofillManager); ^ (see http://errorprone.info/bugpattern/MockitoCast) Did you mean 'when((Object) mContext.getSystemService(AutofillManager.class)).thenReturn(mAutofillManager);'? packages/apps/Settings/tests/robotests/src/com/android/settings/search/IntentSearchViewHolderTest.java:195: error: [JUnit4TestNotRun] Test method will not be run; please add @Test annotation public void testBindViewElements_appSearchResult() { ^ (see http://errorprone.info/bugpattern/JUnit4TestNotRun) Did you mean '@Test'? Bug: 64489631 Test: m -j RUN_ERROR_PRONE=true javac-check Merged-In: I79477f331ae447d2505a1519da09886bf07ba1a2 Merged-in: I333372699b263d02cc4083289dc746c7aacd414d Change-Id: I8fd30fc741927de3f6527aca6d98d8851ef23794