FindBugsPluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove FindBugs and JDepend plugins from Gradle distribution (#10201)

  1. … 64 more files in changeset.
Remove FindBugs and JDepend plugins from Gradle distribution

  1. … 64 more files in changeset.
Replace 'Matchers' with 'CoreMatchers'

So we do not require 'org.hamcrest:hamcrest-library' as additional

dependency anymore. Which was only available for most of the tests

because it leaked onto the test compile classpath.

  1. … 162 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

  1. … 285 more files in changeset.
Support for FindBugs JVM arguments (#781)

Support for FindBugs JVM arguments

  1. … 9 more files in changeset.
Reduce visibility of getCandidateClassFiles()

  1. … 1 more file in changeset.
Do not resolve classes dirs as a file tree

This causes us to include resources in a way that causes FindBugs to

produce an annoying error message

  1. … 4 more files in changeset.
Renders a deprecation warning to the console for ConfigurableReport.setDestination(Object) (#1798)

Use the method ConfigurableReport.setDestination(File) in Gradle's tests to avoid rendering the deprecation message.

  1. … 10 more files in changeset.
Remove deprecated methods on TestUtil (#672)

In order to use project builder correctly without having

leaking files on windows it is necessary to initialize

the test fixture for NativeServices and clean up

the test directory after building.

AbstractProjectBuilderSpec provides a nice base class

for Groovy tests.

I removed the deprecated methods since using them leads

to files lying around. Migrating all the usages to the "new"

way ensures it is used correctly.

  1. … 97 more files in changeset.
Changed unit tests to use Project or ProjectInternal instead of the implementation classes.

  1. … 32 more files in changeset.
Fix many of the code-quality test file leaks.

- There is still one which isn't clearly leaking filehandles for the

same reasons as these four were. That will require further

investigation to fix.

  1. … 3 more files in changeset.
Add more tests for find bugs extra args

  1. … 3 more files in changeset.
GRADLE-3212: FindBugs plugin should expose property for setting baseline bugs file.

  1. … 6 more files in changeset.
Deprecate PluginContainer.apply(Class) and PluginContainer.apply(String)

+review REVIEW-5239

  1. … 101 more files in changeset.
Add test coverage for legacy configuration properties of code quality extensions/tasks

  1. … 5 more files in changeset.
Polish code that checks contents of file collections (REVIEW-5217)

  1. … 3 more files in changeset.
Introduce TextResourceFactory

- cleaner API/DSL for creating text resources

- more modular (factory methods no longer declared in ResourceHandler)

  1. … 16 more files in changeset.
Rename some of the factory methods for creating TextResource's

- resources.text -> fileText, resources.archiveText -> archiveEntryText

  1. … 12 more files in changeset.
Introduce FindBugs(Extension)#includeFilterConfig and #excludeFilterConfig

- based on new TextResource abstraction

- set to replace #includeFilter and #excludeFilter

  1. … 5 more files in changeset.
Bust up Matchers to detangle the project dependencies.

Also solves some building in IDEA issues.

  1. … 29 more files in changeset.
renamed HelperUtil to TestUtil (REVIEW-1626)

  1. … 145 more files in changeset.
Changed DefaultTaskContainer, DefaultSourceSetContainer and DefaultConfigurationContainer to nag about the use of deprecated add() methods.

  1. … 38 more files in changeset.
polishing

polishing and test cleanup

relocated some tests from FindBugsPluginTest to FindBugsSpecBuilderTest because they better fit there

    • -190
    • +186
    ./FindBugsPluginTest.groovy
  1. … 1 more file in changeset.