Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for otherBuild (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            given:
            buildFile << """
                task otherBuild(type:GradleBuild) {
                    dir = 'other'
                    tasks = ['otherBuild']
                }
            """
            file('other/settings.gradle').touch()
            file('other/build.gradle') << """
                task otherBuild(type:GradleBuild) {
                    dir = '../other2'
                    tasks = ['build']
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

        def "can share artifacts between builds"() {
            writeTransformerTask()
    
            buildFile << '''
                task otherBuild(type: GradleBuild) {
                    tasks = ['generate']
                }
                task transform(type: TransformerTask) {
                    dependsOn otherBuild
                    inputFile = file('generated.txt')
                    outputFile = file('out.txt')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

            then:
            outputContains('mySystemProp=commandline')
        }
    
        def "can always change buildDir in properties file"() {
            when:
            file('gradle.properties') << """
                buildDir=otherBuild
            """
            then:
            succeeds ':help'
        }
    
        def "Gradle properties can be derived from environment variables"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

    '''
            groupedOutput.task(':run').output == 'Hello, World!'
        }
    
        def "accepts start of embedded build as end of group"() {
            def consoleOutput = """
    > Task :helloWorld
    Hello, World!
    
    > :otherBuild > :abc"""
    
            when:
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            then:
            groupedOutput.task(':helloWorld').output == 'Hello, World!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	updatedPod := &example.Pod{}
    	if err := store.GuaranteedUpdate(ctx, key, updatedPod, false, nil,
    		storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    			pod := obj.(*example.Pod)
    			pod.ObjectMeta.UID = "otherUID"
    			return pod, nil
    		}), nil); err != nil {
    		t.Errorf("Unexpected failure during updated: %v", err)
    	}
    
    	prec := storage.NewUIDPreconditions("myUID")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top