test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java

changeset 2147
130b8c0e570e
parent 1743
6a5288a298fd
child 2525
2eb010b6cb22
     1.1 --- a/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java	Fri Oct 18 15:03:34 2013 -0700
     1.2 +++ b/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java	Fri Oct 18 16:34:42 2013 -0700
     1.3 @@ -23,7 +23,7 @@
     1.4  
     1.5  /*
     1.6   * @test
     1.7 - * @bug      4802275 4967243
     1.8 + * @bug      4802275 4967243 8026567
     1.9   * @summary  Make sure param tags are still printed even though they do not
    1.10   *           match up with a real parameters.
    1.11   *           Make sure inheritDoc cannot be used in an invalid param tag.
    1.12 @@ -48,12 +48,12 @@
    1.13      private static final String[][] TEST = {
    1.14          //Regular param tags.
    1.15          {BUG_ID + FS + "pkg" + FS + "C.html",
    1.16 -            "<span class=\"strong\">Parameters:</span></dt>" + NL + "<dd><code>param1</code> - testing 1 2 3.</dd>" +
    1.17 +            "<span class=\"paramLabel\">Parameters:</span></dt>" + NL + "<dd><code>param1</code> - testing 1 2 3.</dd>" +
    1.18                  NL + "<dd><code>param2</code> - testing 1 2 3."
    1.19          },
    1.20          //Param tags that don't match with any real parameters.
    1.21          {BUG_ID + FS + "pkg" + FS + "C.html",
    1.22 -            "<span class=\"strong\">Parameters:</span></dt>" + NL + "<dd><code><I>p1</I></code> - testing 1 2 3.</dd>" +
    1.23 +            "<span class=\"paramLabel\">Parameters:</span></dt>" + NL + "<dd><code><I>p1</I></code> - testing 1 2 3.</dd>" +
    1.24                  NL + "<dd><code><I>p2</I></code> - testing 1 2 3."
    1.25          },
    1.26          //{@inherit} doc misuse does not cause doclet to throw exception.

mercurial