Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeToDir (0.1 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/SourceFile.java

        }
    
        public String getName() {
            return name;
        }
    
        public String getContent() {
            return content;
        }
    
        public TestFile writeToDir(TestFile base) {
            return writeToDir(base, name);
        }
    
        public TestFile writeToDir(TestFile base, String name) {
            TestFile file = base.file(path, name);
            writeToFile(file);
            return file;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy

            File file = new File(resource.toURI())
            return new SourceFile(path, name, file.text);
        }
    
        void writeSources(TestFile sourceDir) {
            gradleBuild.writeToDir(sourceDir)
            for (SourceFile srcFile : allFiles) {
                srcFile.writeToDir(sourceDir)
            }
        }
    
        List<SourceFile> sourceFiles(String baseDir, String rootDir = getName()) {
            List sourceFiles = new ArrayList()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top