Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resolvesUnqualifiedNameToImportedJavaPackage (0.2 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

            typeNameResolver.resolve('BigDecimal', classMetaData) == 'java.math.BigDecimal'
            typeNameResolver.resolve('BigInteger', classMetaData) == 'java.math.BigInteger'
        }
    
        def resolvesUnqualifiedNameToImportedJavaPackage() {
            when:
            def name = typeNameResolver.resolve('Set', classMetaData)
    
            then:
            name == 'java.util.Set'
            _ * classMetaData.innerClassNames >> []
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
Back to top