langtools/test/com/sun/javadoc/testHref/TestHref.java
changeset 21478 fa4c7cda1b41
parent 21008 af0b915df7cc
child 23139 612191246a7d
equal deleted inserted replaced
21477:02dc78554e0c 21478:fa4c7cda1b41
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      4663254 8016328 8025633
    26  * @bug      4663254 8016328 8025633 8026567
    27  * @summary  Verify that spaces do not appear in hrefs and anchors.
    27  * @summary  Verify that spaces do not appear in hrefs and anchors.
    28  * @author   jamieh
    28  * @author   jamieh
    29  * @library  ../lib/
    29  * @library  ../lib/
    30  * @build    JavadocTester TestHref
    30  * @build    JavadocTester TestHref
    31  * @run main TestHref
    31  * @run main TestHref
    78             "Class C4&lt;E extends C4&lt;E&gt;&gt;</h2>"
    78             "Class C4&lt;E extends C4&lt;E&gt;&gt;</h2>"
    79         },
    79         },
    80 
    80 
    81         //Signature does not link to the page itself.
    81         //Signature does not link to the page itself.
    82         {BUG_ID + FS + "pkg" + FS + "C4.html",
    82         {BUG_ID + FS + "pkg" + FS + "C4.html",
    83             "public abstract class <span class=\"strong\">C4&lt;E extends C4&lt;E&gt;&gt;</span>"
    83             "public abstract class <span class=\"typeNameLabel\">C4&lt;E extends C4&lt;E&gt;&gt;</span>"
    84         },
    84         },
    85     };
    85     };
    86     private static final String[][] NEGATED_TEST =
    86     private static final String[][] NEGATED_TEST =
    87     {
    87     {
    88         {WARNING_OUTPUT,  "<a> tag is malformed"}
    88         {WARNING_OUTPUT,  "<a> tag is malformed"}