- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 356 for createRule (0.17 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/HandleStaleOutputsStepTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SymlinkContinuousIntegrationTest.groovy
// need an existing sibling of the symlink to ensure the parent directory of // the symlink is watched between builds. linkdir.file("existing").createFile() buildFile << """ task echo { def symlink = file("${symlink.toURI()}") inputs.files symlink inputs.files "src/linkdir/existing" outputs.file "build/outputs"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy
long lastCleanupCheck = initializeHome() when: def newTrashFile = temporaryFolder.file("0" * hashStringLength).createFile() def oldTrashFile = temporaryFolder.file("1" * hashStringLength).createFile() createBuildCacheEntry("0" * hashStringLength, newTrashFile, System.currentTimeMillis())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy
def watchableHierarchy = file("watchable").createDir() def fileOutsideOfWatchableHierarchy = file("outside").file("someFile.txt").createFile() def fileInDirectoryIgnoredForWatching = file("cache/some-cache/someFile.txt").createFile() ignoredForWatching.add(fileInDirectoryIgnoredForWatching.absolutePath) when: registerWatchableHierarchies([watchableHierarchy])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 21.5K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "can apply ContentAndMetadataAction to file contents"() { def file = tmpDir.createFile("content") file.text = "1234" expect: def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 14K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy
false ) def doesNotDeleteFilesInsideSymlinkDir() { Assume.assumeTrue(canCreateSymbolicLinkToDirectory()) given: def keepTxt = tmpDir.createFile("originalDir", "keep.txt") def originalDir = keepTxt.parentFile def link = new File(tmpDir.getTestDirectory(), "link") when: createSymbolicLink(link, originalDir) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/resource/local/UniquePathKeyFileStoreTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Aug 28 21:50:20 UTC 2022 - 2.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy
def jdkHome = temporaryFolder.createDir("jdk") def binDir = jdkHome.createDir("bin") binDir.createFile(OperatingSystem.LINUX.getExecutableName("java")) // Make it look like a macOS installation def macOsJdkHomeBinDir = jdkHome.createDir("Contents/Home/bin") macOsJdkHomeBinDir.createFile(OperatingSystem.LINUX.getExecutableName("java")) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCleanupIntegrationTest.groovy
} private TestFile createCacheEntryDir(String entry) { TestFile dir = cacheDir.createDir(entry) dir.createFile("state.bin") dir.createFile("fingerprint.bin") return dir } private TestFile getGcFile() { return cacheDir.file("gc.properties") } private TestFile getCacheDir() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy
expect: fs.getUnixMode(tmpDir.createFile("someFile")) == FileSystem.DEFAULT_FILE_MODE fs.getUnixMode(tmpDir.createDir("someDir")) == FileSystem.DEFAULT_DIR_MODE } @Requires(UnitTestPreconditions.NoFilePermissions) def "setting unix permissions does nothing on unsupported platforms"() { expect: fs.chmod(tmpDir.createFile("someFile"), 0644) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5.8K bytes - Viewed (0)