Turn on DepAnn for test-base and test-runner
Bug: 30188076 Test: m -j20 RUN_ERROR_PRONE=true android.test.base android.test.runner Change-Id: I735e3fbfcc710f1dc1b96e04f91b9feda8727b6c
This commit is contained in:
@@ -24,6 +24,10 @@ java_library {
|
||||
|
||||
srcs: ["src/**/*.java"],
|
||||
|
||||
errorprone: {
|
||||
javacflags: ["-Xep:DepAnn:ERROR"],
|
||||
},
|
||||
|
||||
// Needs to be consistent with the repackaged version of this make target.
|
||||
java_version: "1.8",
|
||||
|
||||
|
||||
@@ -21,6 +21,11 @@ package android.test;
|
||||
*
|
||||
* If you want your test to be used as a performance test, you must
|
||||
* implement this interface.
|
||||
*
|
||||
* @deprecated Use
|
||||
* <a href="{@docRoot}reference/android/support/test/runner/AndroidJUnitRunner.html">
|
||||
* AndroidJUnitRunner</a> instead. New tests should be written using the
|
||||
* <a href="{@docRoot}tools/testing-support-library/index.html">Android Testing Support Library</a>.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface PerformanceTestCase
|
||||
|
||||
Reference in New Issue
Block a user