Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for table (0.16 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        private Element getTable(String title) {
            def table = getSection(title).table[0]
            if (!table) {
                throw new RuntimeException("Section '$title' does not contain a <table> element.")
            }
            if (!table.thead[0]) {
                throw new RuntimeException("Table '$title' does not contain a <thead> element.")
            }
            if (!table.thead[0].tr[0]) {
    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)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            "<p>text</p>   <p>text</p>"                        | "<p>text</p><p>text</p>"
            "<p>text</p>   <h2>text</h2> <table/>"             | "<p>text</p><h2>text</h2><table></table>"
            "  <table>  <tr>  <td>text</td> </tr>\r\n</table>" | "<table><tr><td>text</td></tr></table>"
        }
    
        def "does not discard whitespace around inline elements"() {
            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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            def content = parse('''
    <section>
        <section><title>Properties</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
                <tr><td>b</td></tr>
                <tr><td>a</td></tr>
            </table>
        </section>
        <section><title>Methods</title><table><thead><tr></tr></thead></table></section>
    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
    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)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            _ * classMetaData.rawCommentText >> '''
    <table>
        <tr><th>column1</th><th>column2</th></tr>
        <tr><td>cell1</td><td>cell2</td></tr>
    </table>
    '''
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<table><thead><tr><td>column1</td><td>column2</td></tr></thead><tr><td>cell1</td><td>cell2</td></tr></table>'''
        }
    
    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)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
            def methodDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Method details' } }
            def methodsTable = withCategories { methodsSection ? methodsSection.table[0] : parse('<table/>') }
    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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            use(BuildableDOMCategory) {
                DslDocModel model = createDslDocModelClosure(loadPluginsMetaData())
                def root = doc.documentElement
                root.section.table.each { Element table ->
                    mergeContent(table, model)
                }
                model.classes.each {
                    generateDocForType(root.ownerDocument, model, linkRepository, it)
                }
            }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            def content = parse('''<section>
                    <section><title>Properties</title>
                        <table><thead><tr><td/></tr></thead></table>
                    </section>
                    <section><title>Methods</title>
                        <table><thead><tr><td/></tr></thead></table>
                    </section>
                </section>
            ''')
    
            when:
            ClassDoc doc = withCategories {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            def content = parse('''
    <section>
        <section><title>Methods</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
                <tr><td>a</td></tr>
                <tr><td>b</td></tr>
            </table>
        </section>
        <section><title>Properties</title><table><thead><tr>Name</tr></thead></table></section>
    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
Back to top