test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java
equal
deleted
inserted
replaced
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 void readObject​()\n" + |
370 "<pre>public void 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 C2​()</pre>\n" + |
375 "<pre>public 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 <a href=\"../pkg1/C1.ModalExclusionType.html\" " + |
380 "static final <a href=\"../pkg1/C1.ModalExclusionType.html\" " + |