ResolutionResultApiIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reshuffle some tests into subpackages

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

package started to grow significantly.

    • -406
    • +0
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 79 more files in changeset.
Consistently report conflict resolution

This commit refactors how conflict resolution selection reasons are handled, in order to:

- collect the list of versions which participated in conflict resolution

- report a single conflict resolution cause when conflicts are resolved several times for the same module

- consistently report module replacement rules as rules, not conflict resolution. Before this change,

a module replacement was reported as both a conflict and a rule

    • -6
    • +8
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 29 more files in changeset.
Avoid duplicate `REQUESTED` when a direct dependency provides a custom reason

This is similar to the fix in #4301, but this time for direct dependencies

instead of constraints.

    • -0
    • +56
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 3 more files in changeset.
Make cache size and expiry configurable

The configuration is purely internal for now, and primarily aimed at making

the tests faster to execute.

    • -2
    • +4
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 1 more file in changeset.
Add test case for the reason serializer fix

Fixes gradle/gradle-private#1100

    • -0
    • +51
    ./ResolutionResultApiIntegrationTest.groovy
Transform FeaturePreviewsFixture to use the new API

Replaces injecting a property in the gradle.properties with injecting

the gradle.enableFeaturePreview in settings.gradle

    • -3
    • +3
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 16 more files in changeset.
Fix dependency constraints showing up as 2 different descriptors

Before this fix, whenever a constraint used a custom message, there were 2

separate descriptors in the list of descriptors in the selection reason: one

was `REQUESTED` with the custom message and one `CONSTRAINT`.

After this commit, the custom message is properly attached to the `CONSTRAINT`

descriptor instead. We also make sure that regular constraints do not lead to

an additional "REQUESTED" descriptor being added.

    • -0
    • +65
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 2 more files in changeset.
Add test coverage for dependency reasons

This commit adds test coverage, using the new resolve test fixtures.

Signed-off-by: Cedric Champeau <cedric@gradle.com>

    • -16
    • +34
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 3 more files in changeset.
Add tests to show all descriptions in resolution result API

This commit adds tests that show that the resolution result API gives access

to more information than the dependency insight report.

Signed-off-by: Cedric Champeau <cedric@gradle.com>

    • -0
    • +129
    ./ResolutionResultApiIntegrationTest.groovy
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -8
    • +10
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 163 more files in changeset.
Added some int test coverage for interaction between Maven scopes and Ivy configurations.

    • -6
    • +6
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 27 more files in changeset.
Fixed a bunch of tests to work when the machine's line separator is not \n.

    • -4
    • +2
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 26 more files in changeset.
Run more integration tests assuming fluid dependencies

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

    • -0
    • +80
    ./ResolutionResultApiIntegrationTest.groovy
  1. … 1384 more files in changeset.