Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for propertyWithDefaultValue (0.24 sec)

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

    import org.gradle.util.TestUtil
    
    class DefaultPropertyTest extends AbstractPropertySpec<String> {
        DefaultProperty<String> property() {
            return propertyWithDefaultValue(String)
        }
    
        DefaultProperty propertyWithDefaultValue(Class type) {
            return new DefaultProperty(host, type)
        }
    
        @Override
        DefaultProperty<String> propertyWithNoValue() {
            return property()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultListPropertyTest.groovy

    import org.gradle.util.TestUtil
    
    class DefaultListPropertyTest extends CollectionPropertySpec<List<String>> {
        @Override
        AbstractCollectionProperty<String, List<String>> propertyWithDefaultValue() {
            return property()
        }
    
        @Override
        DefaultListProperty<String> property() {
            return new DefaultListProperty<String>(host, String)
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 13:43:02 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

    import static org.gradle.api.internal.provider.Providers.notDefined
    
    abstract class CollectionPropertySpec<C extends Collection<String>> extends PropertySpec<C> {
        AbstractCollectionProperty<String, C> propertyWithDefaultValue() {
            return property()
        }
    
        @Override
        AbstractCollectionProperty<String, C> propertyWithNoValue() {
            def p = property()
            p.set((List) null)
            return p
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top