testing

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Report invalid JaCoCo configuration (#11151)

The destination file has to be set if output is set to FILE. This is now

validated and reported with a clear error message instead of crashing

somewhere deep down the call stack.

Fixes #11130

  1. … 1 more file in changeset.
Update subprojects/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPluginExtension.java

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

Update subprojects/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPluginExtension.java

Co-Authored-By: Stefan Wolf <wolf@gradle.com>

Introduce a specific exception type for verification failures

This introduces VerificationCheckFailedException to the Gradle API.

It's purpose is to indicate that a check task was successfully

executed but resulted in failure due to violations.

This allows other tools and Gradle logging to distinguish between

a verification tool failing to execute and one that failed for

"normal and expected" reasons.

The code quality and testing plugins are updated to use this new

exception type when appropriate.

    • -2
    • +2
    ./jacoco/tasks/JacocoCoverageVerification.java
  1. … 6 more files in changeset.
Report invalid JaCoCo configuration

The destination file has to be set if output is set to FILE. This is no

validated and reported with a clear error message instead of crashing

somewhere deep down the call stack.

Fixes #11130

  1. … 1 more file in changeset.
Report invalid JaCoCo configuration

The destination file has to be set if output is set to FILE. This is no

validated and reported with a clear error message instead of crashing

somewhere deep down the call stack.

Fixes #11130

  1. … 1 more file in changeset.
Extract Jacoco agent with TransformAction

Moves the extraction of the Jacoco Agent jar, which is included inside

the org.jacoco.agent library fromt he JacocoAgentJar class to a

dedicated TransformAction called AgentJarExtraction.

  1. … 2 more files in changeset.
Extract Jacoco agent with TransformAction

Moves the extraction of the Jacoco Agent jar, which is included inside

the org.jacoco.agent library fromt he JacocoAgentJar class to a

dedicated TransformAction called AgentJarExtraction.

  1. … 3 more files in changeset.
Remove unused field append

This is probably a left over from #10208

    • -1
    • +0
    ./jacoco/plugins/JacocoTaskExtension.java
Use JaCoCo 0.8.5 by default

Signed-off-by: Evgeny Mandrikov <mandrikov@gmail.com>

  1. … 4 more files in changeset.
Fix Jacoco tests

De-incubate new Jacoco methods

    • -6
    • +3
    ./jacoco/plugins/JacocoTaskExtension.java
Fix Jacoco broken by now correct enum deserialization

by removing usages of Project

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

Fix Jacoco broken by now correct enum deserialization

by removing usages of Project

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

    • -4
    • +3
    ./jacoco/plugins/JacocoTaskExtension.java
  1. … 1 more file in changeset.
Fix :jacoco with instant-execution

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

  1. … 2 more files in changeset.
Merge pull request #10208 from gradle/wolfs/deprecations/jacoco

This reverts commit b312db3e00bd27e35b289e4f95368db76601aea2.

    • -32
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -63
    • +0
    ./jacoco/tasks/JacocoReportBase.java
  1. … 4 more files in changeset.
Revert "Merge pull request #10208 from gradle/wolfs/deprecations/jacoco"

The changes break the Kotlin plugin smoke test.

This reverts commit ad214c71e2a996e26898ad8eb3dc4d1c4d50ee51, reversing

changes made to d019884cc118a3ece9616e16928850f153cac081.

    • -1
    • +32
    ./jacoco/plugins/JacocoTaskExtension.java
    • -0
    • +63
    ./jacoco/tasks/JacocoReportBase.java
  1. … 4 more files in changeset.
Revert "Remove deprecated methods from Jacoco types"

    • -1
    • +32
    ./jacoco/plugins/JacocoTaskExtension.java
    • -0
    • +63
    ./jacoco/tasks/JacocoReportBase.java
  1. … 4 more files in changeset.
Remove deprecate methods from Jacoco types

    • -32
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -63
    • +0
    ./jacoco/tasks/JacocoReportBase.java
  1. … 3 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -133
    • +43
    ./jacoco/plugins/JacocoPlugin.java
    • -7
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -6
    • +1
    ./jacoco/tasks/JacocoCoverageVerification.java
    • -31
    • +4
    ./jacoco/tasks/JacocoReportBase.java
  1. … 660 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -3
    • +3
    ./jacoco/plugins/JacocoTaskExtension.java
  1. … 908 more files in changeset.
Upgrade commons-lang{->3} replacing packages

    • -1
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
  1. … 174 more files in changeset.
Change few private methods to static

    • -2
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
  1. … 250 more files in changeset.
Use method reference, where applicable

    • -1
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -1
    • +1
    ./jacoco/tasks/JacocoCoverageVerification.java
  1. … 163 more files in changeset.
Use method reference, where applicable

    • -1
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -1
    • +1
    ./jacoco/tasks/JacocoCoverageVerification.java
  1. … 161 more files in changeset.
Organize imports

  1. … 337 more files in changeset.
Replace anonymous classes with lambdas

    • -133
    • +43
    ./jacoco/plugins/JacocoPlugin.java
    • -6
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -6
    • +1
    ./jacoco/tasks/JacocoCoverageVerification.java
    • -31
    • +4
    ./jacoco/tasks/JacocoReportBase.java
  1. … 705 more files in changeset.
Replace anonymous classes with lambdas

    • -131
    • +43
    ./jacoco/plugins/JacocoPlugin.java
    • -6
    • +1
    ./jacoco/plugins/JacocoTaskExtension.java
    • -6
    • +1
    ./jacoco/tasks/JacocoCoverageVerification.java
    • -29
    • +4
    ./jacoco/tasks/JacocoReportBase.java
  1. … 689 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 890 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 897 more files in changeset.