Index: build/android/findbugs_filter/findbugs_exclude.xml |
diff --git a/build/android/findbugs_filter/findbugs_exclude.xml b/build/android/findbugs_filter/findbugs_exclude.xml |
index 3f0316c32e54c605424112044938b42445d2f1a8..a856afb91e5148f9b6b78c0ee8bc899e86c1c006 100644 |
--- a/build/android/findbugs_filter/findbugs_exclude.xml |
+++ b/build/android/findbugs_filter/findbugs_exclude.xml |
@@ -30,7 +30,10 @@ In particular, ~ at the start of a string means it's a regex. |
<!-- Ignore unused public Rule in instrumentation tests --> |
<Match> |
<Class name="~.*\.*Test" /> |
- <Field type="android.support.test.rule.UiThreadTestRule" /> |
+ <Or> |
+ <Field type="android.support.test.rule.UiThreadTestRule" /> |
+ <Field type="org.chromium.base.test.util.CommandLineTestRule" /> |
+ </Or> |
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" /> |
</Match> |