IvyComponentMetadataRulesStatusIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -1
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 81 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -1
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 81 more files in changeset.
Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

    • -1
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 81 more files in changeset.
Fix for previous commit.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 15 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 36 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 42 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 36 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 36 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 42 more files in changeset.
Do not write the source paths for a `CopySpec` multiple times to the instant execution cache.

Previously, these were written once when the `CopySpec` was serialized and once when the associated input property spec was serialized.

This commit adds some special case handling for this case. It also preserves the identity of each `FileTree` and `FileCollection` instance for each task to enable short circuiting when the same file collections are referenced via multiple paths, such as in the `CopySpec` case.

    • -3
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 42 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -3
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 93 more files in changeset.
Reshuffle some tests into subpackages

This is just a refactoring of tests, to make it clearer: the base

package started to grow significantly.

    • -1
    • +1
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 79 more files in changeset.
Migrate integration tests to use class based rules.

    • -11
    • +21
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 9 more files in changeset.
Minor updates on review of ComponentMetadata rules improvements

+review REVIEW-5218

    • -3
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 11 more files in changeset.
Refactored ComponentMetadataHandler.eachComponent() to all()

+review REVIEW-5218

    • -3
    • +3
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 14 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +98
    ./IvyComponentMetadataRulesStatusIntegrationTest.groovy
  1. … 1384 more files in changeset.