equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4951228 6290760 8025633 |
26 * @bug 4951228 6290760 8025633 8026567 |
27 * @summary Test the case where the overriden method returns a different |
27 * @summary Test the case where the overriden method returns a different |
28 * type than the method in the child class. Make sure the |
28 * type than the method in the child class. Make sure the |
29 * documentation is inherited but the return type isn't. |
29 * documentation is inherited but the return type isn't. |
30 * @author jamieh |
30 * @author jamieh |
31 * @library ../lib/ |
31 * @library ../lib/ |
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 // Check return type in member summary. |
49 // Check return type in member summary. |
50 {BUG_ID + FS + "pkg" + FS + "PublicChild.html", |
50 {BUG_ID + FS + "pkg" + FS + "PublicChild.html", |
51 "<code><a href=\"../pkg/PublicChild.html\" title=\"class in pkg\">PublicChild</a></code></td>" + NL + |
51 "<code><a href=\"../pkg/PublicChild.html\" title=\"class in pkg\">PublicChild</a></code></td>" + NL + |
52 "<td class=\"colLast\"><code><span class=\"strong\"><a href=\"../pkg/PublicChild.html#returnTypeTest--\">" + |
52 "<td class=\"colLast\"><code><span class=\"memberNameLink\"><a href=\"../pkg/PublicChild.html#returnTypeTest--\">" + |
53 "returnTypeTest</a></span>()</code>" |
53 "returnTypeTest</a></span>()</code>" |
54 }, |
54 }, |
55 // Check return type in member detail. |
55 // Check return type in member detail. |
56 {BUG_ID + FS + "pkg" + FS + "PublicChild.html", |
56 {BUG_ID + FS + "pkg" + FS + "PublicChild.html", |
57 "<pre>public <a href=\"../pkg/PublicChild.html\" title=\"class in pkg\">" + |
57 "<pre>public <a href=\"../pkg/PublicChild.html\" title=\"class in pkg\">" + |