VcsMappingsIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add more source dependency test coverage.

    • -393
    • +0
    ./VcsMappingsIntegrationTest.groovy
  1. … 10 more files in changeset.
Use a `NotationParser` in the source dependencies API to convert from module id expressed as a string into a `ModuleIdentifier` used for matching, so that the conversion logic can be shared rather than having multiple inconsistent implementations of this conversion. This change also removes the creation of many temporary strings during dependency resolution when source dependency mappings are defined.

    • -0
    • +23
    ./VcsMappingsIntegrationTest.groovy
  1. … 10 more files in changeset.
Remove the internal support for source dependencies from a directory. Now, all source dependencies must be hosted in a Git repository, which may be local.

    • -76
    • +49
    ./VcsMappingsIntegrationTest.groovy
  1. … 8 more files in changeset.
Some tweaks to source dependency error messages.

  1. … 5 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

  1. … 28 more files in changeset.
Added a placeholder API to allow a dependency to be declared on a particular branch of a component. This API is intended to be replaced as more/better support is added for selecting versions based on criteria other than matching on the 'version' attribute. It is only honored for source dependencies for now. Support for binary dependencies will be added at some point.

  1. … 13 more files in changeset.
Allow source dependencies to be used for build script classpaths and fix the case where a build defines included builds and VCS mappings.

Source dependencies are not yet supported for settings or init scripts.

    • -0
    • +65
    ./VcsMappingsIntegrationTest.groovy
  1. … 7 more files in changeset.
Add more coverage for injected plugins into an included build

    • -0
    • +73
    ./VcsMappingsIntegrationTest.groovy
  1. … 1 more file in changeset.
Move VCS source dependency related integ tests to versionControl

    • -0
    • +259
    ./VcsMappingsIntegrationTest.groovy
  1. … 11 more files in changeset.
Move AbstractVcsIntegrationTest tree to dependencyManagemnt

These tests are actually testing the integration between the

dependency management subproject and the version control

subproject. They should live in the consuming subproject rather than

the producing one.

    • -140
    • +0
    ./VcsMappingsIntegrationTest.groovy
  1. … 7 more files in changeset.
Include simple test with locking

This is not sufficient to prove that pulling multiple

`VersionControlSpec`s in parallel to the same directory will be

safe. We still need to add some more sophisticated testing fixtures to

prove that.

This change also switches who has the responsibility for making the

"uniqueId()" for the `VersionControlSpec` globally unique. The

previous implementation wouldn't work given that the

`VersionControlSystem` would always be a

`ThreadSafeVersionControlSystem` no matter what the delegate

`VersionControlSystem` would be.

Part of gradle/gradle-native#146

  1. … 9 more files in changeset.
Add VcsDependencyResolver that uses VcsMappings to checkout source dependencies

    • -0
    • +140
    ./VcsMappingsIntegrationTest.groovy
  1. … 4 more files in changeset.
Add version ref to Vcs populate

    • -137
    • +0
    ./VcsMappingsIntegrationTest.groovy
  1. … 14 more files in changeset.
Rename VcsMappings.all -> VcsMappings.addRule

  1. … 3 more files in changeset.
Remove external source resolver temporarily

  1. … 2 more files in changeset.
Add VCS mapping API

Incorporate upstream changes

    • -0
    • +135
    ./VcsMappingsIntegrationTest.groovy
  1. … 38 more files in changeset.