SyncCopyActionDecoratorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 41 more files in changeset.
Use Deleter to remove files in Sync task

  1. … 4 more files in changeset.
Use Deleter to remove files in Sync task

  1. … 4 more files in changeset.
Remove fileSystem from FileLookup

  1. … 14 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

  1. … 127 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

  1. … 60 more files in changeset.
Remove deprecated constructors on DirectoryFileTree (#1776)

  1. … 22 more files in changeset.
Make DirectInstantiator a singleton.

  1. … 89 more files in changeset.
Inject FileCopier into DefaultConfigurableFileTree.

  1. … 9 more files in changeset.
Removed some direct usages of FileSystems.default.

  1. … 20 more files in changeset.
REVIEW-2710 - remove convenience constructor.

  1. … 6 more files in changeset.
Remove redundant tests.

    • -67
    • +1
    ./SyncCopyActionDecoratorTest.groovy
Improve FileCopier to be stateless.

    • -23
    • +6
    ./SyncCopyActionDecoratorTest.groovy
  1. … 4 more files in changeset.
Rename the CopySpecContentVisitor type to CopyAction.

    • -0
    • +140
    ./SyncCopyActionDecoratorTest.groovy
  1. … 40 more files in changeset.