Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for throwingConsumers (0.67 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

                where:
                consumer << safeConsumers()
            }
    
            @Override
            List<Consumer<ProviderInternal<?>>> throwingConsumers() {
                return super.throwingConsumers() + super.throwingConsumers().collectMany {
                    it != GET_PRODUCER ? combineWithExtraGetters(it) : []
                }
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

                when:
                consumer.accept(property)
    
                then:
                thrown(EvaluationContext.CircularEvaluationException)
    
                where:
                consumer << throwingConsumers()
            }
    
            def "calling #consumer throws exception if added item provider references the property and discards producer"(
                Consumer<ProviderInternal<?>> consumer
            ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

                noExceptionThrown()
    
                where:
                consumer << safeConsumers()
            }
    
            @Override
            List<Consumer<ProviderInternal<?>>> throwingConsumers() {
                return super.throwingConsumers() + namedConsumer("finalizeValue", { it.finalizeValue() })
            }
    
            private static Consumer<ProviderInternal<?>> namedConsumer(String name, Consumer<? super PropertyInternal<?>> impl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
Back to top