Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for assertStateLoaded (0.2 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
            outputContains("result = [lib-1.3.jar]")
    
            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateLoaded()
            outputContains("result = [lib-1.3.jar]")
    
            when: // run again with different tasks, to verify behaviour when version list is already cached when configuration cache entry is written
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            when:
            configurationCacheFails "help", "--task", "bTask"
            then:
            failure.assertHasCause("Task 'bTask' not found in root project")
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "help", "--task", "aTask"
            then:
            output.contains "Detailed task information for aTask"
            configurationCache.assertStateStored()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            then:
            configurationCache.assertStateStored()
            output.contains("Hello!")
    
            when:
            configurationCacheRun "greet"
    
            then:
            configurationCache.assertStateLoaded()
            output.contains("Hello!")
        }
    
        def "#usage property from properties file used as build logic input"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K 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/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            }
            outputContains("apply = $value")
            outputContains("task = $value")
    
            when:
            configurationCacheRunLenient "thing", "-DCI=$value"
    
            then:
            configurationCache.assertStateLoaded()
            problems.assertResultHasProblems(result)
            outputDoesNotContain("apply =")
            outputContains("task = $value")
    
            when:
            configurationCacheRun("thing", "-DCI=$newValue")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top