DefaultFileHierarchySetTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename FileHierarchySet to SnapshotHierarchy

    • -705
    • +0
    ./DefaultFileHierarchySetTest.groovy
  1. … 6 more files in changeset.
Rename FileHierarchySet to SnapshotHierarchy

    • -705
    • +0
    ./DefaultFileHierarchySetTest.groovy
  1. … 6 more files in changeset.
Merge branch 'master'

    • -12
    • +16
    ./DefaultFileHierarchySetTest.groovy
  1. … 8 more files in changeset.
Separate MetadataSnapshot from FileSystemNode

A `FileSystemNode` has a `MetadataSnapshot`, though it normally isn't an

`MetadataSnapshot`. Currently, `CompleteFileSystemSnapshot`s are both

`MetadataSnapshot`s and `FileSystemNode`s.

At some point in the future we should separate the child structure

(aka `FileSystemNode`) from the stored values (aka `MetadataSnapshot`)

for `CompleteFileSystemSnapshot`s as well, which means also removing the

children from `CompleteDirectorySnapshot`.

    • -22
    • +26
    ./DefaultFileHierarchySetTest.groovy
  1. … 13 more files in changeset.
Add static import for CaseSensitivity.*

  1. … 8 more files in changeset.
Use enum for case sensitivity

    • -12
    • +15
    ./DefaultFileHierarchySetTest.groovy
  1. … 15 more files in changeset.
Use enum for case sensitivity

    • -12
    • +15
    ./DefaultFileHierarchySetTest.groovy
  1. … 15 more files in changeset.
Use enum for case sensitivity

    • -12
    • +15
    ./DefaultFileHierarchySetTest.groovy
  1. … 15 more files in changeset.
Use case-insensitive matching on case insensitive FS

Only searching for snapshots is respecting the case sensitivity, the

other methods currently don't.

    • -12
    • +12
    ./DefaultFileHierarchySetTest.groovy
  1. … 16 more files in changeset.
Use case-insensitive matching on case insensitive FS

Only searching for snapshots is respecting the case sensitivity, the

other methods currently don't.

    • -12
    • +12
    ./DefaultFileHierarchySetTest.groovy
  1. … 16 more files in changeset.
Ignore test

Store PartialDirectorySnapshots when we know it is a directory

For example, when we add a non-missing snapshot to the VFS, we can be

sure that the parent is a directory.

    • -29
    • +36
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Support UNC paths for Windows

    • -3
    • +40
    ./DefaultFileHierarchySetTest.groovy
  1. … 4 more files in changeset.
Fix unit test

We now show the whole hierarchy, also looking into

`CompleteDirectorySnapshots`

Move path-related utility methods to PathUtil

  1. … 9 more files in changeset.
Remove semicolons from Groovy code

Move test method to tests

    • -22
    • +52
    ./DefaultFileHierarchySetTest.groovy
  1. … 6 more files in changeset.
Rename types for better understanding

We distinguish between complete and incomplete snapshots.

    • -10
    • +10
    ./DefaultFileHierarchySetTest.groovy
  1. … 68 more files in changeset.
Ignore currently broken test on Windows

Ignore currently broken test on Windows

Fix unit test

Only run it on Windows when validation is enabled.

Fix unit test

Only run it on Windows when validation is enabled.

Fix unit test

Only run it on Windows when validation is enabled.

Fix case when snapshots are on multiple drives

    • -11
    • +96
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Use a shallow directory snapshot for missing files

    • -36
    • +40
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Use a shallow directory snapshot for missing files

    • -36
    • +40
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Use a shallow directory snapshot for missing files

    • -36
    • +36
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Use a shallow directory snapshot for missing files

    • -36
    • +40
    ./DefaultFileHierarchySetTest.groovy
  1. … 3 more files in changeset.
Have FileSystemLocationSnapshots directly implement Node

  1. … 10 more files in changeset.
Have FileSystemLocationSnapshots directly implement Node

  1. … 12 more files in changeset.