langtools/test/jdk/javadoc/doclet/testSubTitle/TestSubTitle.java
changeset 44196 f88c0e9cb102
parent 36526 3b41f1c69604
equal deleted inserted replaced
44195:5860769fe2f4 44196:f88c0e9cb102
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 7010342 8150000
    26  * @bug 7010342 8150000 8174974
    27  * @summary Test for correct sub title generation.
    27  * @summary Test for correct sub title generation.
    28  * @author Bhavesh Patel
    28  * @author Bhavesh Patel
    29  * @library ../lib
    29  * @library ../lib
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @build JavadocTester
    31  * @build JavadocTester
    48 
    48 
    49         checkOutput("pkg/package-summary.html", true,
    49         checkOutput("pkg/package-summary.html", true,
    50             "<div class=\"block\">This is the description of package pkg.</div>");
    50             "<div class=\"block\">This is the description of package pkg.</div>");
    51 
    51 
    52         checkOutput("pkg/C.html", true,
    52         checkOutput("pkg/C.html", true,
    53                 "<div class=\"subTitle\"><span class=\"packageLabelInClass\">" +
    53                 "<div class=\"subTitle\"><span class=\"packageLabelInType\">" +
    54                 "Package</span>&nbsp;<a href=\"../pkg/package-summary.html\">pkg</a></div>");
    54                 "Package</span>&nbsp;<a href=\"../pkg/package-summary.html\">pkg</a></div>");
    55 
    55 
    56         checkOutput("pkg/package-summary.html", false,
    56         checkOutput("pkg/package-summary.html", false,
    57             "<p class=\"subTitle\">\n" +
    57             "<p class=\"subTitle\">\n" +
    58             "<div class=\"block\">This is the " +
    58             "<div class=\"block\">This is the " +