DefaultValueSnapshotterTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
WIP

    • -1
    • +32
    ./DefaultValueSnapshotterTest.groovy
  1. … 29 more files in changeset.
Move value snapshotting to modelCore

    • -1056
    • +0
    ./DefaultValueSnapshotterTest.groovy
  1. … 86 more files in changeset.
Move value snapshotting to modelCore

    • -1055
    • +0
    ./DefaultValueSnapshotterTest.groovy
  1. … 86 more files in changeset.
Move value snapshotting to modelCore

    • -1056
    • +0
    ./DefaultValueSnapshotterTest.groovy
  1. … 86 more files in changeset.
Move value snapshotting to modelCore

    • -1056
    • +0
    ./DefaultValueSnapshotterTest.groovy
  1. … 86 more files in changeset.
Fix for change to singleton.

Fix for changes to singleton.

Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Allow `RegularFileProperty` and `DirectoryProperty` types to be used on artifact transform parameter objects, and take care of fingerprinting and building the files before running the transform.

Reuse the mechanism that allows instances of generated classes to describe their state to the isolation infrastructure for other core Gradle types, such as `ConfigurableFileCollection`, `Provider` and `Property` and remove the custom isolation logic for these core types.

    • -27
    • +20
    ./DefaultValueSnapshotterTest.groovy
  1. … 38 more files in changeset.
Allow `RegularFileProperty` and `DirectoryProperty` types to be used on artifact transform parameter objects, and take care of fingerprinting and building the files before running the transform.

Reuse the mechanism that allows instances of generated classes to describe their state to the isolation infrastructure for other core Gradle types, such as `ConfigurableFileCollection`, `Provider` and `Property` and remove the custom isolation logic for these core types.

    • -27
    • +20
    ./DefaultValueSnapshotterTest.groovy
  1. … 38 more files in changeset.
Allow various `Property` types to be isolated, so these can be used on artifact transform parameters objects (and everywhere else that isolated values can be used).

    • -44
    • +134
    ./DefaultValueSnapshotterTest.groovy
  1. … 44 more files in changeset.
Allow various `Property` types to be isolated, so these can be used on artifact transform parameters objects (and everywhere else that isolated values can be used).

    • -44
    • +134
    ./DefaultValueSnapshotterTest.groovy
  1. … 44 more files in changeset.
Allow a generated "managed" type with properties of type `ConfigurableFileCollection` to be unpacked, isolated and recreated. This can be used with the parameters object of an artifact transform.

    • -0
    • +20
    ./DefaultValueSnapshotterTest.groovy
  1. … 6 more files in changeset.
Allow a generated "managed" type with properties of type `ConfigurableFileCollection` to be unpacked, isolated and recreated. This can be used with the parameters object of an artifact transform.

    • -0
    • +20
    ./DefaultValueSnapshotterTest.groovy
  1. … 6 more files in changeset.
Special case the isolation for generated `Named` types, to make this faster for variant selecting.

    • -37
    • +49
    ./DefaultValueSnapshotterTest.groovy
  1. … 29 more files in changeset.
Special case the isolation for generated `Named` types, to make this faster for variant selecting.

    • -37
    • +49
    ./DefaultValueSnapshotterTest.groovy
  1. … 29 more files in changeset.
Support isolation of a 'managed' type (a Gradle provided implementation of an interface or abstract class with no fields) without serialization.

The implementation is shared for types generated by `NamedObjectFactory` and `ClassGenerator`.

    • -2
    • +75
    ./DefaultValueSnapshotterTest.groovy
  1. … 23 more files in changeset.
Support isolation of a 'managed' type (a Gradle provided implementation of an interface or abstract class with no fields) without serialization.

The implementation is shared for types generated by `NamedObjectFactory` and `ClassGenerator`.

    • -2
    • +75
    ./DefaultValueSnapshotterTest.groovy
  1. … 23 more files in changeset.
Split the `ValueSnapshot` and `Isolatable<T>` implementations for list, set, array and map types, so that not every `Isolatable` implementation must also implement `ValueSnapshot` if it doesn't make sense.

    • -15
    • +139
    ./DefaultValueSnapshotterTest.groovy
  1. … 35 more files in changeset.
Split the `ValueSnapshot` and `Isolatable<T>` implementations for list, set, array and map types, so that not every `Isolatable` implementation must also implement `ValueSnapshot` if it doesn't make sense.

    • -15
    • +139
    ./DefaultValueSnapshotterTest.groovy
  1. … 35 more files in changeset.
Move value snapshot implementations to snapshots project

    • -0
    • +744
    ./DefaultValueSnapshotterTest.groovy
  1. … 96 more files in changeset.