delete

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -129
    • +0
    ./AbstractSymlinkDeleterTest.groovy
    • -41
    • +0
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -42
    • +0
    ./WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move resolving files to delete to DefaultFileOperations

    • -17
    • +9
    ./AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Move resolving files to delete to DefaultFileOperations

    • -17
    • +9
    ./AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Move resolving files to delete to DefaultFileOperations

    • -17
    • +9
    ./AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Move resolving files to delete to DefaultFileOperations

    • -17
    • +9
    ./AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Move resolving files to delete to DefaultFileOperations

    • -17
    • +9
    ./AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Test the non-resolving interface

Resolving is tested in DefaultFileOperationsTest already.

  1. … 1 more file in changeset.
Test the non-resolving interface

Resolving is tested in DefaultFileOperationsTest already.

  1. … 1 more file in changeset.
Dissect Deleter, part 3

Peel away Clock again.

  1. … 3 more files in changeset.
Dissect Deleter, part 3

Peel away Clock again.

  1. … 3 more files in changeset.
Throw simple RuntimeException instead of custom one

  1. … 1 more file in changeset.
Throw simple RuntimeException instead of custom one

  1. … 2 more files in changeset.
Move determining need for GC on failed delete outside of Deleter

  1. … 3 more files in changeset.
Simplify Deleter API

We don't need to use WorkResult here.

  1. … 4 more files in changeset.
Polish DeleterTest

Let Deleter take a Clock and make tests deterministic

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 11 more files in changeset.
Reduce DeleterTest flakiness in distinguishing test files as old or new

By making Deleter help message tests set new files last modified a bit

in the future in order for existing test files to be considered old

comparatively.

Signed-off-by: Paul Merlin <paul@gradle.com>

Add test coverage for Deleter with Windows symbolic link variants

    • -0
    • +136
    ./AbstractSymlinkDeleterTest.groovy
    • -0
    • +41
    ./UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +42
    ./WindowsHardLinkDeleterTest.groovy
    • -0
    • +41
    ./WindowsJunctionDeleterTest.groovy
    • -0
    • +41
    ./WindowsSymbolicLinkDeleterTest.groovy
Unignore flaky tests

Signed-off-by: Paul Merlin <paul@gradle.com>

Temporarily ignore flaky tests

Signed-off-by: Paul Merlin <paul@gradle.com>

Ignore test temporarily