Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withNoInputs (0.16 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessor.java

        private final Spec<SpecRuleAction<? super ComponentSelection>> withNoInputs = element -> element.getAction().getInputTypes().isEmpty();
        private final Spec<SpecRuleAction<? super ComponentSelection>> withInputs = Specs.negate(withNoInputs);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/FilesInTransformIntegrationTest.groovy

                }
            """)
    
            when:
            configurationCacheRun(":$task")
    
            then:
            outputContains("INPUT FILE CONTENT")
            problems.assertResultHasProblems(result) {
                withNoInputs()
            }
    
            where:
            task << ["resolveCollection", "resolveProviders"]
        }
    
        def "reading a file in transform action with #task of buildSrc build does not create a build input"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIgnoringIntegrationTest.groovy

            configurationCacheRun()
    
            then:
            outputContains("exists = false")
            problems.assertResultHasProblems(result) {
                withNoInputs()
            }
        }
    
        def 'can ignore file system checks in multiple paths if separated by semicolon'() {
            given:
            buildFile("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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