changedetection

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added a bunch more coverage for using custom types for task input properties.

    • -0
    • +194
    ./state/TaskCustomTypesInputPropertyIntegrationTest.groovy
    • -13
    • +225
    ./state/TaskEnumTypesInputPropertyIntegrationTest.groovy
  1. … 2 more files in changeset.
Removed some cases of messing with file timestamps in tests. These should not be required any more.

    • -5
    • +0
    ./state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 5 more files in changeset.
Removed trace from int tests.

    • -6
    • +0
    ./state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 2 more files in changeset.
Merge branch 'release'

    • -3
    • +18
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Added some trace to int test.

    • -2
    • +12
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Added some further trace to hunt down flaky test.

    • -0
    • +2
    ./state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 2 more files in changeset.
Added some diagnostics to flaky test.

    • -1
    • +4
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Fix flakiness of TaskTypeUpToDateIntegrationTest

My theory is that the second run of the copy task after the

change was not up to date (that was the error reported in the

flaky tests) since when snapshotting the task outputs after the

second copy task given that the old output has been there before

the cache thinks that we do not need to snapshot since less a

second passed since the output file has been created. Then

we would record the output file with the state at the beginning

of the copy task and the second run would then mark it as

out of date since the output changed.

    • -0
    • +10
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Fix flakiness of TaskTypeUpToDateIntegrationTest

We fail to discover sub second modification times for files.

Make sure the changed files have at least two seconds difference

in modification time.

    • -0
    • +5
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Run test only in embedded mode for now.

    • -1
    • +1
    ./state/TaskEnumTypesInputPropertyIntegrationTest.groovy
Don't run test when not using a long running build process

    • -0
    • +3
    ./state/TaskEnumTypesInputPropertyIntegrationTest.groovy
Added some int test coverage for incremental build.

    • -71
    • +0
    ./state/InMemoryTaskArtifactsIntegrationTest.groovy
    • -0
    • +70
    ./state/TaskEnumTypesInputPropertyIntegrationTest.groovy
    • -1
    • +13
    ./state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 2 more files in changeset.
Added some assertions to a couple of int test cases.

Revert changes to reduce directory scanning in up-to-date checking

- Removes most changes to implement stories in this design document:

https://github.com/gradle/gradle/tree/master/design-docs/features/faster-builds/faster-incremental-builds/reduced-directory-scanning

+review REVIEW-6145

    • -51
    • +0
    ./state/CachingTreeVisitorCleanerTest.groovy
    • -177
    • +0
    ./state/DirectoryScanningIntegTest.groovy
    • -105
    • +0
    ./state/TreeVisitorCacheExpirationStrategyIntegrationTest.groovy
  1. … 46 more files in changeset.
Test for already fixed issue GRADLE-834

Remove CachingTreeVisitorCleaner

- use TreeVisitorCacheExpirationStrategy directly

+review REVIEW-5972

    • -105
    • +0
    ./state/CachingTreeVisitorCleanerIntegrationTest.groovy
    • -0
    • +105
    ./state/TreeVisitorCacheExpirationStrategyIntegrationTest.groovy
  1. … 4 more files in changeset.
Add integration test for overlapping outputs

+review REVIEW-5972

    • -0
    • +54
    ./state/CachingTreeVisitorCleanerIntegrationTest.groovy
Rename Test -> IntegrationTest

+review REVIEW-5972

    • -0
    • +51
    ./state/CachingTreeVisitorCleanerIntegrationTest.groovy
    • -51
    • +0
    ./state/CachingTreeVisitorCleanerTest.groovy
Add integration test for CachingTreeVisitorCleaner

+review REVIEW-5972

    • -0
    • +51
    ./state/CachingTreeVisitorCleanerTest.groovy
Add integration test for CachingTreeVisitorCleaner

+review REVIEW-5972

    • -0
    • +51
    ./state/CachingTreeVisitorCleanerTest.groovy
Use old API methods for task inputs and outputs

Will revert deprecation in next commit.

+review REVIEW-6038

    • -1
    • +1
    ./state/InMemoryTaskArtifactsIntegrationTest.groovy
  1. … 38 more files in changeset.
Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

    • -1
    • +1
    ./state/InMemoryTaskArtifactsIntegrationTest.groovy
  1. … 199 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

    • -1
    • +1
    ./state/InMemoryTaskArtifactsIntegrationTest.groovy
  1. … 199 more files in changeset.
Bind task output files to properties

This change introduces a binding between task properties and output files. Output annotations automatically register property values to the corresponding property name.

The `TaskOutputs` API gained new methods with an `include` prefix that allow more flexible configuration of output properties, including specifying the property name to bind the files to. The old methods have been deprecated.

Properties that were not assigned a property name will be bound to a sequence of pseudo names like `$1`, `$2` etc.

+review REVIEW-6038

    • -1
    • +1
    ./state/InMemoryTaskArtifactsIntegrationTest.groovy
  1. … 41 more files in changeset.
Add separate test for GRADLE-2936

Link previous test to GRADLE-1910

+review REVIEW-6020

    • -0
    • +26
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Attack test to issue GRADLE-2936

+review REVIEW-6020

    • -0
    • +2
    ./state/TaskTypeUpToDateIntegrationTest.groovy
Use task classloaders in up-to-date checks

Task up-to-date checks now take into account the classloader of the task as well as the classloader used to create any additional actions. If any of these classloaders change, the task becomes out-of-date.

+review REVIEW-6020

    • -0
    • +159
    ./state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 18 more files in changeset.
Tweaked preconditions for a couple of tests to run the right tests on the right versions of the ibm jvm.

    • -1
    • +1
    ./state/DirectoryScanningIntegTest.groovy
  1. … 2 more files in changeset.
Don't run this test on ibm jvm

    • -1
    • +2
    ./state/DirectoryScanningIntegTest.groovy
Removed TestPrecondition.JDK7_OR_LATER

    • -2
    • +1
    ./state/DirectoryScanningIntegTest.groovy
  1. … 39 more files in changeset.