internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved `ObjectFactory` to the coreApi project so that it can reference core types. Moved the implementation to core.

    • -0
    • +103
    ./model/CustomPluginObjectFactoryIntegrationTest.groovy
    • -0
    • +205
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 11 more files in changeset.
Flush user input

    • -0
    • +1
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
Rename method again

    • -3
    • +4
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -4
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Merge branch 'release' into bm/flaky/pipe-closed

    • -42
    • +6
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Add a couple of tests for overlapping output detection for local state

    • -18
    • +225
    ./changedetection/rules/OverlappingOutputsIntegrationTest.groovy
Use better INFO log for non-up-to-date tasks (#3111)

    • -0
    • +44
    ./changedetection/state/UpToDateIntegTest.groovy
  1. … 1 more file in changeset.
Don't ask for user input on non-interactive console (#3106)

    • -10
    • +4
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 13 more files in changeset.
Kill process earlier to remove flakiness from test.

    • -2
    • +4
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Detect changes between null output file and non-existent output file (#3079)

We need to distinguish between an optional output file property which

is `null` and a property which points to some non-existent files.

The easiest way to do so is to remove optional output properties which

are `null` completely.

We break some tests now that we distinguish the order in which the

output files are declared.

    • -3
    • +6
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
    • -1
    • +1
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 8 more files in changeset.
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.