test/langtools/jdk/javadoc/doclet/testSummaryTag/TestSummaryTag.java
changeset 47284 355349babaf4
parent 47216 71c04702a3d5
child 48028 9e022f580a9d
equal deleted inserted replaced
47283:ce5fd3ba3fea 47284:355349babaf4
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 /*
    26 /*
    27  * @test
    27  * @test
    28  * @bug      8173425
    28  * @bug      8173425 8186332
    29  * @summary  tests for the summary tag behavior
    29  * @summary  tests for the summary tag behavior
    30  * @library  ../lib
    30  * @library  ../lib
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    32  * @build    JavadocTester
    32  * @build    JavadocTester
    33  * @run main TestSummaryTag
    33  * @run main TestSummaryTag
    85 
    85 
    86         // make sure the second @summary's content is displayed correctly
    86         // make sure the second @summary's content is displayed correctly
    87         checkOutput("p1/A.html", true,
    87         checkOutput("p1/A.html", true,
    88              "<li class=\"blockList\">\n"
    88              "<li class=\"blockList\">\n"
    89              + "<h4>m3</h4>\n"
    89              + "<h4>m3</h4>\n"
    90              + "<pre>public&nbsp;void&nbsp;m3&#8203;()</pre>\n"
    90              + "<pre>public&nbsp;void&nbsp;m3()</pre>\n"
    91              + "<div class=\"block\">First sentence  some text maybe second sentence.</div>\n"
    91              + "<div class=\"block\">First sentence  some text maybe second sentence.</div>\n"
    92              + "</li>\n"
    92              + "</li>\n"
    93         );
    93         );
    94 
    94 
    95         checkOutput("p1/package-summary.html", true,
    95         checkOutput("p1/package-summary.html", true,