Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for param (0.19 sec)

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

            method.returnType = new TypeMetaData('ReturnType')
            method.addParameter('param', new TypeMetaData('ParamType').addTypeArg(new TypeMetaData("Type1")))
            method.addParameter('param2', new TypeMetaData('ParamType2'))
    
            expect:
            method.signature == 'ReturnType method(ParamType<Type1> param, ParamType2 param2)'
            method.overrideSignature == 'method(ParamType, ParamType2)'
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K 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'
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        private final List<Pattern> publicApiPatterns
    
        AbstractSuperClassChangesRule(Map<String, Object> params) {
            super(params)
            final List<String> publicApiPatterns = (List<String>)params['publicApiPatterns'];
            this.publicApiPatterns = publicApiPatterns.collect { Pattern.compile(it) }
        }
    
        Violation maybeViolation(final JApiCompatibility member) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            }
            return sections[0]
        }
    
        Element getDescription() {
            if (comment.isEmpty() || comment[0].tagName != 'para') {
                throw new RuntimeException("Class $className does not have a description paragraph.")
            }
            return comment[0]
        }
    
        PropertyDoc findProperty(String name) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * to quickly open the changes file.  By then we can also regex that path out of the description
         * in order to create a changes {@link File} for further use in this class.
         *
         * @param data the report data containing a description to parse
         * @return accepted api changes reported upon, as a file
         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            format(result.docbook) == '''<para><emphasis>para 1</emphasis></para><para>para 2</para>'''
        }
    
        def ignoresEmptyPElements() {
            _ * classMetaData.rawCommentText >> 'para 1<p/><p></p>para 2<p></p>'
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>para 1</para><para>para 2</para>'''
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        AbstractGradleViolationRule(Map<String, Object> params) {
            Map<String, String> acceptedApiChanges = (Map<String, String>)params.get("acceptedApiChanges")
            this.acceptedApiChanges = acceptedApiChanges ? AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges) : [:]
    
            // Tests will not supply these
            this.apiChangesJsonFile = params.get("apiChangesJsonFile") ? new File(params.get("apiChangesJsonFile") as String) : null
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            _ * javadocConverter.parse(property, !null) >> ({[parse("<para>${args.comment ?: 'comment'}</para>")]} as DocComment)
            return property
        }
    
        def propertyDoc(Map<String, ?> args = [:], String name) {
            return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: [])
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

        def "closes implicit <p> element at start of block element"() {
            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
            expect:
            parse(source) == transformed
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            </segmentedlist>
            <para>class comment</para>
            <section>
                <title>Properties</title>
                <para>No properties</para>
            </section>
            <section>
                <title>Methods</title>
                <para>No methods</para>
            </section>
            <section>
                <title>Script blocks</title>
                <para>No script blocks</para>
            </section>
        </chapter>
    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)
Back to top