Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isKnownType (0.17 sec)

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

            format(link) == '<classname><apilink class="org.gradle.SomeClass"/>&lt;<apilink class="Type1"/>, <apilink class="Type2"/>&gt;</classname>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
            _ * model.isKnownType('Type1') >> true
            _ * model.isKnownType('Type2') >> true
        }
    
        def rendersLinkToApiMethod() {
            def method = method('someMethod', 'org.gradle.SomeClass')
    
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                return linkElement.getFirstChild();
            }
            return linkElement;
        }
    
        private Node addType(String className, GenerationListener listener) {
            if (model.isKnownType(className)) {
                Element linkElement = document.createElement("apilink");
                linkElement.setAttribute("class", className);
                return linkElement;
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            _ * docModel.isKnownType('org.gradle.ExtensionA1') >> true
            _ * docModel.getClassDoc('org.gradle.ExtensionA2') >> extensionA2
            _ * docModel.isKnownType('org.gradle.ExtensionA2') >> true
            _ * docModel.getClassDoc('org.gradle.ExtensionB') >> extensionB
            _ * docModel.isKnownType('org.gradle.ExtensionB') >> true
    
            def content = parse('''<section>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

        }
    
        Collection<gradlebuild.docs.dsl.docbook.model.ClassDoc> getClasses() {
            return classes.values().findAll { !it.name.contains('.internal.') }
        }
    
        boolean isKnownType(String className) {
            return classMetaData.find(className) != null
        }
    
        gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) {
    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