Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for applyChange (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildScriptChangesIntegrationTest.groovy

            then: 'scripts are not executed when loading from cache'
            outputDoesNotContain fixture.expectedOutputBeforeChange
            configurationCache.assertStateLoaded()
    
            when:
            fixture.applyChange()
            build()
    
            then:
            outputContains fixture.expectedCacheInvalidationMessage
            outputContains fixture.expectedOutputAfterChange
            configurationCache.assertStateStored()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptChangesIntegrationTest.groovy

            then: 'scripts are not executed when loading from cache'
            outputDoesNotContain fixture.expectedOutputBeforeChange
            configurationCache.assertStateLoaded()
    
            when:
            fixture.applyChange()
            build()
    
            then:
            outputContains fixture.expectedCacheInvalidationMessage
            outputContains fixture.expectedOutputAfterChange
            configurationCache.assertStateStored()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildLogicChangesIntegrationTest.groovy

            configurationCacheRunLenient fixture.task
    
            then:
            outputContains fixture.expectedOutputBeforeChange
            configurationCache.assertStateLoaded()
    
            when:
            fixture.applyChange()
            configurationCacheRunLenient fixture.task
    
            then:
            outputContains fixture.expectedCacheInvalidationMessage
            outputContains fixture.expectedOutputAfterChange
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ScriptChangeFixture.groovy

        }
    
        void setup() {
            scriptFile.text = "println(\"$expectedOutputBeforeChange\")"
        }
    
        void applyChange() {
            scriptFile.text = "println(\"$expectedOutputAfterChange\")"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcChangesIntegrationTest.groovy

            configurationCacheRun changeFixture.task
    
            then:
            outputContains changeFixture.expectedOutputBeforeChange
            configurationCache.assertStateStored()
    
            when:
            changeFixture.applyChange()
            configurationCacheRun changeFixture.task
    
            then:
            outputContains changeFixture.expectedCacheInvalidationMessage
            outputContains changeFixture.expectedOutputAfterChange
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

            writeGreetTask "GreetTask", ORIGINAL_GREETING
            switch (kind) {
                case Kind.CHANGE_RESOURCE:
                    writeResource ""
                    break
            }
        }
    
        void applyChange() {
            switch (kind) {
                case Kind.CHANGE_SOURCE:
                    writeGreetTask "GreetTask", CHANGED_GREETING
                    break
                case Kind.ADD_SOURCE:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top