Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 272 for sometype (0.3 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

        def "tests output of missingValueMessage"() {
            when:
            render(missingValueMessage {
                type('SomeType')
                property('someProperty')
            })
    
            then:
            outputEquals """
    Type 'SomeType' property 'someProperty' doesn't have a configured value.
    
    Reason: This property isn't marked as optional and no value has been configured.
    
    Possible solutions:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

        def "formats signature"() {
            MethodMetaData method = Mock()
            def parameter = new ParameterMetaData('param')
            def type = new TypeMetaData('org.gradle.SomeType')
            parameter.type = type
    
            expect:
            parameter.signature == 'org.gradle.SomeType param'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/UnmanagedImplStructStrategyTest.groovy

        def store = new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies())
    
        def "assembles schema for unmanaged type"() {
            expect:
            def schema = store.getSchema(ModelType.of(SomeType))
            schema instanceof UnmanagedImplStructSchema
            !(schema instanceof ManagedImplSchema)
            !(schema instanceof CompositeSchema)
            schema instanceof StructSchema
            !schema.annotated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedImplStructStrategyTest.groovy

        def store = new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies())
    
        def "assembles schema for @Managed type"() {
            expect:
            def schema = store.getSchema(ModelType.of(SomeType))
            schema instanceof ManagedImplStructSchema
            schema instanceof ManagedImplSchema
            schema instanceof CompositeSchema
            schema instanceof StructSchema
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/test/resources/org/gradle/plugins/ide/eclipse/model/customProject.xml

        </buildSpec>
        <natures>
            <nature>org.eclipse.jdt.core.scalanature</nature>
        </natures>
        <linkedResources>
            <link>
                <name>somename</name>
                <type>sometype</type>
                <location>somelocation</location>
            </link>
        </linkedResources>
        <filteredResources>
            <filter>
                <id>1</id>
                <type>30</type>
                <name/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer/fuzzer.go

    */
    
    package fuzzer
    
    import (
    	"math/rand"
    
    	"github.com/google/gofuzz"
    
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    )
    
    // FuzzerFuncs returns a list of func(*SomeType, c fuzz.Continue) functions.
    type FuzzerFuncs func(codecs runtimeserializer.CodecFactory) []interface{}
    
    // FuzzerFor can randomly populate api objects that are destined for version.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy

            when:
            def publishArtifact = publishArtifactNotationParser.parseNotation(file: file, type: 'someType', builtBy: task)
    
            then:
            publishArtifact instanceof DefaultPublishArtifact
            publishArtifact.file == file
            publishArtifact.type == 'someType'
            publishArtifact.name == 'some-file'
            publishArtifact.extension == 'zip'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

        }
    
        def "can serialize/deserialize isolated Attribute values"() {
            Attribute attr1 = Attribute.of("foo", String.class)
            Attribute attr2 = Attribute.of("bar", SomeType.class)
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(attr1), isolatableFactory.isolate(attr2)]
    
            when:
            serialize(isolatables)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ProjectTest.groovy

        def static final CUSTOM_NATURES = ['org.eclipse.jdt.core.scalanature']
        def static final CUSTOM_LINKED_RESOURCES = [new Link('somename', 'sometype', 'somelocation', '')] as Set
        def static final CUSTOM_RESOURCE_FILTERS = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy

        def "renders sensible value for node whose toString() method returns null"() {
            given:
            buildFile << """
                @Managed abstract class SomeType {
                    String toString() { null }
                }
                model {
                    something(SomeType)
                }
            """.stripIndent()
    
            when:
            succeeds 'model'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top