- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 356 for createRule (0.29 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SourceTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 28 09:46:40 UTC 2021 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
dir.file("someFile").createFile() when: boolean didWork = deleter.deleteRecursively(dir) then: dir.assertDoesNotExist() didWork } def "deletes file"() { given: TestFile dir = tmpDir.getTestDirectory() TestFile file = dir.file("someFile") file.createFile() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FlatDirJvmLibraryArtifactResolutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy
def rootTextFile = rootDir.file("a.txt").createFile() def nestedTextFile = rootDir.file("a/b/c.txt").createFile() def nestedSiblingTextFile = rootDir.file("a/c/c.txt").createFile() def notTextFile = rootDir.file("a/b/c.html").createFile() def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile() def notUnderRoot = tmpDir.createDir("root2").file("a.txt").createFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 23.6K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/UnsupportedFilePermissionsTest.groovy
when: permissions.getUnixMode(tmpDir.createFile("file")) permissions.getUnixMode(tmpDir.createDir("dir")) then: outputEventListener.toString() == WARN_MESSAGE } def "warns on first attempt to chmod a file"() { when: permissions.chmod(tmpDir.createFile("file"), 0644) permissions.chmod(tmpDir.createDir("dir"), 0644) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 2.3K bytes - Viewed (0) -
src/os/stat_windows.go
} return fs, nil } } // Use CreateFile to determine whether the file is a name surrogate and, if so, // save information about the link target. // Set FILE_FLAG_BACKUP_SEMANTICS so that CreateFile will create the handle // even if name refers to a directory. var flags uint32 = syscall.FILE_FLAG_BACKUP_SEMANTICS | syscall.FILE_FLAG_OPEN_REPARSE_POINT h, err := syscall.CreateFile(namep, 0, 0, nil, syscall.OPEN_EXISTING, flags, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:44:48 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultArtifactCacheLockingAccessCoordinatorTest.groovy
def "cleans up resources"() { given: def file1 = resourcesDir.createDir("1/abc").createFile("test.txt") def file2 = resourcesDir.createDir("1/xyz").createFile("test.txt") def file3 = resourcesDir.createDir("2/uvw").createFile("test.txt") file2.parentFile.lastModified = 0 file3.parentFile.lastModified = 0 when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/initialization/DistributionInitScriptFinderTest.groovy
def "locates each script from init.d directory"() { def scripts = [] given: def script1 = distDir.createFile("init.d/script1.gradle") def script2 = distDir.createFile("init.d/script2.gradle") distDir.createFile("init.d/readme.txt") distDir.createFile("init.d/lib/test.jar") when: finder.findScripts(scripts) then: scripts.size() == 2
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
def deletedFiles = [] def "deletes non-reserved matching files"() { def cacheEntries = [ temporaryFolder.createFile("1"), temporaryFolder.createFile("2"), temporaryFolder.createFile("3"), ] when: cleanupAction(finder(cacheEntries), { it != cacheEntries[2] }) .clean(cleanableStore, progressMonitor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy
def watchableHierarchy = file("watchable").createDir() def watchableContent = watchableHierarchy.file("some/dir/file.txt").createFile() def unsupportedFileSystemMountPoint = watchableHierarchy.file("unsupported") def unwatchableContent = unsupportedFileSystemMountPoint.file("some/file.txt").createFile() when: registerWatchableHierarchies([watchableHierarchy])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 13:24:54 UTC 2024 - 4.8K bytes - Viewed (0)