- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 535 for createBar (0.13 sec)
-
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) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/VersionSpecificCacheDirectoryScannerTest.groovy
TestFile cacheBaseDir = temporaryFolder.createDir(DefaultCacheScopeMapping.GLOBAL_CACHE_DIR_NAME) @Subject def versionSpecificCacheDirectoryService = new VersionSpecificCacheDirectoryScanner(cacheBaseDir) def "lists version-specific cache directories"() { given: cacheBaseDir.createDir("_foo") cacheBaseDir.createDir("1.2.3-rc-1") cacheBaseDir.createDir("0.9-20101220110000+1100")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 05 23:07:23 UTC 2021 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
} @Requires(UnitTestPreconditions.Symlinks) def "missing symbolic link causes an exception - walker: #walkerInstance.class.simpleName"() { given: def rootDir = tmpDir.createDir("root") def dir = rootDir.createDir("a/b") def link = rootDir.file("a/d") link.createLink(dir) when: dir.deleteDir() walkDirForPaths(walkerInstance, rootDir, new PatternSet())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy
executer.inDirectory(dslDir) def reportsDir = dslDir.file('build/reports') reportsDir.createDir().file('my-report.pdf').touch() reportsDir.file('numbers.csv').touch() and: "A PDF report in a subdirectory of build/reports" reportsDir.createDir("metrics").file("scatterPlot.pdf").touch() when: succeeds('copyPdfReportsForArchiving') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy
} def "supplies multiple installations for multiple paths"() { given: def jdk1 = temporaryFolder.createDir("11.0.6.hs-adpt") def jdk2 = temporaryFolder.createDir("14") def jdk3 = temporaryFolder.createDir("java/8.0.262.fx-librca") def supplier = createSupplier([jdk1, jdk2, jdk3] as Set) when: def directories = supplier.get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy
given: def rootDir = tmpDir.createDir("root") def dir = rootDir.createDir("a/b") def file = dir.file("c.txt").createFile() file << "Hello world" def link = rootDir.file("a/d").createDir().file("e.txt") link.createLink(file) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VswhereSpec.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) File vswhere def localRoot = tmpDir.createDir("root") def programFiles = localRoot.createDir("Program Files") def programFilesX86 = localRoot.createDir("Program Files (X86)") def os = Mock(OperatingSystem) def windowsRegistry = Mock(WindowsRegistry) void vswhereInPath() { x64Registry()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy
registry.includedBuilds as List == [includedBuild1, includedBuild2] } def "can add multiple builds with same dir base name"() { def dir1 = tmpDir.createDir("b1") def dir2 = tmpDir.createDir("other/b1") def dir3 = tmpDir.createDir("other2/b1") def buildDefinition1 = build(dir1, "b1") def buildDefinition2 = build(dir2, "b2") def buildDefinition3 = build(dir3, "b3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 14:36:04 UTC 2024 - 13.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/AbsolutePathFileCollectionFingerprinterTest.groovy
} def "fingerprint includes existing root elements"() { given: TestFile file = tmpDir.createFile('file1') TestFile dir = tmpDir.createDir('dir') TestFile dir2 = dir.createDir('dir2') TestFile file2 = dir2.createFile('file2') TestFile noExist = tmpDir.file('file3') when: def fingerprint = fingerprinter.fingerprint(files(file, dir, noExist))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 20 16:00:23 UTC 2022 - 9.9K bytes - Viewed (0)