- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of about 10,000 for FILE (0.08 sec)
-
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
} public File createFile(File dir, String filename, String contents, String encoding) throws IOException { File file = new File(dir, filename); file.getParentFile().mkdirs(); FileUtils.fileWrite(file.getPath(), encoding, contents); markForDeletion(file); return file; } public String getFileContents(File file, String encoding) throws IOException {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy
} def "hashes file when hash not cached"() { def stat = fileSystem.stat(file) when: def result = hasher.hash(file) then: result == hash and: 1 * timeStampInspector.timestampCanBeUsedToDetectFileChange(file.absolutePath, stat.lastModified) >> true 1 * cache.getIfPresent(file.absolutePath) >> null 1 * target.hash(file) >> hash
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy
file('build/distributions/TestProject-foo.tar').assertIsFile() file('build/distributions/custom-bar.tar').assertIsFile() file('build/distributions/custom-baz.tar').assertIsFile() file('build/install/TestProject-foo').assertIsDir() file('build/install/custom-bar').assertIsDir() file('build/install/custom-baz').assertIsDir() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 21:03:51 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy
def "can unpack a ZIP file with #dsl dsl"() { given: def dslDir = sample.dir.file(dsl) executer.inDirectory(dslDir) when: succeeds("unpackFiles") then: def outputDir = dslDir.file("build/resources") outputDir.file("libs/first.txt").isFile() outputDir.file("libs/other.txt").isFile() outputDir.file("docs.txt").isFile() where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 5.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
hashFile(file, Hashing.sha1()) } TestFile getSha256File(TestFile file) { getHashFile(file, Hashing.sha256()) } TestFile sha256File(TestFile file) { hashFile(file, Hashing.sha256()) } TestFile getSha512File(TestFile file) { getHashFile(file, Hashing.sha512()) } TestFile sha512File(TestFile file) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy
outputDir.file('index-staging.html').assertDoesNotExist() outputDir.file('index.html.tmp').assertDoesNotExist() outputDir.file('home.html').isFile() outputDir.file('logo.png').isFile() outputDir.file('products/collaboration.jpg').isFile() outputDir.file('WEB-INF/classes/Hello.class').isFile() outputDir.file('WEB-INF/lib/commons-io-2.6.jar').isFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 15.7K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 12:37:12 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy
} private File fileInTransactionDir(String path) { return new File(checkNotNull(transactionDir), path) } private File file(String path) { return new File(checkNotNull(temporaryFolder) as File, path) } private File createNewDirectory(File file) { file.parentFile.mkdirs() file.mkdir() return file }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 18K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutatorTest.groovy
createFile(new File(cachesDir, "8.7-rc-4/transforms/first/metadata.bin")) createFile(new File(cachesDir, "8.7-rc-4/transforms/first/transformed/instrumented/file")) createFile(new File(cachesDir, "8.7-rc-4/transforms/second/transformed/original/file")) createFile(new File(cachesDir, "8.8/transforms/first/transformed/instrumented/file")) createFile(new File(cachesDir, "8.8/transforms/first/transformed/original/file"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 12:30:06 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy
inputDir = file("inputs") nonIncrementalInput = file("nonIncremental") } """ file("nonIncremental").text = "input" run("withNonIncrementalInput") when: file("inputs/new-input-file.txt") << "new file" file("nonIncremental").text = 'changed' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 23 12:52:29 UTC 2022 - 27.8K bytes - Viewed (0)