Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for withNoInputs (0.15 sec)

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

            outputContains("Configuration: some.property.1 = 1")
            outputDoesNotContain("Configuration: some.property.2 = 2")
            problems.assertResultHasProblems(result) {
                withNoInputs()
            }
    
            when:
            configurationCacheRun("-Psome.property.1=1", "print")
    
            then:
            configurationCache.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

        }
    
        HasConfigurationCacheProblemsSpec withInput(String prefix) {
            inputs = inputs.expect(startsWith(prefix))
            return this
        }
    
        HasConfigurationCacheProblemsSpec withNoInputs() {
            inputs = inputs.expectNone()
            return this
        }
    
        HasConfigurationCacheProblemsSpec ignoringUnexpectedInputs() {
            inputs = inputs.ignoreUnexpected()
            return this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            configurationCacheRun "printString"
    
            then:
            output.count("The string is absent") == 1
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withNoInputs()
            }
    
            when:
            printString "alice"
    
            then:
            output.count("The string is alice") == 1
            configurationCache.assertStateLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top