DefaultBuildableComponentSelectionResultTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Simplify `DynamicVersionResolver`

This commit merges `RepositoryResolveState` with `ComponentSelectionContext`. This makes the code easier to read, by avoiding

incomprehensible back references. Unit tests are also clearer since they now clearly show which versions were tested, rejected

and not found.

    • -94
    • +0
    ./DefaultBuildableComponentSelectionResultTest.groovy
  1. … 9 more files in changeset.
Removed unused import.

    • -1
    • +0
    ./DefaultBuildableComponentSelectionResultTest.groovy
Wrap all ModuleComponentRepositoryAccess chains in an error handling wrapper, so that failures are attached to the result rather than propagated.

Changed BuildableComponentSelectionResult so that failures can be attached to the result, use this when the meta-data for a candidate cannot be resolved.

Swapped order of 'missing' locations so that the version list URL appears first in the list (to reflect the order we tried things in).

    • -3
    • +40
    ./DefaultBuildableComponentSelectionResultTest.groovy
  1. … 11 more files in changeset.
Refactored BuildableComponentSelectionResolveResult to be more similar to other Buildable*ResolveResults

+review REVIEW-5355

    • -26
    • +9
    ./DefaultBuildableComponentSelectionResultTest.groovy
  1. … 8 more files in changeset.
Renamed and refactored some resolution classes for clarity

+review REVIEW-5355

    • -0
    • +75
    ./DefaultBuildableComponentSelectionResultTest.groovy
  1. … 29 more files in changeset.