Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertIsFileSnapshot (0.26 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessConcurrencyTest.groovy

                })
            }
            executorService.awaitTermination(5, TimeUnit.SECONDS)
            then:
            (1..1000).each { num ->
                def updatedLocation = dir.file(num).file("in-dir.txt")
                assertIsFileSnapshot(read(updatedLocation), updatedLocation)
            }
    
            cleanup:
            executorService.shutdown()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy

                }
            }
    
            void allowStat(boolean allowed) {
                this.statAllowed = allowed
            }
        }
    
        void assertIsFileSnapshot(FileSystemLocationSnapshot snapshot, File file) {
            assert snapshot.absolutePath == file.absolutePath
            assert snapshot.name == file.name
            assert snapshot.type == FileType.RegularFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top