- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 509 for tmpDirs (0.11 sec)
-
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) -
pkg/util/removeall/removeall_test.go
for _, test := range tests { tmpDir, err := utiltesting.MkTmpdir("removeall-" + test.name + "-") if err != nil { t.Fatalf("Can't make a tmp dir: %v", err) } defer os.RemoveAll(tmpDir) // Create the directory structure for _, item := range test.items { if strings.HasSuffix(item, "/") { item = strings.TrimRight(item, "/") if err = os.Mkdir(filepath.Join(tmpDir, item), 0777); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 20:35:13 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppComponentTest.groovy
} def "uses source layout convention when no other source files specified"() { def f1 = tmpDir.createFile("src/main/cpp/a.cpp") def f2 = tmpDir.createFile("src/main/cpp/nested/b.cpp") tmpDir.createFile("src/main/cpp/ignore-me.h") tmpDir.createFile("src/main/other/c.cpp") def f4 = tmpDir.createFile("d.cpp") expect: component.source.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DistributionFactoryTest.groovy
def libB = tmpDir.createFile("lib/b.jar") expect: def dist = factory.getDistribution(tmpDir.testDirectory) dist.getToolingImplementationClasspath(progressLoggerFactory, buildProgressListener, connectionParameters, cancellationToken).asFiles as Set == [libA, libB] as Set } def failsWhenInstallationDirectoryDoesNotExist() { TestFile distDir = tmpDir.file('unknown')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VisualStudioVersionDeterminerTest.groovy
List<VisualStudioInstallCandidate> windowsRegistryInstalls = [] def "can determine a VS2017 version of an install from command line"() { def dir1 = tmpDir.createDir("dir1") def dir2 = tmpDir.createDir("dir2") def dir3 = tmpDir.createDir("dir3") given: vswhereInstall(dir1, "15.3.26730.16") vswhereInstall(dir2, "14.0") vswhereInstall(dir3, "12.0") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy
@Rule public final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "retains order of files in the snapshot"() { given: TestFile file = tmpDir.createFile('file1') TestFile file2 = tmpDir.createFile('file2') TestFile file3 = tmpDir.createFile('file3') when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 20 16:00:23 UTC 2022 - 9.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/SingleDepthFilesFinderTest.groovy
class SingleDepthFilesFinderTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "finds files for depth #depth"() { given: tmpDir.file("a/aa/aaa").createFile("1") tmpDir.file("a/aa/aaa").createFile("2") tmpDir.file("b/bb/bbb").createFile("3") tmpDir.file("b/bb/bbb").createFile("4") when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppLibraryTest.groovy
def "compile include path includes public and private header dirs"() { def defaultPrivate = tmpDir.file("src/main/headers") def defaultPublic = tmpDir.file("src/main/public") def d1 = tmpDir.file("src/main/d1") def d2 = tmpDir.file("src/main/d2") def d3 = tmpDir.file("src/main/d3") def d4 = tmpDir.file("src/main/d4") expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 7.2K bytes - Viewed (0)