CheckstylePluginTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add configDirectory to Checkstyle

- Deprecate configDir

- Replace configDir with configDirectory

  1. … 9 more files in changeset.
Add configDirectory to Checkstyle

- Deprecate configDir

- Replace configDir with configDirectory

  1. … 9 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.
Use @InputDirectory for configDir in Checkstyle

+review REVIEW-6526

  1. … 1 more file in changeset.
Rename checkstyleConfigDir to configDir to be consistent with the other properties

+review REVIEW-6526

  1. … 6 more files in changeset.
Add test coverage for configDir property

+review REVIEW-6526

  1. … 1 more file in changeset.
GRADLE-2888 Set default value for Checkstyle maxWarnings to Integer.MAX_VALUE.

  1. … 3 more files in changeset.
GRADLE-2888 Added maxWarnings option to Checkstyle DSL. This option sets the maximum number of warnings that are tolerated before breaking the build or setting the invoked ANT task failure property.

  1. … 8 more files in changeset.
Fixup CheckstylePluginClasspathIntegrationTest for #863

- Fix assertion in Spock Test

- Fix build config

- Fix example code for test

- Miscellaneous cleanup to CheckstylePluginTest

Issue: #855

  1. … 1 more file in changeset.
Fix test to assert new behavior

GRADLE-2888 Renamed new 'maxAllowedViolations' property to 'maxErrors' so as to match the already existing Checkstyle property, and therefore be more intuitive to Checkstyle users.

  1. … 8 more files in changeset.
Added maxAllowedViolations option to Checkstyle DSL. This option sets the maximum number of code violations that are tolerated before breaking the build or setting the invoked ANT task failure property.

  1. … 8 more files in changeset.
Fix some tests that were leaking file handles

  1. … 18 more files in changeset.
Don't use common parent class for now

  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.
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. … 7 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

  1. … 3 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.