diff options
| author | Kristen Kozak <sebright@google.com> | 2018-03-23 15:14:29 -0700 |
|---|---|---|
| committer | Kristen Kozak <sebright@google.com> | 2018-03-23 19:41:50 -0700 |
| commit | cc7c7e1dbc516b57122e61284aebbc385cbecca1 (patch) | |
| tree | 317c94889e4313a5033e37b8194dd7ff0868ace8 /build.gradle | |
| parent | 63fb16f6cb331d4020fc3f6b8eec7006385cd32e (diff) | |
| download | platform_external_opencensus-java-cc7c7e1dbc516b57122e61284aebbc385cbecca1.tar.gz platform_external_opencensus-java-cc7c7e1dbc516b57122e61284aebbc385cbecca1.tar.bz2 platform_external_opencensus-java-cc7c7e1dbc516b57122e61284aebbc385cbecca1.zip | |
Enable FindBugs in tests.
This would have caught the unused variable that was fixed by #1082.
Changes in this commit:
- Enable FindBugs in tests in build.gradle.
- Fix some existing minor FindBugs issues in tests.
- Suppress some warnings in all test classes that are less important in test
code, such as requiring nested classes to be static whenever possible.
- Enable nullness-related FindBugs warnings in tests, since we don't run the
Checker Framework on test code.
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index f5c6df06..c01142f3 100644 --- a/build.gradle +++ b/build.gradle @@ -245,8 +245,6 @@ subprojects { html.enabled = true } } - // Disable findbugs for tests. - findbugsTest.enabled = false checkstyle { configFile = file("$rootDir/buildscripts/checkstyle.xml") |
