langtools/test/com/sun/javadoc/testPrivateClasses/TestPrivateClasses.java
changeset 20257 9da4f6c30089
parent 19253 b97b3e18547f
child 21008 af0b915df7cc
equal deleted inserted replaced
20256:9154c5cc0d9f 20257:9da4f6c30089
    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",