Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for noBuildTriggered (0.19 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

            then:
            buildTriggeredAndSucceeded()
            outputContains("includedFiles: 1")
    
            when:
            excludedFile.text = "changed"
            then:
            noBuildTriggered()
    
            when:
            sources.file("sub/some/otherIncluded.txt").createFile()
            then:
            buildTriggeredAndSucceeded()
            outputContains("includedFiles: 2")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformContinuousBuildIntegrationTest.groovy

            then:
            // TODO: A build should be triggered, though it isn't since currently combine the secondary inputs into one hash
            //   buildTriggeredAndSucceeded()
            noBuildTriggered()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildScriptChangesContinuousBuildIntegrationTest.groovy

                println("Hello from Build Script")
            """
            then:
            // TODO: Script compilation happens to early to be detected as an input.
            //   That is why the change is not yet picked up.
            noBuildTriggered()
    
            where:
            buildFileName      | readTextMethod             | variableDefinition
            "build.gradle"     | "text"                     | "def"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

            buildTriggeredAndFailed()
            failureDescriptionStartsWith("Execution failed for task ':compileJava'.")
    
            when:
            testSourceFile.text = "class ThingTest {}"
    
            then:
            noBuildTriggered()
    
            when:
            sourceFile.text = "class Thing {}"
    
            then:
            buildTriggeredAndSucceeded()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SymlinkContinuousIntegrationTest.groovy

            executedAndNotSkipped(":echo")
            output.contains("text: original")
            when: "changes made to target of symlink"
            sourceFile.text = "changed"
            then:
            noBuildTriggered()
    
            cleanup:
            assert symlink.delete()
        }
    
        def "can use symlinked directory for input"() {
            given:
            def baseDir = file("src").createDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/MultiProjectContinuousIntegrationTest.groovy

            then:
            buildTriggeredAndFailed()
    
            when:
            downstreamSource.text = "class Downstream extends Upstream { int change = 11; }"
    
            then:
            noBuildTriggered()
    
            when:
            downstreamSource.text = "class Downstream extends Upstream{}"
            upstreamSource.text = "class Upstream {}"
    
            then:
            buildTriggeredAndSucceeded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ChangesDuringBuildContinuousIntegrationTest.groovy

            when:
            file("$changingInput/input.txt").text = 'input changed'
    
            then:
            if (shouldTrigger) {
                buildTriggeredAndFailed()
            } else {
                noBuildTriggered()
            }
            sendEOT()
    
            where:
            changingInput | shouldTrigger
            'a'           | true
            'b'           | true
            'c'           | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

                    } finally {
                        if (gradle.running) {
                            gradle.abort()
                        }
                    }
                }
            }
        }
    
        void noBuildTriggered(int waitSeconds = 3) {
            // TODO - change this general strategy to positively detect changes we are ignoring instead of asserting that a build doesn't happen in some time frame
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top