Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parameters (0.18 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * methodDoc.incubating >> (args.incubating ?: false)
            _ * metaData.returnType >> new TypeMetaData(args.returnType ?: 'ReturnType')
            def paramTypes = args.paramTypes ?: []
            _ * metaData.parameters >> paramTypes.collect {
                def param = new ParameterMetaData("p");
                param.type = new TypeMetaData(it)
                return param
            }
            return methodDoc
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            def rule = withContext(new SinceAnnotationMissingRule([:]))
            def jApiMethod = Stub(JApiMethod)
            jApiMethod.name >> implicitMethod
            jApiMethod.jApiClass >> jApiClassifier
            jApiMethod.parameters >> paramTypes.collect { paramStub(it) }
    
            when:
            sourceFile.text = """
                public enum $TEST_INTERFACE_SIMPLE_NAME {
                }
            """
    
            then:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top