JacocoPluginMultiVersionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extract :jacoco test fixtures

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 9 more files in changeset.
Change more tests.

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 40 more files in changeset.
Change more tests.

    • -3
    • +3
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 17 more files in changeset.
Change more tests.

    • -3
    • +3
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 20 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -10
    • +10
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -10
    • +10
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -3
    • +3
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -10
    • +10
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 98 more files in changeset.
Let jacoco tests not use deprecated configurations

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Let jacoco tests not use deprecated configurations

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Let jacoco tests not use deprecated configurations

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Let jacoco tests not use deprecated configurations

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix tests and checkstyle

    • -4
    • +6
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 2 more files in changeset.
Remove another call to append

    • -1
    • +0
    ./JacocoPluginMultiVersionIntegrationTest.groovy
Fix Jacoco to work with build cache

Jacoco code coverage should work well with the build cache out of the

box. Since appending to a coverage file works with parallel test

execution, see https://github.com/jacoco/jacoco/pull/52, we set

`append=true` and delete the coverage data just before the test task

starts to execute.

Note that this is a breaking change: separate tasks now cannot use the

same coverage file, since each of the tasks will delete it.

Issue: #5269

    • -4
    • +9
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 7 more files in changeset.
Re-enable Jacoco test for Java9 (#5557)

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 3 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 30 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
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 119 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
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 10 more files in changeset.
Rename Jacoco’s classDumpFile to classDumpDir

Deprecated the old property in favor of the new.

+review REVIEW-6418

    • -1
    • +1
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 6 more files in changeset.
Introduce base class for multi-version tests

    • -10
    • +2
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 5 more files in changeset.
Test plugin with multiple JaCoCo versions

    • -0
    • +277
    ./JacocoPluginMultiVersionIntegrationTest.groovy
  1. … 3 more files in changeset.