Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rendersLinkToApiClass (0.1 sec)

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

        final DslDocModel model = Mock()
        final GenerationListener listener = Mock()
        final LinkRenderer renderer = new LinkRenderer(document, model, "groovyVersion", "javaVersion")
    
        def rendersLinkToApiClass() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass'), listener)
    
            then:
            format(link) == '<apilink class="org.gradle.SomeClass"/>'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
Back to top