test/com/sun/javadoc/testPrivateClasses/TestPrivateClasses.java

changeset 2055
184c0d6698c3
parent 1935
8c55df2442c1
child 2101
933ba3f81a87
equal deleted inserted replaced
2054:3ae62331a56f 2055:184c0d6698c3
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 4780441 4874845 4978816 8014017 26 * @bug 4780441 4874845 4978816 8014017 8016328
27 * @summary Make sure that when the -private flag is not used, members 27 * @summary Make sure that when the -private flag is not used, members
28 * inherited from package private class are documented in the child. 28 * inherited from package private class are documented in the child.
29 * 29 *
30 * Make sure that when a method inherits documentation from a method 30 * Make sure that when a method inherits documentation from a method
31 * in a non-public class/interface, the non-public class/interface 31 * in a non-public class/interface, the non-public class/interface
175 "methodInheritedFromParent</a>" 175 "methodInheritedFromParent</a>"
176 }, 176 },
177 // Should document that a method overrides method from private class. 177 // Should document that a method overrides method from private class.
178 {BUG_ID + "-2" + FS + "pkg" + FS + "PublicChild.html", 178 {BUG_ID + "-2" + FS + "pkg" + FS + "PublicChild.html",
179 "<dt><span class=\"strong\">Overrides:</span></dt>" + NL + 179 "<dt><span class=\"strong\">Overrides:</span></dt>" + NL +
180 "<dd><code><a href=\"../pkg/PrivateParent.html#methodOverridenFromParent(char[], int, T, V, java.util.List)\">" + 180 "<dd><code><a href=\"../pkg/PrivateParent.html#methodOverridenFromParent(char[],%20int,%20T,%20V,%20java.util.List)\">" +
181 "methodOverridenFromParent</a></code>&nbsp;in class&nbsp;<code>" + 181 "methodOverridenFromParent</a></code>&nbsp;in class&nbsp;<code>" +
182 "<a href=\"../pkg/PrivateParent.html\" title=\"class in pkg\">" + 182 "<a href=\"../pkg/PrivateParent.html\" title=\"class in pkg\">" +
183 "PrivateParent</a></code></dd>"}, 183 "PrivateParent</a></code></dd>"},
184 // Should document that a method is specified by private interface. 184 // Should document that a method is specified by private interface.
185 {BUG_ID + "-2" + FS + "pkg" + FS + "PublicChild.html", 185 {BUG_ID + "-2" + FS + "pkg" + FS + "PublicChild.html",

mercurial