Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for formatTree (0.07 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

        }
    
        def formatTree(Closure cl) {
            withCategories {
                return formatTree(cl.call())
            }
        }
    
        def withCategories(Closure cl) {
            use(BuildableDOMCategory) {
                return cl.call()
            }
        }
    
        def format(Node... nodes) {
            format(nodes as List)
        }
    
        def formatTree(Node... nodes) {
            formatTree(nodes as List)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<root/>')
            withCategories {
                renderer.mergeContent(classDoc, result)
            }
    
            then:
            formatTree(result) == '''<root>
        <chapter id="classId">
            <title>Class</title>
            <segmentedlist>
                <segtitle>API Documentation</segtitle>
                <seglistitem>
                    <seg>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
Back to top