Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for assertStateLoaded (0.21 sec)

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

            when:
            configurationCacheRun "javaToolchains"
    
            then:
            assertStateLoaded()
            result.assertTasksExecuted(":javaToolchains")
        }
    
        private void assertStateStored() {
            configurationCache.assertStateStored()
        }
    
        private void assertStateLoaded() {
            configurationCache.assertStateLoaded()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
            result.assertTasksExecutedAndNotSkipped(":producer", ":transformer")
            output.text == "16"
    
            when:
            input.text = "10"
            configurationCacheRun(":transformer")
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTasksExecutedAndNotSkipped(":producer", ":transformer")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

            when:
            inDirectory b
            configurationCacheRun ':ok'
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            inDirectory a
            configurationCacheRun ':ok'
    
            then:
            configurationCache.assertStateLoaded()
        }
    
        def "reuses cache for relative task invocation from subproject dir"() {
            given:
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            when:
            configurationCacheRun "help"
            then:
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "help", "-Dorg.gradle.unsafe.isolated-projects=true"
            then:
            configurationCache.assertStateLoaded()
            isolatedProjects.assertStateLoaded()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildLogicChangesIntegrationTest.groovy

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

            configurationCacheRun spec.copyTask
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTaskSkipped(":$spec.copyTask")
    
            when:
            spec.mutateExcludedFiles()
    
            and:
            configurationCacheRun spec.copyTask
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTasksSkipped(":$spec.copyTask")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            when:
            configurationCacheRun("report")
    
            then:
            fixture.assertStateLoaded()
            outputContains(output)
    
            when: // change file contents
            file1.text = "updated"
            configurationCacheRun("report")
    
            then:
            fixture.assertStateLoaded()
            outputContains(output)
    
            where:
            expression              | output
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
            problems.assertFailureHasProblems(failure) {
                withUniqueProblems(expectedProblem)
                withProblemsWithStackTraceCount(0)
            }
    
            when:
            configurationCacheRunLenient("help")
    
            then:
            configurationCache.assertStateLoaded()
            problems.assertResultHasProblems(result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

            then:
            outputContains("foo")
            configurationCache.assertStateLoaded()
    
            when:
            file("message").text = "bar"
    
            and:
            configurationCacheRun "myTask"
    
            then:
            outputContains("foo")
            configurationCache.assertStateLoaded()
    
            when:
            def commandLineArgs = commandLine.split("\\s+")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsIntegrationTest.groovy

            then:
            fixture.assertStateStored {
                projectConfigured(":")
            }
    
            when:
            isolatedProjectsRun("thing")
    
            then:
            fixture.assertStateLoaded()
        }
    
        def "cannot disable configuration cache when option is enabled"() {
            buildFile """
                println "configuring project"
                task thing { }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top