- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ProviderInternal (0.24 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy
} def "can remove realized external providers without realizing more providers"() { containerAllowsExternalProviders() def provider1 = Mock(ProviderInternal) def provider2 = Mock(ProviderInternal) def provider3 = Mock(ProviderInternal) given: _ * provider1.type >> type _ * provider1.calculateValue(_) >> ValueSupplier.Value.of(a)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 52.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
} private static class MapPropertyProviderGetter implements Function<ProviderInternal<?>, ProviderInternal<?>>, Consumer<ProviderInternal<?>> { String name Function<MapProperty<String, String>, ProviderInternal<?>> impl @Override void accept(ProviderInternal<?> property) { impl.apply(property as MapProperty<String, String>) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
} ProviderInternal<T> supplierWithChangingExecutionTimeValues(T... values) { return ProviderTestUtil.withChangingExecutionTimeValues(values) } ProviderInternal<T> supplierWithChangingExecutionTimeValues(Class<T> cls, T... values) { return ProviderTestUtil.withChangingExecutionTimeValues(cls, values) } ProviderInternal<T> supplierWithProducer(Task producer, T... values) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
expect: assertValueIs(["abc", "1"]) } def "providers only called once per query"() { def valueProvider = Mock(ProviderInternal) def addProvider = Mock(ProviderInternal) def addAllProvider = Mock(ProviderInternal) given: property.set(valueProvider) property.add(addProvider) property.addAll(addAllProvider) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0)