- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ManagedFactory (0.12 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
property.set((Map) null) } @Override protected void nullConvention(Object property) { property.convention((Map) null) } @Override ManagedFactory managedFactory() { return new ManagedFactories.MapPropertyManagedFactory(TestUtil.propertyFactory()) } def property = property() def "has empty map as value by default"() { expect:
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
def state = property.unpackState() def copy = managedFactory().fromState(property.publicType(), state) !copy.is(property) !copy.present copy.getOrNull() == null property.set(someValue()) copy.getOrNull() == null def state2 = property.unpackState() def copy2 = managedFactory().fromState(property.publicType(), state2) !copy2.is(property)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0)