- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for schemaStore (0.17 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy
} def setup() { internalType = holderType() internalTypeSchema = schemaStore.getSchema(internalType) assert internalTypeSchema instanceof StructSchema collectionProperty = internalTypeSchema.getProperty('items') collectionType = collectionProperty.type as ModelType<C> def collectionSchema = schemaStore.getSchema(collectionType) assert collectionSchema instanceof ManagedImplSchema
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ClassModelRuleSourceValidationTest.groovy
import org.gradle.model.RuleSource import org.gradle.model.internal.fixture.ProjectRegistrySpec class ClassModelRuleSourceValidationTest extends ProjectRegistrySpec { def extractor = new ModelRuleExtractor([], proxyFactory, schemaStore, structBindingsStore) def "invalid #type - #reason"() { when: extractor.extract(type) then: def e = thrown(InvalidModelRuleDeclarationException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GlobalScopeServices.java
return new DefaultModelSchemaStore(modelSchemaExtractor); } @Provides protected StructBindingsStore createStructBindingsStore(ModelSchemaStore schemaStore) { return new DefaultStructBindingsStore(schemaStore); } @Provides protected ModelRuleSourceDetector createModelRuleSourceDetector() { return new ModelRuleSourceDetector(); } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy
@Override protected NodeInitializerRegistry createNodeInitializerRegistry(ModelSchemaStore schemaStore, StructBindingsStore structBindingsStore) { // Not shared across tests as test may add constructible types only applying to that particular test return new DefaultNodeInitializerRegistry(schemaStore, structBindingsStore) } def "should fail with a contextual exception for managed collections properties"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 12.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/RuleDefinitionRuleExtractorTest.groovy
import static org.gradle.model.ModelTypeTesting.fullyQualifiedNameOf class RuleDefinitionRuleExtractorTest extends ProjectRegistrySpec { def extractor = new ModelRuleExtractor([new RuleDefinitionRuleExtractor()], proxyFactory, schemaStore, structBindingsStore) static class InvalidSignature extends RuleSource { @Rules void broken1(String string, RuleSource ruleSource) { } @Rules void broken2() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/registry/LanguageTypeModelRuleExtractorTest.groovy
class LanguageTypeModelRuleExtractorTest extends AbstractAnnotationModelRuleExtractorTest { Class<?> ruleClass = Rules ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } def "decent error message for rule declaration problem - #descr"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy
final static ModelType<ComponentSpecFactory> FACTORY_REGISTRY_TYPE = ModelType.of(ComponentSpecFactory) ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore) @Override Class<? extends Annotation> getAnnotation() { return ComponentType } Class<?> ruleClass = Rules def "applies ComponentModelBasePlugin and creates component type rule"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
import static org.junit.Assume.assumeTrue class DefaultStructBindingsStoreTest extends Specification { def schemaStore = new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies()) def bindingStore = new DefaultStructBindingsStore(schemaStore) def "extracts empty"() { def bindings = extract(Object) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
} @Hidden @Model NodeInitializerRegistry nodeInitializerRegistry(ModelSchemaStore schemaStore, StructBindingsStore structBindingsStore) { return new DefaultNodeInitializerRegistry(schemaStore, structBindingsStore); } @Hidden @Model TypeConverter typeConverter(ServiceRegistry serviceRegistry) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
import static org.gradle.model.ModelTypeTesting.fullyQualifiedNameOf class ModelRuleExtractorTest extends ProjectRegistrySpec { def extractor = new ModelRuleExtractor(MethodModelRuleExtractors.coreExtractors(SCHEMA_STORE), MANAGED_PROXY_FACTORY, SCHEMA_STORE, STRUCT_BINDINGS_STORE) ModelRegistry registry = new DefaultModelRegistry(extractor, null) static class ModelThing { final String name ModelThing(String name) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0)