Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of about 10,000 for FILE (0.12 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy

            1 * visitor.visitFile({ it.file == tempDir.file("dir2/file3") })
            1 * visitor.visitDir({ it.file == tempDir.file("dir3") })
            1 * visitor.visitFile({ it.file == tempDir.file("dir3/file1") })
            1 * visitor.visitFile({ it.file == tempDir.file("dir3/file2") })
            1 * visitor.visitFile({ it.file == tempDir.file("dir3/file3") })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy

        TestFile missingFile
    
        def setup() {
            jarFile1 = file("dir/libs/library-a.jar")
            jarFile1 << "JAR file #1"
            jarFile2 = file("dir/libs/library-b.jar")
            jarFile2 << "JAR file #2"
            resources = file("dir/resources")
            resources.file("input.txt") << "main input"
            resources.file("a/input-1.txt") << "input #1"
            resources.file("b/input-2.txt") << "input #2"
            emptyRootDir = file("empty-dir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/mvnsettings/DefaultLocalMavenRepositoryLocatorTest.groovy

        def system = Mock(DefaultLocalMavenRepositoryLocator.SystemPropertyAccess)
        def mavenFileLocations = Mock(MavenFileLocations)
    
        File repo1 = tmpDir.file("repo1")
        File repo2 = tmpDir.file("repo2")
        File userHome1 = tmpDir.file("user_home_1")
        File defaultM2Repo = new File(userHome1, ".m2/repository")
    
        def setup() {
            locations = new SimpleMavenFileLocations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 123
            file.readByte() == 12
    
            when:
            stream = output.start(0)
            stream.writeInt(321)
            output.done()
    
            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 321
            file.readByte() == 12
        }
    
        def "can start writing beyond end of file"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileResolver.java

                        throw new InvalidUserDataException(String.format("File '%s' does not exist.", file));
                    }
                    if (!file.isFile()) {
                        throw new InvalidUserDataException(String.format("File '%s' is not a file.", file));
                    }
                    break;
                case DIRECTORY:
                    if (!file.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy

            given:
            File jar1 = new File("file1.jar").canonicalFile
            File jar2 = new File("file2.jar").canonicalFile
    
            builder.mainClass.set("main")
            builder.classpath(jar1)
    
            when:
            builder.setClasspath(fileCollectionFactory.resolving([jar2, builder.getClasspath()]))
    
            then:
            builder.commandLine.contains("$jar2$File.pathSeparator$jar1".toString())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/RelativeFileTest.groovy

     */
    
    package org.gradle.api.internal.file
    
    import org.gradle.api.file.RelativePath
    import spock.lang.Specification
    
    class RelativeFileTest extends Specification {
        def "can get base directory of relative file" () {
            File file = new File("/some/relatively/long/path/to/a/file")
            RelativePath relativePath = RelativePath.parse(true, "to/a/file")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 02 13:47:53 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginMultiProjectTest.groovy

            given:
            settingsFile << "include 'child'"
            file('child/build.gradle') << javaProjectUsingCheckstyle()
            file('child/src/main/java/Dummy.java') << javaClassWithNewLineAtEnd()
            file('child/config/checkstyle/checkstyle.xml') << simpleCheckStyleConfig()
    
            expect:
            fails(':child:checkstyleMain')
            checkStyleReportFile(file('child')).assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 13:39:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/TemporaryFileProvider.java

         * Provides no guarantees around whether the file already exists.
         *
         * @param path The tail path components for the file.
         * @return The file
         */
        File newTemporaryFile(String... path);
    
        File newTemporaryDirectory(String... path);
    
        Factory<File> temporaryDirectoryFactory(String...path);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                    }
                } else if (!file.mkdirs()) {
                    throw new CrawlerSystemException("Could not create " + file.getAbsolutePath());
                }
                targetFile = file;
            }
    
            File file = new File(targetFile, paths[paths.length - 1]);
            if (file.exists()) {
                for (int i = 0; i < maxDuplicatedPath; i++) {
                    file = new File(targetFile, paths[paths.length - 1] + "_" + i);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top