test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java
changeset 51797 3efead10e303
parent 50293 edfb87b2520e
child 53097 2e82ca64b25d
equal deleted inserted replaced
51796:9d3a00c8c047 51797:3efead10e303
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8173302 8182765 8196202
    26  * @bug 8173302 8182765 8196202 8210047
    27  * @summary make sure the overview-summary and module-summary pages don't
    27  * @summary make sure the overview-summary and module-summary pages don't
    28  *          don't have the See link, and the overview is copied correctly.
    28  *          don't have the See link, and the overview is copied correctly.
    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
    93         checkOverview_html4();
    93         checkOverview_html4();
    94     }
    94     }
    95 
    95 
    96     void checkOverview() {
    96     void checkOverview() {
    97         checkOutput("overview-summary.html", true,
    97         checkOutput("overview-summary.html", true,
    98                 "<div class=\"header\">\n"
    98                 "<main role=\"main\">\n"
       
    99                 + "<div class=\"header\">\n"
    99                 + "<h1 class=\"title\">Document Title</h1>\n"
   100                 + "<h1 class=\"title\">Document Title</h1>\n"
   100                 + "</div>\n"
   101                 + "</div>\n"
   101                 + "<main role=\"main\">\n"
       
   102                 + "<div class=\"contentContainer\">\n"
   102                 + "<div class=\"contentContainer\">\n"
   103                 + "<div class=\"block\">This is line1. This is line 2.</div>\n"
   103                 + "<div class=\"block\">This is line1. This is line 2.</div>\n"
   104                 + "</div>\n"
   104                 + "</div>\n"
   105                 + "<div class=\"contentContainer\">");
   105                 + "<div class=\"contentContainer\">");
   106     }
   106     }