DefaultVariantTransformRegistryTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 407 more files in changeset.
Fix tests

    • -1
    • +1
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 372 more files in changeset.
Fix for transform service inject.

    • -1
    • +3
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 3 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -1
    • +3
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 14 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -1
    • +3
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 14 more files in changeset.
Tweak messages for previous commit, fixes.

    • -24
    • +25
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 11 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -24
    • +25
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 35 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -24
    • +25
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 35 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 24 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Remove some more indirection when locating the project to lock before running build logic that may access project state.

    • -2
    • +4
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 16 more files in changeset.
Add build operation for snapshotting artifac trasnform inputs

    • -1
    • +22
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 3 more files in changeset.
Rename TransformerInvoker to TransformerInvocationFactory

As this is what it does. Also moved a method only used in tests to the relevant test class.

    • -2
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 10 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 34 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -1
    • +1
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 34 more files in changeset.
Use inner Parameters class

for transform parameters.

    • -6
    • +6
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 7 more files in changeset.
Address review feedback

    • -2
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 3 more files in changeset.
Use TransformParameters.None for parameterless transforms

    • -1
    • +20
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 11 more files in changeset.
Remove InjectTransformParameters

The annotation is not required any more.

    • -2
    • +1
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 4 more files in changeset.
Add TransformAction.getParameters

So the implementors of `TransformAction` don't need to add the method.

    • -2
    • +2
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 10 more files in changeset.
Rename registerTransform{Action -> }

    • -22
    • +11
    ./DefaultVariantTransformRegistryTest.groovy
  1. … 19 more files in changeset.