CompositeBuildConfigurationTimeResolveIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -10
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.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.

    • -10
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.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.

    • -10
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 98 more files in changeset.
Let composite-build tests not use deprecated configurations

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 12 more files in changeset.
Let composite-build tests not use deprecated configurations

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 12 more files in changeset.
Let composite-build tests not use deprecated configurations

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 12 more files in changeset.
Use java-library and its configurations in ResolveTestFixture

This mainly influences the composite build tests which intensively

use this fixture.

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 13 more files in changeset.
spelling: execution

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Fix task failure handling so that task failures from included builds are not lost. Previously, a task exception would be ignored if no task in the main build directly depended on the failed task and was still scheduled to run at the point in time where the task failed. In some cases this resulted in the build being reported as successful when in fact some task in an included build had failed.

This change means that some exceptions will be reported twice, but this is better than not at all. A subsequent change will fix this.

This change also decouples waiting for completion of tasks in an included build from firing the build finished events and other cleanup. Now all tasks in all builds are completed before finishing up any builds.

    • -8
    • +0
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 31 more files in changeset.
Fix CompositeBuildEventsIntegrationTest usage of output test fixtures

    • -5
    • +5
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 6 more files in changeset.
Add some more assertion methods to `ExecutionResult` and change several tests and utility methods to use these methods instead of reimplementing the logic.

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
  1. … 11 more files in changeset.
Handle spurious build execution when executing included build twice

    • -1
    • +1
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Better test coverage for configuration-time resolve of included build

    • -0
    • +29
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Fix tests for configuration-time resolve in a composite build

    • -7
    • +11
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy
Add tests for configuration-time resolve in composite builds

    • -0
    • +160
    ./CompositeBuildConfigurationTimeResolveIntegrationTest.groovy