internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add unit tests

Signed-off-by: Robert Stupp <snazy@snazy.de>

Move Deleter to :files

    • -0
    • +128
    ./file/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./file/DeleterTest.groovy
    • -0
    • +41
    ./file/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +40
    ./file/WindowsHardLinkDeleterTest.groovy
    • -0
    • +40
    ./file/WindowsJunctionDeleterTest.groovy
    • -0
    • +40
    ./file/WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Make :files available to test workers

This means reverting to Java 6 source compatibility unfortunately.

  1. … 4 more files in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Do not move org.gradle.api.internal.file.pattern out of "api" package

It is used by our own build.

    • -0
    • +43
    ./file/pattern/FixedPatternStepTest.groovy
    • -0
    • +109
    ./file/pattern/FixedStepPathMatcherTest.groovy
    • -0
    • +71
    ./file/pattern/GreedyPathMatcherTest.groovy
    • -0
    • +71
    ./file/pattern/HasPrefixAndSuffixPatternStepTest.groovy
    • -0
    • +54
    ./file/pattern/HasPrefixPatternStepTest.groovy
    • -0
    • +50
    ./file/pattern/HasSuffixPatternStepTest.groovy
    • -0
    • +375
    ./file/pattern/PatternMatcherFactoryTest.java
    • -0
    • +189
    ./file/pattern/PatternStepFactoryTest.groovy
    • -0
    • +94
    ./file/pattern/RegExpPatternStepTest.java
  1. … 49 more files in changeset.
Do not move org.gradle.api.internal.file.pattern out of "api" package

It is used by our own build.

    • -0
    • +42
    ./file/pattern/FixedPatternStepTest.groovy
    • -0
    • +106
    ./file/pattern/FixedStepPathMatcherTest.groovy
    • -0
    • +70
    ./file/pattern/HasPrefixAndSuffixPatternStepTest.groovy
    • -0
    • +375
    ./file/pattern/PatternMatcherFactoryTest.java
    • -0
    • +182
    ./file/pattern/PatternStepFactoryTest.groovy
    • -0
    • +94
    ./file/pattern/RegExpPatternStepTest.java
  1. … 49 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

    • -127
    • +0
    ./file/AbstractFileTreeElementTest.groovy
    • -39
    • +0
    ./file/DefaultFileTreeElementTest.groovy
    • -58
    • +0
    ./file/DirectoryPropertyTest.groovy
    • -72
    • +0
    ./file/FileSystemPropertySpec.groovy
    • -138
    • +0
    ./file/FileSystemSubsetTest.groovy
    • -74
    • +0
    ./file/collections/BuildDependenciesOnlyFileCollectionResolveContextTest.groovy
    • -902
    • +0
    ./file/collections/DefaultConfigurableFileCollectionSpec.groovy
    • -319
    • +0
    ./file/collections/DefaultConfigurableFileTreeTest.groovy
    • -234
    • +0
    ./file/collections/DefaultFileCollectionResolveContextTest.groovy
    • -75
    • +0
    ./file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
  1. … 310 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

    • -0
    • +127
    ./file/AbstractFileTreeElementTest.groovy
    • -0
    • +39
    ./file/DefaultFileTreeElementTest.groovy
    • -0
    • +58
    ./file/DirectoryPropertyTest.groovy
    • -0
    • +58
    ./file/FilePropertyTest.groovy
    • -0
    • +72
    ./file/FileSystemPropertySpec.groovy
    • -0
    • +138
    ./file/FileSystemSubsetTest.groovy
    • -0
    • +74
    ./file/collections/BuildDependenciesOnlyFileCollectionResolveContextTest.groovy
    • -0
    • +902
    ./file/collections/DefaultConfigurableFileCollectionSpec.groovy
    • -0
    • +319
    ./file/collections/DefaultConfigurableFileTreeTest.groovy
    • -0
    • +234
    ./file/collections/DefaultFileCollectionResolveContextTest.groovy
    • -0
    • +96
    ./file/collections/DefaultSingletonFileTreeTest.groovy
    • -0
    • +75
    ./file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
    • -0
    • +266
    ./file/collections/DirectoryFileTreeTest.groovy
    • -0
    • +130
    ./file/collections/DirectoryWalkerTest.groovy
    • -0
    • +66
    ./file/collections/FileCollectionAdapterTest.groovy
  1. … 310 more files in changeset.
Move file pattern matching to internal package without api

    • -42
    • +0
    ./file/pattern/FixedPatternStepTest.groovy
    • -106
    • +0
    ./file/pattern/FixedStepPathMatcherTest.groovy
    • -70
    • +0
    ./file/pattern/HasPrefixAndSuffixPatternStepTest.groovy
    • -375
    • +0
    ./file/pattern/PatternMatcherFactoryTest.java
    • -182
    • +0
    ./file/pattern/PatternStepFactoryTest.groovy
  1. … 50 more files in changeset.
Test ignoring duplicate separators

Move PathMatcherFactoryTest to :files

    • -0
    • +361
    ./file/pattern/PatternMatcherFactoryTest.java
  1. … 1 more file in changeset.
Move PathMatcherFactoryTest to :files

    • -0
    • +361
    ./file/pattern/PatternMatcherFactoryTest.java
  1. … 1 more file in changeset.
Move pattern matching to :files

    • -0
    • +42
    ./file/pattern/FixedPatternStepTest.groovy
    • -0
    • +106
    ./file/pattern/FixedStepPathMatcherTest.groovy
    • -0
    • +69
    ./file/pattern/GreedyPathMatcherTest.groovy
    • -0
    • +70
    ./file/pattern/HasPrefixAndSuffixPatternStepTest.groovy
    • -0
    • +53
    ./file/pattern/HasPrefixPatternStepTest.groovy
    • -0
    • +49
    ./file/pattern/HasSuffixPatternStepTest.groovy
    • -0
    • +182
    ./file/pattern/PatternStepFactoryTest.groovy
  1. … 41 more files in changeset.
Rename :files project to :file-collections

    • -127
    • +0
    ./file/AbstractFileTreeElementTest.groovy
    • -39
    • +0
    ./file/DefaultFileTreeElementTest.groovy
    • -58
    • +0
    ./file/DirectoryPropertyTest.groovy
    • -72
    • +0
    ./file/FileSystemPropertySpec.groovy
    • -138
    • +0
    ./file/FileSystemSubsetTest.groovy
    • -74
    • +0
    ./file/collections/BuildDependenciesOnlyFileCollectionResolveContextTest.groovy
    • -902
    • +0
    ./file/collections/DefaultConfigurableFileCollectionSpec.groovy
    • -319
    • +0
    ./file/collections/DefaultConfigurableFileTreeTest.groovy
    • -234
    • +0
    ./file/collections/DefaultFileCollectionResolveContextTest.groovy
    • -75
    • +0
    ./file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
  1. … 229 more files in changeset.
Rename :files project to :file-collections

    • -127
    • +0
    ./file/AbstractFileTreeElementTest.groovy
    • -39
    • +0
    ./file/DefaultFileTreeElementTest.groovy
    • -58
    • +0
    ./file/DirectoryPropertyTest.groovy
    • -72
    • +0
    ./file/FileSystemPropertySpec.groovy
    • -138
    • +0
    ./file/FileSystemSubsetTest.groovy
    • -74
    • +0
    ./file/collections/BuildDependenciesOnlyFileCollectionResolveContextTest.groovy
    • -902
    • +0
    ./file/collections/DefaultConfigurableFileCollectionSpec.groovy
    • -319
    • +0
    ./file/collections/DefaultConfigurableFileTreeTest.groovy
    • -234
    • +0
    ./file/collections/DefaultFileCollectionResolveContextTest.groovy
    • -75
    • +0
    ./file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
  1. … 229 more files in changeset.
Rename :files project to :file-collections

    • -127
    • +0
    ./file/AbstractFileTreeElementTest.groovy
    • -39
    • +0
    ./file/DefaultFileTreeElementTest.groovy
    • -58
    • +0
    ./file/DirectoryPropertyTest.groovy
    • -72
    • +0
    ./file/FileSystemPropertySpec.groovy
    • -138
    • +0
    ./file/FileSystemSubsetTest.groovy
    • -74
    • +0
    ./file/collections/BuildDependenciesOnlyFileCollectionResolveContextTest.groovy
    • -902
    • +0
    ./file/collections/DefaultConfigurableFileCollectionSpec.groovy
    • -319
    • +0
    ./file/collections/DefaultConfigurableFileTreeTest.groovy
    • -234
    • +0
    ./file/collections/DefaultFileCollectionResolveContextTest.groovy
    • -75
    • +0
    ./file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
  1. … 228 more files in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separate walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.
Separated walker and snapshotter behavior for broken symlinks

  1. … 1 more file in changeset.