- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 355 for createFile1 (0.16 sec)
-
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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
File resultFile; path = "hoge.html"; file = fileTransformer.createFile(path); resultFile = new File(fileTransformer.baseDir, path); assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); path = "foo1/hoge.html"; file = fileTransformer.createFile(path); resultFile = new File(fileTransformer.baseDir, path);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildChangeReportingIntegrationTest.groovy
inputFiles.each { it.createFile() } def newfile1 = inputDir.file("input12.txt") def newfile2 = inputDir.file("input13.txt") when: succeeds("theTask") newfile1.createFile() inputFiles[2].text = 'Modified file' inputFiles[7].delete() newfile2.createFile() then: buildTriggeredAndSucceeded()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VswhereSpec.groovy
x64Registry() vswhere = localRoot.createFile("vswhere.exe") } void vswhereInProgramFiles() { x86Registry() vswhere = programFiles.createDir("Microsoft Visual Studio/Installer").createFile("vswhere.exe") } void vswhereInProgramFilesX86() { x64Registry() vswhere = programFilesX86.createDir("Microsoft Visual Studio/Installer").createFile("vswhere.exe") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverSpec.groovy
TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) @Requires(UnitTestPreconditions.Symlinks) def "normalizes absolute path which points to an absolute link"() { def target = createFile(new File(tmpDir.testDirectory, 'target.txt')) def file = new File(tmpDir.testDirectory, 'a/other.txt') createLink(file, target) assert file.exists() && file.file expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/BuildDashboardGeneratorSpec.groovy
given: def htmlFolder = tmpDir.createDir('htmlContent'); htmlFolder.createFile("index.html") when: generator.render([ mockReport('a', tmpDir.createFile('report.html')), mockReport('b', tmpDir.createDir('inner').createFile('otherReport.html')), mockReport('c', tmpDir.file('idonotexist.html')),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.3K bytes - Viewed (0)