Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EmptySnapshotHierarchy (0.15 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystemTest.groovy

    import spock.lang.Specification
    
    class WatchingNotSupportedVirtualFileSystemTest extends Specification {
        def emptySnapshotHierarchy = DefaultSnapshotHierarchy.empty(CaseSensitivity.CASE_SENSITIVE)
        def nonEmptySnapshotHierarchy = Stub(SnapshotHierarchy) {
            empty() >> emptySnapshotHierarchy
        }
        def watchingNotSupportedVfs = new WatchingNotSupportedVirtualFileSystem(nonEmptySnapshotHierarchy)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

        def watcherRegistryFactory = Mock(FileWatcherRegistryFactory)
        def watcherRegistry = Mock(FileWatcherRegistry)
        def emptySnapshotHierarchy = DefaultSnapshotHierarchy.empty(CaseSensitivity.CASE_SENSITIVE)
        def nonEmptySnapshotHierarchy = Stub(SnapshotHierarchy) {
            empty() >> emptySnapshotHierarchy
        }
        def daemonDocumentationIndex = Mock(DaemonDocumentationIndex)
        def locationsUpdatedByCurrentBuild = Mock(FileWatchingFilter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        public static SnapshotHierarchy empty(CaseSensitivity caseSensitivity) {
            switch (caseSensitivity) {
                case CASE_SENSITIVE:
                    return EmptySnapshotHierarchy.CASE_SENSITIVE;
                case CASE_INSENSITIVE:
                    return EmptySnapshotHierarchy.CASE_INSENSITIVE;
                default:
                    throw new AssertionError("Unknown case sensitivity: " + caseSensitivity);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top