Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,293 for setThing (0.19 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy

                    }
                }
    
                abstract class CalculateName extends RuleSource {
                    @RuleInput
                    abstract Thing getThing()
                    abstract void setThing(Thing t)
    
                    @Defaults
                    void defaultB(@Path('thingB') Thing thingB) {
                        assert thing.name == 'thing a from dsl'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

        static interface MisalignedSetterType {
            String getThing()
            void setThing(Object name)
        }
    
        def "misaligned setter type"() {
            when: extract MisalignedSetterType
            then: def ex = thrown InvalidManagedTypeException
            ex.message == """Type ${fullyQualifiedNameOf(MisalignedSetterType)} is not a valid managed type:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            abstract String getThing();
        }
    
        public static abstract class AbstractSetterBean {
            String getThing() {
                return "";
            }
    
            abstract void setThing(String value);
        }
    
        public static abstract class AbstractSetMethodBean {
            String getThing() {
                return "";
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        @Managed
        interface SpecialThing extends Thing {}
    
        @Managed
        interface SimpleModel {
            Thing getThing()
        }
    
        @Managed
        interface SpecialModel extends SimpleModel {
            SpecialThing getThing()
    
            void setThing(SpecialThing thing)
        }
    
        def "a subclass may specialize a property type"() {
            when:
            def schema = extract(SpecialModel)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

        Number getThing()
    }
    
    class BeanWithServices {
        @Inject
        Number getThing() {
            throw new UnsupportedOperationException()
        }
    }
    
    class BeanWithMutableServices extends BeanWithServices {
        void setThing(Number number) {
            throw new UnsupportedOperationException()
        }
    }
    
    class BeanWithServicesAndServiceRegistry extends BeanWithServices {
        ServiceRegistry getServices() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

        @Managed
        static interface MissingUnmanaged {
            InputStream getThing();
    
            void setThing(InputStream inputStream);
        }
    
        @Managed
        static abstract class UnmanagedModelMapInManagedType {
            abstract ModelMap<InputStream> getThings()
        }
    
        @Managed
        static interface OnlyGetGetter {
            boolean getThing()
        }
    
        @Managed
        static interface OnlyIsGetter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

    	if err := storage.CustomResource.Storage.Create(ctx, key, &validCustomResource, &cr, 0, false); err != nil {
    		t.Fatalf("error setting new custom resource (key: %s) %v: %v", key, validCustomResource, err)
    	}
    
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale, ok := obj.(*autoscalingv1.Scale)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java

     */
    public interface ObjectHolder<T> {
        /**
         * Fetches the value from this cache. A shared or exclusive lock is held while fetching the value, depending on implementation.
         */
        T get();
    
        /**
         * Sets the value for this cache. An exclusive lock is held while setting the value.
         */
        void set(T newValue);
    
        /**
         * Replaces the value for this cache.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r33/BuildActionCompositeBuildCrossVersionSpec.groovy

    import org.gradle.integtests.tooling.fixture.TargetGradleVersion
    import org.gradle.integtests.tooling.fixture.ToolingApiSpecification
    import spock.lang.Issue
    
    /**
     * Tests for the tooling API, which check fetching models and running actions using different
     * combinations of versions of the TAPI and Gradle.
     *
     * Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0, so
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. pkg/registry/core/replicationcontroller/storage/storage_test.go

    			Selector: labels.SelectorFromSet(validController.Spec.Template.Labels).String(),
    		},
    	}
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	got := obj.(*autoscaling.Scale)
    	if !apiequality.Semantic.DeepEqual(want, got) {
    		t.Errorf("unexpected scale: %s", cmp.Diff(want, got))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top