- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 610 for createFor (0.16 sec)
-
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AsdfInstallationSupplierTest.groovy
} def "supplies multiple installations for multiple paths"() { given: def expectedLocation1 = candidates.createDir("installs/java/11.0.6.hs-adpt") def expectedLocation2 = candidates.createDir("installs/java/14") def expectedLocation3 = candidates.createDir("installs/java/8.0.262.fx-librca") when: def directories = supplier.get() then: directories.size() == 3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:17:53 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy
def jdkHome = temporaryFolder.createDir("jdk-$version") def binDir = jdkHome.createDir("bin") binDir.createFile(OperatingSystem.current().getExecutableName("java")) return jdkHome } private TestFile createJreInstallation(String version) { def jdkHome = temporaryFolder.createDir("jdk-$version") def jreHome = jdkHome.file("jre").createDir()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go
tCtx := ktesting.Init(t) controller, createErr := NewClaimController(tc.filter, tc.requests) if createErr != nil { if !tc.expectCreateErr { tCtx.Fatalf("unexpected create error: %v", createErr) } return } if tc.expectCreateErr { tCtx.Fatalf("did not get expected create error") } allocation, createErr := controller.Allocate(tCtx, tc.model) if createErr != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 09:27:01 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SymlinkContinuousIntegrationTest.groovy
assert symlink.delete() } def "can use symlinked directory for input"() { given: def baseDir = file("src").createDir() def targetDir = baseDir.file("target").createDir() targetDir.files("A", "B")*.createFile() def linkdir = baseDir.createDir("linkdir") def symlink = linkdir.file("link") // Since we remove symlinks at the end of the build from the VFS, we
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/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy
} def "can add dir to singleton set"() { def parent = tmpDir.createDir() def dir1 = parent.createDir("dir1") def dir2 = parent.createDir("dir2") def dir3 = parent.createDir("dir3") def tooMany = parent.createDir("dir12") def tooFew = parent.createDir("dir") def child = dir1.createDir("child1") def single = snapshot(dir1) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 32.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCacheUnusedVersionCleanupIntegrationTest.groovy
transforms3Dir = userHomeCacheDir.createDir("${CacheLayout.TRANSFORMS.name}-3") transforms4Dir = userHomeCacheDir.createDir("${CacheLayout.TRANSFORMS.name}-4") currentTransformsDir = gradleVersionedCacheDir.file(CacheLayout.TRANSFORMS.name).createDir() currentModulesDir = userHomeCacheDir.file(CacheLayout.MODULES.key).createDir() modulesGcFile.createFile() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 12:09:31 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy
def "snapshot hierarchy accessed directly is relocated"() { def testDirectory = temporaryFolder.createDir("test") def sourceDir = testDirectory.createDir("source-directory") def childDir = sourceDir.createDir("child") def childFile = childDir.createFile("child.txt") def parentFile = sourceDir.createFile("parent.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy
def candidates = temporaryFolder.createDir("linux") def otherCandidates = temporaryFolder.createDir("other") def emptyDir = temporaryFolder.createDir("empty") def nonExistent = temporaryFolder.file("non-existent") def setup() { candidates.createDir("11.0.6.hs-adpt") candidates.createDir("14") otherCandidates.createDir("8.0.262.fx-librca") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/buildsrc/BuildSrcDetectorTest.groovy
when: def buildSrcDir = temp.createDir("buildSrc") buildSrcDir.createDir("src/main/java") then: !isValidBuildSrcBuild(buildSrcDir) } def "does not ignore buildSrc directory with src directory containing source file"() { when: def buildSrcDir = temp.createDir("buildSrc") buildSrcDir.createFile("src/main/java/Dummy.java")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotterTest.groovy
assertEmptyTree(fromConfigurableFiles.matching { exclude(file.name) }) } def "snapshots archive trees as RegularFileSnapshot"() { given: def tempDir = tmpDir.createDir('tmpDir') def archiveBaseDir = tempDir.createDir('archiveBase') def file = archiveBaseDir.createFile('file.txt') file.text = "content" when: TestFile zip = tempDir.file('archive.zip')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 12 16:25:23 UTC 2022 - 7.1K bytes - Viewed (0)