Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not restore file dates when unpacking task outputs (#2667)

    • -1
    • +1
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 5 more files in changeset.
Add coverage for Test tasks being cachable with Jacoco disabled

+review REVIEW-6522

    • -0
    • +25
    ./plugins/JacocoCachingIntegrationTest.groovy
Add @NotYetImplemented test for JaCoCo's effect on Test

+review REVIEW-6522

    • -0
    • +23
    ./plugins/JacocoCachingIntegrationTest.groovy
Revert "Remove check for jacoco.append=true to disable caching"

This reverts commit 0ad7be70ca4661b5fdc56722a9018097b6797389.

+review REVIEW-6522

    • -0
    • +2
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 3 more files in changeset.
Revert "Remove another reference of append=false for JaCoCo tests"

This reverts commit e2c02630ceba4c041d06ca77c640d39438a342ac.

+review REVIEW-6522

    • -0
    • +8
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Keep a good test

+review REVIEW-6524

    • -1
    • +0
    ./plugins/JacocoCachingIntegrationTest.groovy
    • -0
    • +16
    ./plugins/JacocoPluginIntegrationTest.groovy
Revert "Use a configure task to add jvmArgs to Test"

This reverts commit 8bb0429bc2140552c53dfbeb522c34a55caf63f0.

+review REVIEW-6524

    • -25
    • +0
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Remove another reference of append=false for JaCoCo tests

+review REVIEW-6522

    • -8
    • +0
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Use a configure task to add jvmArgs to Test

+review REVIEW-6524

    • -0
    • +25
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 3 more files in changeset.
Detect overlapping files for cacheable tasks

When two tasks overwrite one another, enforcing overlap detection doesn't

really make sense (because the outcome is the same).

But when two tasks append to a single output file, we should disable caching

because the order of the two tasks executing matters more.

+review REVIEW-6522

    • -3
    • +33
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove check for jacoco.append=true to disable caching

If two Test tasks use the same JaCoCo execution data file, overlapping

output detection will disable build caching.

+review REVIEW-6522

    • -2
    • +0
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 3 more files in changeset.
Extract test fixture for HttpBuildCache

    • -2
    • +2
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 21 more files in changeset.
Use separate output directories for all JVM languages

- Introduce an outputDir on SourceDirectorySet

- Default output directory is now `build/classes/<source directory set name>/<source set name>`

- Example: Java compilation goes to build/classes/java/main instead of build/classes/main

- Adapt JDepend, FindBugs, Test and ValidateTaskProperties tasks to handle multiple class directories

- Deprecate setClassesDir/getClassesDir on SourceSetOutput

- Calling setClassesDir restores old behavior (shared output directory)

- Introduce addClassesDir and getClassesDirs on SourceSetOutput

- OSGi plugin needs a single classes directory, so introduce 'osgiClasses' task that syncs all classes to a single directory

Most of the changes to integration tests are find classes in their new location. Helper methods in AbstractIntegrationSpec

can locate class files vs hardcoding a path.

Squashed commit of sg-split-jvm-classes branch for REVIEW-6502

    • -1
    • +1
    ./plugins/JacocoCachingIntegrationTest.groovy
    • -2
    • +2
    ./plugins/JacocoPluginMultiVersionIntegrationTest.groovy
    • -2
    • +2
    ./plugins/JacocoReportRelocationIntegrationTest.groovy
    • -2
    • +2
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
  1. … 115 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.

    • -2
    • +2
    ./plugins/JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 10 more files in changeset.
Remove dependency between integTest and test sources

    • -0
    • +54
    ./plugins/JacocoReportFixture.groovy
  1. … 10 more files in changeset.
Revert disabling append for Jacoco up to date test

+review REVIEW-6420

    • -7
    • +0
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Do not append to Jacoco output in tests

So that the task is cached/can be up-to-date

+review REVIEW-6420

    • -0
    • +2
    ./plugins/JacocoCachingIntegrationTest.groovy
    • -0
    • +8
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
    • -0
    • +7
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Test Jacoco class dump dir

+review REVIEW-6418

    • -1
    • +7
    ./plugins/JacocoCachingIntegrationTest.groovy
Rename Jacoco’s classDumpFile to classDumpDir

Deprecated the old property in favor of the new.

+review REVIEW-6418

    • -1
    • +1
    ./plugins/JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 6 more files in changeset.
Fix inverse logic

    • -1
    • +1
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
  1. … 3 more files in changeset.
Align type with the one used in Maven plugin

    • -7
    • +7
    ./plugins/rules/JacocoViolationRulesLimit.groovy
  1. … 2 more files in changeset.
Show that JaCoCo does not run validation for rule values minimum > maximum

    • -5
    • +6
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
    • -0
    • +1
    ./plugins/rules/JacocoViolationRulesLimit.groovy
Uses minimum/maximum rule values if values is out of bounds

    • -6
    • +7
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
    • -0
    • +1
    ./plugins/rules/JacocoViolationRulesLimit.groovy
Test behavior for defining the same rule multiple times

    • -2
    • +23
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
JaCoCo metrics verification doesn't work with JDK 8 in earlier versions

    • -1
    • +1
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Introduce base class for multi-version tests

    • -0
    • +34
    ./plugins/JacocoMultiVersionIntegrationTest.groovy
    • -10
    • +2
    ./plugins/JacocoPluginMultiVersionIntegrationTest.groovy
    • -0
    • +43
    ./plugins/JacocoVersionCompatibilityIntegrationTest.groovy
    • -52
    • +0
    ./plugins/JacocoVersionIntegTest.groovy
    • -9
    • +3
    ./plugins/rules/AbstractJacocoPluginCoverageVerificationVersionIntegrationTest.groovy
    • -10
    • +3
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Put back restriction

    • -1
    • +1
    ./plugins/JacocoVersionIntegTest.groovy
Test plugin with multiple JaCoCo versions

    • -231
    • +0
    ./plugins/JacocoPluginIntegrationTest.groovy
    • -0
    • +277
    ./plugins/JacocoPluginMultiVersionIntegrationTest.groovy
    • -1
    • +1
    ./plugins/JacocoVersionIntegTest.groovy
    • -0
    • +7
    ./plugins/fixtures/JacocoCoverage.groovy
Make multi-version test

    • -2
    • +10
    ./plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
Change coverage to avoid rounding issue jacoco/jacoco#452

    • -3
    • +7
    ./plugins/JacocoPluginIntegrationTest.groovy