- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for formatsSignature (0.21 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy
class PropertyMetaDataTest extends Specification { final ClassMetaData classMetaData = Mock() final PropertyMetaData propertyMetaData = new PropertyMetaData('prop', classMetaData) def formatsSignature() { def type = new TypeMetaData('org.gradle.SomeClass') propertyMetaData.type = type expect: propertyMetaData.signature == 'org.gradle.SomeClass prop' }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
} def rawTypeForWildcardWithLowerBound() { type.setLowerBounds(new TypeMetaData('OtherType')) expect: type.rawType.signature == 'java.lang.Object' } def formatsSignature() { expect: type.signature == 'org.gradle.SomeType' } def formatsSignatureForArrayType() { type.arrayDimensions = 2 expect:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
import spock.lang.Specification class MethodMetaDataTest extends Specification { final ClassMetaData owner = Mock() final MethodMetaData method = new MethodMetaData('method', owner) def formatsSignature() { method.returnType = new TypeMetaData('ReturnType') method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0)