- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CustomThing (0.21 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy
class CustomModel implements Serializable { static final INSTANCE = new CustomThing() String getValue() { 'greetings' } CustomThing getThing() { return INSTANCE } Set<CustomThing> getThings() { return [INSTANCE] } Map<String, CustomThing> getThingsByName() { return [child: INSTANCE] } CustomThing findThing(String name) { return INSTANCE } } class CustomThing implements Serializable { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/CustomToolingModelCrossVersionSpec.groovy
import javax.inject.Inject apply plugin: CustomPlugin class CustomModel implements Serializable { String getValue() { 'greetings' } Set<CustomThing> getThings() { return [new CustomThing()] } Map<String, CustomThing> getThingsByName() { return [thing: new CustomThing()] } } class CustomThing implements Serializable { } class CustomBuilder implements ToolingModelBuilder { boolean canBuild(String modelName) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy
allprojects { apply plugin: CustomPlugin } class CustomModel implements Serializable { List<CustomThing> things = new ArrayList() CustomModel(int heapSizeMb) { for(int i = 0; i < heapSizeMb; i++) { things.add(new CustomThing()) } } } class CustomThing implements Serializable { byte[] payload = new byte[1024 * 1024] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy
when: def customSchema = store.getSchema(CustomThing) then: 1 * strategy.extract(_) >> { ModelSchemaExtractionContext extractionContext -> assert extractionContext.type == ModelType.of(CustomThing) extractionContext.child(ModelType.of(UnmanagedThing), "child") extractionContext.found(new ScalarValueSchema<CustomThing>(extractionContext.type)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.9K bytes - Viewed (0)