internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Wrap into standard input with DisconnectableInputStream

    • -4
    • +3
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -4
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 1 more file in changeset.
Introduce internal TestKit API for passing in standard input (#3085)

    • -32
    • +2
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 6 more files in changeset.
Capture user input via internal API (#3007)

    • -0
    • +58
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -0
    • +160
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 27 more files in changeset.
Fix test by waiting until enough outputs generated

    • -2
    • +6
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Relax restrictions on range

    • -1
    • +1
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Address review feedback

    • -1
    • +16
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Polish test case

This makes the test fail on every second/third time or so.

Related issue: #2827

    • -30
    • +35
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Add more inputs to the task

This makes the test fail on every second/third time or so.

    • -10
    • +30
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
  1. … 1 more file in changeset.
Add a test for corrupted test

    • -0
    • +108
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
  1. … 1 more file in changeset.
Calculate the build cache key when the build scan plugin has been applied (#2807)

    • -1
    • +38
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 13 more files in changeset.
Move org.gradle.api.internal.cache to persistent-cache project

+review REVIEW-6562

    • -136
    • +0
    ./cache/DefaultGeneratedGradleJarCacheIntegrationTest.groovy
  1. … 85 more files in changeset.
On CI redirect maven central queries to local repo for integration tests

    • -3
    • +1
    ./changedetection/state/TaskTypeUpToDateIntegrationTest.groovy
  1. … 108 more files in changeset.
Introduce `@ToBeImplemented` (#2643)

The `@ToBeImplemented` annotation replaces Groovy's `@NotYetImplemented`.

The problem with `NotYetImplemented` is that tests marked with it succeed no matter what causes the test to fail. Marked tests can pass because the expected failure is still present (which is the purpose of the test), or if the expected failure is replaced by some other failure.

It's better to write a test that explicitly tests for the expected failure, so when it fails for some other reason, it becomes noticeable. The purpose of the `@ToBeImplemented` annotation is to keep such tests easy to find in the code.

    • -3
    • +4
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
  1. … 9 more files in changeset.
Simplify output file detection if there are no overlapping outputs (#2490)

If there are no overlapping outputs, we can just use all the declared

outputs as output files and do not need to filter since the task under

question has exclusive access to the directory/files.

We now ignore missing files in output properties, for these two ways

of snapshotting a directory (output file detection and regular snapshotting)

to be identical.

    • -4
    • +0
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
  1. … 40 more files in changeset.
Escape file separators on Windows

    • -3
    • +3
    ./project/ProjectBuildFileIntegrationTest.groovy
Use platform specific file separators on both sides of comparison

    • -4
    • +3
    ./project/ProjectBuildFileIntegrationTest.groovy
Define the contract for Project.buildFile.

The value is always non-null.

    • -0
    • +65
    ./project/ProjectBuildFileIntegrationTest.groovy
  1. … 1 more file in changeset.
Emit the plugin class instead of just the plugin class name.

    • -9
    • +9
    ./plugins/ApplyPluginBuildOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Identify the target of scripts/plugins to build scans.

    • -63
    • +131
    ./plugins/ApplyPluginBuildOperationIntegrationTest.groovy
    • -5
    • +5
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 25 more files in changeset.
Add functional specs for build results (#2078)

* Support for functionally testing rich console output

* Fix test on Windows

* Another attempt to fix test on Windows

* Continue to use validation of deprecation messages

* Use regex to avoid issues with comparing String with OS-specific control characters

* Add functional tests for build results

* Fix tests now that we're validating output

    • -0
    • +61
    ./buildevents/BuildResultLoggerFunctionalSpec.groovy
  1. … 1 more file in changeset.
Handle null cases of task input snapshots. (#2073)

* Handle null cases of task input snapshots.

* Handle null cases of task input snapshots.

    • -14
    • +131
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 5 more files in changeset.
Introduce -Dorg.gradle.operations.trace=«path» mechanism for logging operations of any build.

    • -3
    • +1
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 14 more files in changeset.
Reorganise the rich build operation details/results type to further decouple from producer side semantics.

    • -1
    • +1
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 82 more files in changeset.
Emit the correct class names as part of the apply plugin build operation details.

    • -0
    • +129
    ./plugins/ApplyPluginBuildOperationIntegrationTest.groovy
  1. … 4 more files in changeset.
Expose an ID of the task alongside the path in the snapshot inputs operation details.

    • -9
    • +3
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 5 more files in changeset.
Decouple snapshot task inputs op result type from current structure (#2013)

    • -0
    • +87
    ./tasks/SnapshotTaskInputsOperationIntegrationTest.groovy
  1. … 7 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

    • -8
    • +8
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
  1. … 3 more files in changeset.
Extract test fixture for HttpBuildCache

    • -2
    • +2
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
    • -2
    • +2
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 20 more files in changeset.
Show relative paths for overlapping outputs

+review REVIEW-6515

    • -1
    • +1
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 2 more files in changeset.
Improve explanation for overlapping output directories

+review REVIEW-6515

    • -1
    • +1
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 2 more files in changeset.