Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for writeResources (0.14 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/AbstractPlayExternalContinuousBuildIntegrationTest.groovy

        protected PlayApp playApp
    
        def setup() {
            playApp = new BasicPlayApp(versionNumber)
            writeSources()
            buildTimeout = 90
        }
    
        TestFile getPlayRunBuildFile() {
            buildFile
        }
    
        def writeSources() {
            playApp.writeSources(testDirectory)
    
            playRunBuildFile << """
                runPlay {
                    httpPort = 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

        def "visual studio solution does not reference the components of a project if it does not have visual studio plugin applied"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/main"))
            app.library.writeSources(file("other/src/main"))
    
            createDirs("exe", "lib", "other")
            settingsFile << """
                include ':exe', ':lib', ':other'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

                }
            """
            writeBuildLogicPlugin()
            writeGreetTask "GreetTask", ORIGINAL_GREETING
            switch (kind) {
                case Kind.CHANGE_RESOURCE:
                    writeResource ""
                    break
            }
        }
    
        void applyChange() {
            switch (kind) {
                case Kind.CHANGE_SOURCE:
                    writeGreetTask "GreetTask", CHANGED_GREETING
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy

            URL resource = getClass().getResource("$baseDir/$path/$name");
            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)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

        def "sources are compiled and linked with C++ tools"() {
            settingsFile << "rootProject.name = 'app'"
            def app = new CppCompilerDetectingTestApp()
    
            given:
            app.writeSources(file('src/main'))
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    			continue
    		}
    		inlFns = append(inlFns, fnLines)
    	}
    
    	sort.Sort(ssa.ByTopo(inlFns))
    	if targetFn != nil {
    		inlFns = append([]*ssa.FuncLines{targetFn}, inlFns...)
    	}
    
    	writer.WriteSources("sources", inlFns)
    }
    
    func readFuncLines(file string, start, end uint) (*ssa.FuncLines, error) {
    	f, err := os.Open(os.ExpandEnv(file))
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top