- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 388 for tmpDirs (0.31 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/util/TempDirIsUniquePerTestSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy
factory.addPathVariable('SUB_DIR', tmpDir.file('sub')) expect: def path = factory.path(tmpDir.file('sub', 'a')) path.url == 'file://$SUB_DIR$/a' path.relPath == '$SUB_DIR$/a' } def createsPathForARootDir() { factory.addPathVariable('SUB_DIR', tmpDir.file('sub')) factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy
layout.buildDefinitionMissing cleanup: "temporary tree" tmpDir.deleteDir() } def "returns closest ancestor directory that contains a #settingsFilename file"() { given: def locator = buildLayoutFactoryFor() and: def currentDir = tmpDir.createDir("sub/current") def subDir = tmpDir.createDir("sub") def settingsFile = subDir.createFile(settingsFilename)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy
def "adding an empty jar inside another jar changes the hashcode"() { given: def outerContent = tmpDir.createDir("outer") def outer = tmpDir.file("outer.jar") outerContent.zipTo(outer) def originalHash = zipHasher.hash(snapshotContext(outer)) when: def innerContent = tmpDir.createDir("inner") def inner = outerContent.file("inner.jar") innerContent.zipTo(inner)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/UnsupportedFilePermissionsTest.groovy
when: permissions.chmod(tmpDir.createFile("file"), 0644) permissions.chmod(tmpDir.createDir("dir"), 0644) then: outputEventListener.toString() == WARN_MESSAGE } def "warns at most once"() { when: permissions.chmod(tmpDir.createFile("file"), 0644) permissions.getUnixMode(tmpDir.createDir("dir"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/tasks/StaleOutputCleanerTest.groovy
} def "deletes empty parent directories"() { def file1 = tmpDir.file('foo/bar/file1').createFile() tmpDir.file('foo/baz/file2').createFile() expect: StaleOutputCleaner.cleanOutputs(deleter, files(file1), tmpDir.testDirectory) !tmpDir.file('foo/bar').exists() tmpDir.file('foo/baz').exists() } def "deletes parent directories regardless of order"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy
) 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: link.exists() when:
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/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
link.createLink(file) expect: def stat = accessor.stat(link) stat.type == FileType.RegularFile assertSameLastModified(stat, file) stat.length == 3 assertSameAccessType(stat, VIA_SYMLINK) } @Requires(UnitTestPreconditions.Symlinks) def "stats symlink to directory"() { def dir = tmpDir.createDir("dir")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0)