Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert existing relocation tests to use new one (#3782)

  1. … 9 more files in changeset.
Use mavenCentral() and jcenter() mirrors in tests where possible

  1. … 51 more files in changeset.
Check that cached jacoco report is the same

Activate test which is now implemented

Do not restore file dates when unpacking task outputs (#2667)

  1. … 5 more files in changeset.
Add coverage for Test tasks being cachable with Jacoco disabled

+review REVIEW-6522

Add @NotYetImplemented test for JaCoCo's effect on Test

+review REVIEW-6522

Revert "Remove check for jacoco.append=true to disable caching"

This reverts commit 0ad7be70ca4661b5fdc56722a9018097b6797389.

+review REVIEW-6522

  1. … 3 more files in changeset.
Revert "Remove another reference of append=false for JaCoCo tests"

This reverts commit e2c02630ceba4c041d06ca77c640d39438a342ac.

+review REVIEW-6522

Keep a good test

+review REVIEW-6524

Revert "Use a configure task to add jvmArgs to Test"

This reverts commit 8bb0429bc2140552c53dfbeb522c34a55caf63f0.

+review REVIEW-6524

  1. … 3 more files in changeset.
Remove another reference of append=false for JaCoCo tests

+review REVIEW-6522

Use a configure task to add jvmArgs to Test

+review REVIEW-6524

  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

  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

  1. … 3 more files in changeset.
Extract test fixture for HttpBuildCache

  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

    • -2
    • +2
    ./testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.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
    ./testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 10 more files in changeset.
Remove dependency between integTest and test sources

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

+review REVIEW-6420

Do not append to Jacoco output in tests

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

+review REVIEW-6420

Test Jacoco class dump dir

+review REVIEW-6418

Rename Jacoco’s classDumpFile to classDumpDir

Deprecated the old property in favor of the new.

+review REVIEW-6418

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

  1. … 3 more files in changeset.
Align type with the one used in Maven plugin

  1. … 2 more files in changeset.
Show that JaCoCo does not run validation for rule values minimum > maximum

Uses minimum/maximum rule values if values is out of bounds

Test behavior for defining the same rule multiple times

JaCoCo metrics verification doesn't work with JDK 8 in earlier versions

Introduce base class for multi-version tests

    • -0
    • +34
    ./testing/jacoco/plugins/JacocoMultiVersionIntegrationTest.groovy
    • -10
    • +2
    ./testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy
    • -0
    • +43
    ./testing/jacoco/plugins/JacocoVersionCompatibilityIntegrationTest.groovy
    • -9
    • +3
    ./testing/jacoco/plugins/rules/AbstractJacocoPluginCoverageVerificationVersionIntegrationTest.groovy