test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
changeset 47284 355349babaf4
parent 47272 e0d686cdf608
child 47300 a905ce398074
equal deleted inserted replaced
47283:ce5fd3ba3fea 47284:355349babaf4
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6786690 6820360 8025633 8026567 8175200 8183511
    26  * @bug 6786690 6820360 8025633 8026567 8175200 8183511 8186332
    27  * @summary This test verifies the nesting of definition list tags.
    27  * @summary This test verifies the nesting of definition list tags.
    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
   365 
   365 
   366     void checkNoCommentNoDeprecated(boolean expectFound) {
   366     void checkNoCommentNoDeprecated(boolean expectFound) {
   367         // Test with -nocomment and -nodeprecated options. The ClassDocs whould
   367         // Test with -nocomment and -nodeprecated options. The ClassDocs whould
   368         // not display definition lists for any member details.
   368         // not display definition lists for any member details.
   369         checkOutput("pkg1/C1.html", expectFound,
   369         checkOutput("pkg1/C1.html", expectFound,
   370                 "<pre>public&nbsp;void&nbsp;readObject&#8203;()\n" +
   370                 "<pre>public&nbsp;void&nbsp;readObject()\n" +
   371                 "                throws java.io.IOException</pre>\n" +
   371                 "                throws java.io.IOException</pre>\n" +
   372                 "</li>");
   372                 "</li>");
   373 
   373 
   374         checkOutput("pkg1/C2.html", expectFound,
   374         checkOutput("pkg1/C2.html", expectFound,
   375                 "<pre>public&nbsp;C2&#8203;()</pre>\n" +
   375                 "<pre>public&nbsp;C2()</pre>\n" +
   376                 "</li>");
   376                 "</li>");
   377 
   377 
   378         checkOutput("pkg1/C1.ModalExclusionType.html", expectFound,
   378         checkOutput("pkg1/C1.ModalExclusionType.html", expectFound,
   379                 "<pre>public " +
   379                 "<pre>public " +
   380                 "static final&nbsp;<a href=\"../pkg1/C1.ModalExclusionType.html\" " +
   380                 "static final&nbsp;<a href=\"../pkg1/C1.ModalExclusionType.html\" " +