Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for assertStateLoaded (0.22 sec)

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

    
            when:
            withIsolatedProjects()
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 2
            fixture.assertStateLoaded()
            outputDoesNotContain("Callback before")
    
    
            when:
            buildFile << """
                myExtension.message = "updated message for root"
            """
    
            withIsolatedProjects()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMissingScriptIntegrationTest.groovy

            outputContains fixture.expectedCacheInvalidationMessage
    
            and:
            configCache.assertStateStored()
    
            when:
            configurationCacheRun 'ok'
    
            then:
            configCache.assertStateLoaded()
    
            where:
            missingScriptsSpec << MissingScriptFixture.specs()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun 'tasks', '-I', initScript.absolutePath
    
            then:
            outputDoesNotContain 'bar!'
            configurationCache.assertStateLoaded()
        }
    
        def "init script names do not matter, their contents do"() {
    
            given:
            def initScript1 = file('initscript1.gradle.kts').tap {
                text = 'println("initscript1!")'
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCircularReferenceIntegrationTest.groovy

            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(0)
            }
    
            when:
            configurationCacheRun 'circular'
    
            then:
            configurationCache.assertStateLoaded()
    
            and:
            outputContains 'toString() => foo:bar'
            outputContains 'circular in direct => true'
            outputContains 'circular in indirect => true'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFeatureFlagsIntegrationTest.groovy

            outputContains("Groovy compilation avoidance is an incubating feature")
    
            when:
            configurationCacheRun("compileGroovy", "--rerun-tasks")
    
            then:
            configurationCache.assertStateLoaded()
            outputContains("Groovy compilation avoidance is an incubating feature")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaIntegrationTest.groovy

            then:
            fixture.assertStateStored {
                projectsConfigured(":", ":a", ":b")
            }
    
            when:
            isolatedProjectsRun("b:assemble")
    
            then:
            fixture.assertStateLoaded()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy

            outputContains("backgroundJob.property = value")
            configurationCache.assertStateStored()
    
            when:
            succeeds("check", "-Dproperty=other")
    
            then:
            configurationCache.assertStateLoaded()
        }
    
        @Requires(IntegTestPreconditions.IsConfigCached)
        @ToBeImplemented("https://github.com/gradle/gradle/issues/25474")
        def "value sources are can be ignored"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheAllowedStartParametersIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "tasks", "-P$kotlinDslCidProp=42"
    
            then:
            configurationCache.assertStateLoaded()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProcessResourcesIntegrationTest.groovy

            configurationCacheRun 'processResources'
            configurationCacheRun 'processResources'
    
            then: 'the 2nd time it is loaded from the cache'
            configurationCache.assertStateLoaded()
    
            and: 'the task is up-to-date'
            result.assertTaskSkipped ':processResources'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

            [":finalized:dep", ":finalized:task", ":finalizer:dep", ":finalizer:task"].each {
                server.expectConcurrent(it)
            }
            configurationCacheRun ":finalized:task"
            configurationCache.assertStateLoaded()
    
            and: "requested finalizer dependencies to run in parallel when storing the graph with --parallel"
            server.expectConcurrent(":finalized:dep", ":finalizer:dep")
    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