Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for assertStateLoaded (0.33 sec)

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

            then:
            assertCreatedBy 'creator2'
            assertStateLoaded()
    
            when:
            manifestFile.delete()
            configurationCacheRun ":jar", "-Dcreator=creator3"
    
            then:
            assertCreatedBy 'creator3'
            assertStateLoaded()
        }
    
        def "jar manifest can use mapped FileCollection elements"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

            configurationCacheRun fixture.task
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            System.clearProperty(systemProp)
            configurationCacheRun fixture.task, "-D$systemProp=overridden value"
    
            then:
            configurationCache.assertStateLoaded()
            outputContains("Execution: overridden value")
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = fetchModel()
    
            then:
            model2.message == "It works from project :"
    
            and:
            fixture.assertStateLoaded()
            outputDoesNotContain("creating model")
    
            when:
            buildFile << """
                myExtension.message = 'this is the root project'
            """
    
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            printString "alice"
    
            then:
            output.count("The string is alice") == 1
            configurationCache.assertStateLoaded()
    
            when:
            printString "bob"
    
            then:
            output.count("The string is bob") == 1
            configurationCache.assertStateLoaded()
    
            where:
            [operator, orElseKind] << [
                ['systemProperty', 'environmentVariable'],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            then:
            fixture.assertStateLoaded()
    
            and:
            model3.size() == 1
            model3[0].message == "It works from project :"
    
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model4 = runBuildAction(new FetchModelsMultipleTimesForEachProject())
    
            then:
            fixture.assertStateLoaded()
    
            and:
            model4.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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