Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes for build op changes.

    • -1
    • +5
    ./BuildOperationNotificationFixture.groovy
    • -2
    • +6
    ./BuildOperationNotificationIntegrationTest.groovy
Add some details to the 'run work' build operation for the root build to be used by gradle-profiler.

This will allow gradle-profiler to use a metrics collector to measure the time to first task.

    • -1
    • +5
    ./BuildOperationNotificationFixture.groovy
    • -2
    • +6
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 3 more files in changeset.
Add some details to the 'run work' build operation for the root build to be used by gradle-profiler.

This will allow gradle-profiler to use a metrics collector to measure the time to first task.

    • -1
    • +5
    ./BuildOperationNotificationFixture.groovy
    • -2
    • +6
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 3 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
    • -3
    • +3
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 871 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
    • -1
    • +4
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 98 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
    • -1
    • +4
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 98 more files in changeset.
Annotate integ tests failing with instant execution in :core

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
    • -0
    • +3
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 99 more files in changeset.
Fix test

    • -4
    • +1
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
Fix test

    • -9
    • +23
    ./BuildOperationNotificationIntegrationTest.groovy
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 72 more files in changeset.
Fix tests

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
Fix some tests.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 1 more file in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 50 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 98 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Change a few tests to use the various assertion methods to verify that a `buildSrc` task runs, rather than scraping the logging output.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 2 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 16 more files in changeset.
Synchronize test operation notification listener

Also includes some diagnostic improvements

    • -24
    • +22
    ./BuildOperationNotificationFixture.groovy
    • -1
    • +0
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 1 more file in changeset.
Move ExecuteTaskBuildOperationType (#7374)

* Move ExecuteTaskBuildOperationType to org.gradle.api.internal.tasks.execution

* Remove redundant import

    • -1
    • +1
    ./BuildOperationNotificationFixture.groovy
    • -1
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 24 more files in changeset.
Avoid use of `startParameter.searchUpwards` in tests

When `GradleBuild` tasks were used in integration tests, we were often

resorting to `startParameter.searchUpwards = false` to target an isolated

build script. Instead, use an explicitly defined `settings.gradle` in each target

build.

    • -2
    • +1
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 6 more files in changeset.
Simplify BuildOperationNotificationListenerRegistrar

Only keep the method used by build scan plugin 2.0, which is the minimum

version required for Gradle 5.0+.

    • -1
    • +1
    ./BuildOperationNotificationContinuousBuildIntegrationTest.groovy
    • -7
    • +6
    ./BuildOperationNotificationFixture.groovy
    • -29
    • +4
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 7 more files in changeset.
Expose which build included the build being loaded to operation listeners (#6181)

* Record which build included the build and expose in LoadBuild operation

    • -7
    • +5
    ./BuildOperationNotificationIntegrationTest.groovy
  1. … 26 more files in changeset.