commit | 240de36289ff75ae2c178b9d8e046ad5262dae38 | [log] [tgz] |
---|---|---|
author | jdesprez <jdesprez@google.com> | Tue May 02 19:00:29 2017 -0700 |
committer | Julien Desprez <jdesprez@google.com> | Fri Jun 02 22:14:48 2017 +0000 |
tree | cf4131d2233574f1c6bd067dde7464d2f3a181d7 | |
parent | 46b9223679340ce93abcd5d0476914b1eeecdca1 [diff] |
Enable a subset of error prone rules for hostside tests Enable couple of rules for CTS host sides tests and fix the errors. - TryFailThrowable: fail() is throwing and AssertionError that was caught resulting in the check always passing. Test: make cts javac-check -j76 TARGET_PRODUCT=aosp_arm64 WITH_DEXPREOPT=false RUN_ERROR_PRONE=true Bug: 37854485 Change-Id: I99319c3e3083cc01b5be18fb33c6ae2a30ee9c30 (cherry picked from commit b879b5cac4fea3f70f1a274a7ab9781135e707dd)