DirectorySnapshotterTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename FileMetadata{Snapshot -> }

Snapshot doesn't add anything to the name.

  1. … 50 more files in changeset.
Detect symlinks for generic trees

When visiting generic file trees, we now

detect symlinks as well and propagate them

to the snapshots.

  1. … 3 more files in changeset.
Detect symlinks for generic trees

When visiting generic file trees, we now

detect symlinks as well and propagate them

to the snapshots.

  1. … 3 more files in changeset.
Detect cycles for symlinks

in `DirectorySnapshotter`.

  1. … 1 more file in changeset.
Add tests for symlink cycles

when snapshotting directories.

Detect cycles for symlinks

in `DirectorySnapshotter`.

  1. … 2 more files in changeset.
Detect cycles for symlinks

in `DirectorySnapshotter`.

  1. … 2 more files in changeset.
Add tests for symlink cycles

when snapshotting directories.

Detect cycles for symlinks

in `DirectorySnapshotter`.

  1. … 1 more file in changeset.
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. … 407 more files in changeset.
Fix tests

  1. … 372 more files in changeset.
Rename types for better understanding

We distinguish between complete and incomplete snapshots.

  1. … 68 more files in changeset.
Fix tests

  1. … 2 more files in changeset.
Do not keep reference to Stat in SnapshottingFilter

  1. … 15 more files in changeset.
Polish DirectorySnapshotterTest

Polish DirectorySnapshotterTest

Add tests to reproduce the issue

* "broken symlinks are snapshotted as missing"

* "detect changes to broken symlink outputs"

  1. … 1 more file in changeset.
Add tests to reproduce the issue

* "broken symlinks are snapshotted as missing"

* "detect changes to broken symlink outputs"

  1. … 1 more file in changeset.
DirectorySnapshotterTest should have null DirectoryWalkerPredicate parameters instead of dummy ones

DirectorySnapshotterTest should have null DirectoryWalkerPredicate parameters instead of dummy ones

Remove redundant comma

Remove redundant comma

Add unit test for snapshotting named pipes

Add unit test for snapshotting named pipes

Add makeReadable to TestFile

  1. … 2 more files in changeset.
Merge remote-tracking branch 'origin/master' into lorinc/9576/copy-to-unreadable-output

  1. … 1 more file in changeset.
Rename FileSystemSnapshotVisitor.{visit -> visitFile} (#9858)

So it is more obvious that directory snapshots are not passed into this

method.

  1. … 24 more files in changeset.
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.