Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Break out method

Add test case for multiple rules

    • -0
    • +23
    ./plugins/JacocoPluginCheckCoverageIntegrationTest.groovy
Add test cases for multiple report tasks

    • -20
    • +82
    ./plugins/JacocoPluginCheckCoverageIntegrationTest.groovy
Basic support for enforcing Jacoco metrics

    • -14
    • +4
    ./plugins/JacocoCachingIntegrationTest.groovy
    • -0
    • +212
    ./plugins/JacocoPluginCheckCoverageIntegrationTest.groovy
    • -19
    • +3
    ./plugins/JacocoPluginIntegrationTest.groovy
    • -14
    • +5
    ./plugins/JacocoReportRelocationIntegrationTest.groovy
    • -16
    • +5
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
    • -24
    • +8
    ./plugins/JacocoVersionIntegTest.groovy
    • -0
    • +71
    ./plugins/fixtures/JavaProjectUnderTest.groovy
  1. … 12 more files in changeset.
Rename LocalTaskCacheFixture to LocalBuildCacheFixture

+review REVIEW-6392

    • -4
    • +4
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 14 more files in changeset.
Rename withCache -> withTaskCache

To distinguish the task cache from the many

other caches we have.

+review REVIEW-6338

    • -2
    • +2
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 9 more files in changeset.
Make testing the task output cache easier

Instead of relying on subclassing I added a

trait which can be mixed into tests which want

to exercise the cache.

+review REVIEW-6338

    • -4
    • +5
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 10 more files in changeset.
Allow 2% difference in Jacoco execution data

+review REVIEW-6301

    • -4
    • +4
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Ignore Jacoco tests on Java 9

+review REVIEW-6301

    • -0
    • +4
    ./plugins/JacocoCachingIntegrationTest.groovy
    • -0
    • +4
    ./plugins/JacocoReportRelocationIntegrationTest.groovy
    • -0
    • +3
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Use Levenshtein distance to compare the results

This is actually a much more precise measurement.

+review REVIEW-6301

    • -39
    • +11
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
  1. … 1 more file in changeset.
Hopefully finally fix flaky test here

It appears that execution data can also differ in the length of the header, so we trim it down to size if that happens.

+review REVIEW-6301

    • -11
    • +29
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Fix test

No need to convert to string here.

+review REVIEW-6301

    • -1
    • +1
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
More robust comparison for Jacoco execution data

Let's say 0.5% difference is not a big deal, and we got rid of differences generated by timestamps and random IDs.

+review REVIEW-6301

    • -3
    • +28
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
  1. … 1 more file in changeset.
Ignore even more of the header of Jacoco execution data

Looks like we have some volatile data at the end of the file as well.

+review REVIEW-6301

    • -3
    • +2
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Ignore more of the header of Jacoco execution data

TeamCity agents have longer host names. Dropping the first 256 bytes leaves us with quite a bit of data to compare.

+review REVIEW-6301

    • -4
    • +8
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
Better tests for Jacoco, fix execution data path sensitivity

Jacoco doesn't actually care about the name of the execution data files.

+review REVIEW-6301

    • -70
    • +0
    ./plugins/JacocoRelocationIntegrationTest.groovy
    • -0
    • +70
    ./plugins/JacocoReportRelocationIntegrationTest.groovy
    • -0
    • +66
    ./plugins/JacocoTestRelocationIntegrationTest.groovy
  1. … 2 more files in changeset.
    • -0
    • +7
    ./plugins/JacocoRelocationIntegrationTest.groovy
  1. … 1 more file in changeset.
Actually cache Jacoco results

We haven't stored them previously. Now we have an integration test to make sure.

+review REVIEW-6301

    • -0
    • +64
    ./plugins/JacocoCachingIntegrationTest.groovy
  1. … 1 more file in changeset.
Make sure test doesn't reuse previous output

+review REVIEW-6301

    • -0
    • +1
    ./plugins/JacocoRelocationIntegrationTest.groovy
Make Jacoco tasks relocatable

+review REVIEW-6301

    • -0
    • +62
    ./plugins/JacocoRelocationIntegrationTest.groovy
  1. … 2 more files in changeset.
Document Jacoco problems with Java 9

I deactivated the now failing tests, too. Then I can

update our CI server to 9u127.

    • -0
    • +12
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 1 more file in changeset.
Merge branch '2.14.x'

    • -0
    • +29
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 5 more files in changeset.
Make JacocoTaskException configurable again

Fixes [GRADLE-3498]

gradle/build-tool-issues#147

    • -0
    • +29
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 2 more files in changeset.
Update Jacoco version to 0.7.7.201606060606

This is required for running Jacoco with Java 9.

For some reason ` ` is inserted between the

coverage and the `%` in the html report on Java 9.

We remove this in the test fixture.

    • -1
    • +1
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 4 more files in changeset.
Fixed broken int test.

    • -1
    • +0
    ./plugins/JacocoPluginIntegrationTest.groovy
Convert Jacoco plugin to Java

+review REVIEW-5933

    • -0
    • +17
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 24 more files in changeset.
New configuration option for JaCoCo agent version 0.7.6

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

    • -1
    • +1
    ./plugins/JacocoVersionIntegTest.groovy
  1. … 4 more files in changeset.
Changed some more int tests to use junit 4.12

    • -1
    • +1
    ./plugins/JacocoPluginIntegrationTest.groovy
    • -1
    • +1
    ./plugins/JacocoVersionIntegTest.groovy
  1. … 6 more files in changeset.
Don't run more tests in parallel that might be affected by the concurrent task execution status logging issue. Do nothing in skipped task assertion methods when in parallel execution.

+review REVIEW-5292

    • -0
    • +5
    ./plugins/JacocoPluginIntegrationTest.groovy
  1. … 30 more files in changeset.
GRADLE-3105 - Fixed problem in JacocoReport where coverage is always 0.

- Added some int test coverage for the coverage in Jacoco reports.

    • -14
    • +50
    ./plugins/JacocoPluginIntegrationTest.groovy
    • -15
    • +10
    ./plugins/JacocoVersionIntegTest.groovy
  1. … 2 more files in changeset.