Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

Don't use common parent class for now

    • -2
    • +12
    ./quality/CheckstylePluginTest.groovy
  1. … 12 more files in changeset.
Introduce test fixture of tests using ProjectBuilder

Automatically uses and cleans up temporary project directory.

  1. … 13 more files in changeset.
Convert codeQuality plugins and extensions to Java

Leaving only tasks in Groovy

+review REVIEW-5933

    • -132
    • +6
    ./quality/CodeNarcPluginTest.groovy
  1. … 23 more files in changeset.
Simplified findbugs worker implementation and adjusted int test expectations for improvements to failure reporting.

  1. … 7 more files in changeset.
PMD: Default rule is now java-basic since the default version of PMD is > 5

  1. … 2 more files in changeset.
Add support for generating HTML reports to the Checkstyle plugin

The committed XSL file was taken from [1].

[1] https://svn.apache.org/repos/asf/hive/trunk/checkstyle/checkstyle-noframes-sorted.xsl

  1. … 6 more files in changeset.
Merge branch 'pmd-auxclasspath' of https://github.com/Monits/gradle

  1. … 3 more files in changeset.
Rename minimumPriority to rulePriority

+review REVIEW-5594

  1. … 8 more files in changeset.
Fix PmdPluginTest tests

+review REVIEW-5594

Change around default value for minimumPriority to 5 to match Ant task

+review REVIEW-5594

  1. … 4 more files in changeset.
Renamed the property to be inline with the Ant plugin Added test verification

  1. … 4 more files in changeset.
Mention contribution in release notes

  1. … 1 more file in changeset.
Using CNFE to use correct ant task

  1. … 3 more files in changeset.
Allowing gradle to use checkstyle 6.8+

Fixes: https://issues.gradle.org/browse/GRADLE-3314

    • -9
    • +12
    ./quality/CheckstylePluginTest.groovy
  1. … 3 more files in changeset.
Configure classpath per sourceset

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

  1. … 2 more files in changeset.
PMD priority level support

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

    • -0
    • +21
    ./quality/FindBugsPluginTest.groovy
  1. … 5 more files in changeset.
GRADLE-3214 FindBugs crash / build hanging

Ensured that FindBugs client catches all kinds of Throwables. This fixes the problem of stalled build when FindBugs crashes.

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

+review REVIEW-5239

    • -9
    • +10
    ./quality/CodeNarcPluginTest.groovy
  1. … 97 more files in changeset.
Add test coverage for legacy configuration properties of code quality extensions/tasks

    • -1
    • +14
    ./quality/CheckstylePluginTest.groovy
    • -0
    • +14
    ./quality/CodeNarcPluginTest.groovy
    • -0
    • +33
    ./quality/CodenarcTest.groovy
    • -0
    • +23
    ./quality/FindBugsPluginTest.groovy
Polish code that checks contents of file collections (REVIEW-5217)

Introduce TextResourceFactory

- cleaner API/DSL for creating text resources

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

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

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

  1. … 10 more files in changeset.
Introduce Pmd(Extension)#rulesetConfig

- new way to configure custom rule set based on TextResource abstraction

- may add support for multiple rule sets in the future, in order to match capabilities of ruleSetFiles property

  1. … 6 more files in changeset.
Introduce Codenarc(Extension)#config

- based on new TextResource abstraction

- set to replace #configFile

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

- based on new TextResource abstraction

- set to replace #includeFilter and #excludeFilter

    • -6
    • +16
    ./quality/FindBugsPluginTest.groovy
  1. … 5 more files in changeset.
Implement Checkstyle(Extension)#configFile in terms of new Checkstyle(Extension)#config

- cleaner approach

  1. … 3 more files in changeset.
Fix failing tests