equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4515705 4804296 4702454 4697036 |
26 * @bug 4515705 4804296 4702454 4697036 8025633 |
27 * @summary Make sure that first sentence warning only appears once. |
27 * @summary Make sure that first sentence warning only appears once. |
28 * Make sure that only warnings/errors are printed when quiet is used. |
28 * Make sure that only warnings/errors are printed when quiet is used. |
29 * Make sure that links to private/unincluded methods do not cause |
29 * Make sure that links to private/unincluded methods do not cause |
30 * a "link unresolved" warning. |
30 * a "link unresolved" warning. |
31 * Make sure error message starts with "error -". |
31 * Make sure error message starts with "error -". |
63 {BUG_ID + FS + "pkg" + FS + "X.html", "can't find X()"}, |
63 {BUG_ID + FS + "pkg" + FS + "X.html", "can't find X()"}, |
64 {BUG_ID + FS + "pkg" + FS + "X.html", "can't find f"}, |
64 {BUG_ID + FS + "pkg" + FS + "X.html", "can't find f"}, |
65 }; |
65 }; |
66 |
66 |
67 private static final String[][] TEST2 = { |
67 private static final String[][] TEST2 = { |
68 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#m()\"><code>m()</code></a><br/>"}, |
68 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#m--\"><code>m()</code></a><br/>"}, |
69 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#X()\"><code>X()</code></a><br/>"}, |
69 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#X--\"><code>X()</code></a><br/>"}, |
70 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#f\"><code>f</code></a><br/>"}, |
70 {BUG_ID + FS + "pkg" + FS + "X.html", "<a href=\"../pkg/X.html#f\"><code>f</code></a><br/>"}, |
71 }; |
71 }; |
72 |
72 |
73 private static final String[][] NEGATED_TEST2 = NO_TEST; |
73 private static final String[][] NEGATED_TEST2 = NO_TEST; |
74 |
74 |