- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 355 for createFile1 (0.31 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy
} def "can view directory property as a file tree"() { def dir1 = projectDir.createDir("dir1") def file1 = dir1.createFile("sub-dir/file1") def file2 = dir1.createFile("file2") def dir2 = projectDir.createDir("dir2") def file3 = dir2.createFile("other/file3") def dir3 = projectDir.file("missing") expect: def dirVar = factory.newDirectoryProperty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.4K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/FileZipInputTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractPomReaderTest.groovy
PomReader pomReader TestFile pomFile LocallyAvailableExternalResource locallyAvailableExternalResource def setup() { pomFile = tmpDir.file('pom.xml') pomFile.createFile() locallyAvailableExternalResource = new LocalFileStandInExternalResource(pomFile, TestFiles.fileSystem()) } protected void assertResolvedPomDependency(MavenDependencyKey key, String version) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/DefaultArtifactResolutionCacheTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
private static final Logger logger = Logger.getLogger(FileFactory.class.getName()); private final ThreadLocal<File> fileThreadLocal = new ThreadLocal<>(); protected File createFile() throws IOException { File file = File.createTempFile("SinkSourceFile", "txt"); fileThreadLocal.set(file); return file; } protected File getFile() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 12.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotterTest.groovy
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') archiveBaseDir.zipTo(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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteIntegrationTest.groovy
assertFalse(link.exists()) } protected void setupSymlinks() { orig = testDirectory.createDir('test/orig') keep = orig.createFile('keep') subject = testDirectory.createDir('test/subject') remove = subject.createFile("remove") link = subject.file('link') createSymbolicLink(link, orig) assert orig.isDirectory() assert orig.exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 20 17:44:25 UTC 2019 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/serialization/DaemonSidePayloadClassLoaderFactoryTest.groovy
then: cl instanceof VisitableURLClassLoader cl.URLs == [url1, url2] as URL[] } def "creates ClassLoader for jar classpath"() { def jarFile = tmpDir.createFile("file1.jar") def cachedJar = tmpDir.createFile("cached/file1.jar") def url1 = jarFile.toURI().toURL() def cached = cachedJar.toURI().toURL() def url2 = tmpDir.createDir("classes-dir").toURI().toURL() given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/cache/internal/VersionSpecificCacheCleanupFixture.groovy
abstract static class MarkerFileType { public final static MarkerFileType USED_TODAY = new MarkerFileType() { @Override void process(TestFile markerFile) { markerFile.createFile() } } public final static MarkerFileType NOT_USED_WITHIN_30_DAYS = notUsedWithinDays(30) public final static MarkerFileType NOT_USED_WITHIN_7_DAYS = notUsedWithinDays(7)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 26 15:32:56 UTC 2022 - 2.8K bytes - Viewed (0)