Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    
    import java.util.*;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts raw javadoc comments into docbook.
     */
    public class JavadocConverter {
        private static final Pattern HEADER_PATTERN = Pattern.compile("h(\\d)", Pattern.CASE_INSENSITIVE);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

    class JavadocConverterTest extends XmlSpecification {
        final ClassMetaData classMetaData = Mock()
        final JavadocLinkConverter linkConverter = Mock()
        final GenerationListener listener = Mock()
        final JavadocConverter parser = new JavadocConverter(document, linkConverter)
    
        def respectsLineIndentation() {
            _ * classMetaData.rawCommentText >> '''
     * x
     *   indented
    '''
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
Back to top