46 |
46 |
47 //Input for string search tests. |
47 //Input for string search tests. |
48 private static final String[][] TEST = { |
48 private static final String[][] TEST = { |
49 //Regular param tags. |
49 //Regular param tags. |
50 {BUG_ID + FS + "pkg" + FS + "C.html", |
50 {BUG_ID + FS + "pkg" + FS + "C.html", |
51 "<STRONG>Parameters:</STRONG></DT><DD><CODE>param1</CODE> - testing 1 2 3.</DD>" + |
51 "<span class=\"strong\">Parameters:</span></dt><dd><code>param1</code> - testing 1 2 3.</dd>" + |
52 "<DD><CODE>param2</CODE> - testing 1 2 3." |
52 "<dd><code>param2</code> - testing 1 2 3." |
53 }, |
53 }, |
54 //Param tags that don't match with any real parameters. |
54 //Param tags that don't match with any real parameters. |
55 {BUG_ID + FS + "pkg" + FS + "C.html", |
55 {BUG_ID + FS + "pkg" + FS + "C.html", |
56 "<STRONG>Parameters:</STRONG></DT><DD><CODE><I>p1</I></CODE> - testing 1 2 3.</DD>" + |
56 "<span class=\"strong\">Parameters:</span></dt><dd><code><I>p1</I></code> - testing 1 2 3.</dd>" + |
57 "<DD><CODE><I>p2</I></CODE> - testing 1 2 3." |
57 "<dd><code><I>p2</I></code> - testing 1 2 3." |
58 }, |
58 }, |
59 //{@inherit} doc misuse does not cause doclet to throw exception. |
59 //{@inherit} doc misuse does not cause doclet to throw exception. |
60 // Param is printed with nothing inherited. |
60 // Param is printed with nothing inherited. |
61 //XXX: in the future when Configuration is available during doc inheritence, |
61 //XXX: in the future when Configuration is available during doc inheritence, |
62 //print a warning for this mistake. |
62 //print a warning for this mistake. |
63 {BUG_ID + FS + "pkg" + FS + "C.html", |
63 {BUG_ID + FS + "pkg" + FS + "C.html", |
64 "<CODE><I>inheritBug</I></CODE> -" |
64 "<code><I>inheritBug</I></code> -" |
65 }, |
65 }, |
66 |
66 |
67 }; |
67 }; |
68 private static final String[][] NEGATED_TEST = NO_TEST; |
68 private static final String[][] NEGATED_TEST = NO_TEST; |
69 |
69 |