Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for snapshotDirectory (0.15 sec)

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

        def "watchers are stopped when removing the last watched snapshot"() {
            def rootDir = file("root").createDir()
            ["first", "second", "third"].collect { rootDir.createFile(it) }
            def rootDirSnapshot = snapshotDirectory(rootDir)
    
            when:
            registerWatchableHierarchies([rootDir])
            addSnapshot(rootDirSnapshot)
            then:
            1 * watcher.startWatching({ equalIgnoringOrder(it, [rootDir]) })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top