Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for validateRegistrations (0.43 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy

            instanceFactory.register(ModelType.of(ThingSpec), new SimpleModelRuleDescriptor("thing"))
                .withImplementation(ModelType.of(DefaultThingSpec))
    
            when:
            instanceFactory.validateRegistrations()
    
            then:
            noExceptionThrown()
        }
    
        def "can register unmanaged internal view for unmanaged type"() {
            instanceFactory.registerFactory(DefaultThingSpec, factoryMock)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/platform/base/plugins/ComponentBasePlugin.java

            }
    
            @Validate
            void validateComponentSpecRegistrations(ComponentSpecFactory instanceFactory) {
                instanceFactory.validateRegistrations();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

                    String.format("Cannot create a '%s' because this type does not have an implementation registered.", type));
            }
            return registration.implementationRegistration;
        }
    
        public void validateRegistrations() {
            for (TypeRegistration<? extends PUBLIC> registration : registrations.values()) {
                registration.validate();
            }
        }
    
        private static boolean isManaged(ModelType<?> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    // properly formatted for registration as defined by Section 4 of RFC 5891.
    func ValidateForRegistration() Option {
    	return func(o *options) {
    		o.mapping = validateRegistration
    		StrictDomainName(true)(o)
    		ValidateLabels(true)(o)
    		VerifyDNSLength(true)(o)
    		BidiRule()(o)
    	}
    }
    
    // MapForLookup sets validation and mapping options such that a given IDN is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    // properly formatted for registration as defined by Section 4 of RFC 5891.
    func ValidateForRegistration() Option {
    	return func(o *options) {
    		o.mapping = validateRegistration
    		StrictDomainName(true)(o)
    		ValidateLabels(true)(o)
    		VerifyDNSLength(true)(o)
    		BidiRule()(o)
    	}
    }
    
    // MapForLookup sets validation and mapping options such that a given IDN is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top