langtools/test/com/sun/javadoc/testConstructorIndent/TestConstructorIndent.java
changeset 21478 fa4c7cda1b41
parent 17567 56e83a873757
child 23971 f5ff1f5a8dee
equal deleted inserted replaced
21477:02dc78554e0c 21478:fa4c7cda1b41
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      4904037
    26  * @bug      4904037 8026567
    27  * @summary  The constructor comments should be surrounded by
    27  * @summary  The constructor comments should be surrounded by
    28  *           <dl></dl>.  Check for this in the output.
    28  *           <dl></dl>.  Check for this in the output.
    29  * @author   jamieh
    29  * @author   jamieh
    30  * @library  ../lib/
    30  * @library  ../lib/
    31  * @build    JavadocTester
    31  * @build    JavadocTester
    45 
    45 
    46     //Input for string search tests.
    46     //Input for string search tests.
    47     private static final String[][] TEST = {
    47     private static final String[][] TEST = {
    48         {BUG_ID + FS + "C.html", "<div class=\"block\">" +
    48         {BUG_ID + FS + "C.html", "<div class=\"block\">" +
    49                  "This is just a simple constructor.</div>" + NL +
    49                  "This is just a simple constructor.</div>" + NL +
    50                  "<dl>" + NL + "<dt><span class=\"strong\">Parameters:</span></dt>" + NL +
    50                  "<dl>" + NL + "<dt><span class=\"paramLabel\">Parameters:</span></dt>" + NL +
    51                  "<dd><code>i</code> - a param.</dd>" + NL +"</dl>"
    51                  "<dd><code>i</code> - a param.</dd>" + NL +"</dl>"
    52         }
    52         }
    53     };
    53     };
    54     private static final String[][] NEGATED_TEST = NO_TEST;
    54     private static final String[][] NEGATED_TEST = NO_TEST;
    55 
    55