internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use Spock import

    • -1
    • +1
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Ignore flaky tests to unblock pipeline

    • -0
    • +3
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
Clean up ListProperty more

- Clarify JavaDoc for add(Provider)/addAll(Provider)

- Add helper method in DefaultListPropertyTest to assert expected state

- Add integration test for list property

    • -0
    • +125
    ./provider/ListPropertyTaskIntegrationTest.groovy
  1. … 3 more files in changeset.
Separate non-daemon and daemon tests to isolate flakiness

Also kills the daemon after use.

    • -8
    • +4
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
    • -20
    • +71
    ./tasks/userinput/DefaultBuildScanUserInputHandlerIntegrationTest.groovy
  1. … 1 more file in changeset.
Replaced some usages of `PropertyState` with `Property`.

    • -1
    • +1
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 6 more files in changeset.
Deprecated `PropertyState` interface, which is replaced by `Property`. Deprecated the `Project.property()`, `Script.property()` and `ProviderFactory.property()` methods, which are replaced by `ObjectFactory.property()`.

    • -2
    • +2
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 19 more files in changeset.
Build scan plugin can be auto-applied with with artifact coordinates (#3131)

    • -15
    • +0
    ./tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
  1. … 5 more files in changeset.
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.