langtools/test/com/sun/javadoc/AuthorDD/AuthorDD.java
changeset 21478 fa4c7cda1b41
parent 17566 7e1a338e1085
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 4651598
    26  * @bug 4651598 8026567
    27  * @summary Javadoc wrongly inserts </DD> tags when using multiple @author tags
    27  * @summary Javadoc wrongly inserts </DD> tags when using multiple @author tags
    28  * @author dkramer
    28  * @author dkramer
    29  * @run main AuthorDD
    29  * @run main AuthorDD
    30  */
    30  */
    31 
    31 
    84      */
    84      */
    85     private static final String[][] testArray = {
    85     private static final String[][] testArray = {
    86 
    86 
    87              // Test single @since tag:
    87              // Test single @since tag:
    88 
    88 
    89             { "<dt><span class=\"strong\">Since:</span></dt>"+NL+"<dd>JDK 1.0</dd>",
    89             { "<dt><span class=\"simpleTagLabel\">Since:</span></dt>"+NL+"<dd>JDK 1.0</dd>",
    90                                   BUGID + FS + "p1" + FS + "C1.html" },
    90                                   BUGID + FS + "p1" + FS + "C1.html" },
    91 
    91 
    92             // Test multiple @author tags:
    92             // Test multiple @author tags:
    93 
    93 
    94             { "<dt><span class=\"strong\">Author:</span></dt>"+NL+"<dd>Doug Kramer, Jamie, Neal</dd>",
    94             { "<dt><span class=\"simpleTagLabel\">Author:</span></dt>"+NL+"<dd>Doug Kramer, Jamie, Neal</dd>",
    95                                   BUGID + FS + "p1" + FS + "C1.html" },
    95                                   BUGID + FS + "p1" + FS + "C1.html" },
    96 
    96 
    97         };
    97         };
    98 
    98 
    99     public static void runTestsOnHTML(String[][] testArray) {
    99     public static void runTestsOnHTML(String[][] testArray) {