langtools/test/com/sun/javadoc/testExternalOverridenMethod/TestExternalOverridenMethod.java
changeset 21478 fa4c7cda1b41
parent 21008 af0b915df7cc
child 23971 f5ff1f5a8dee
equal deleted inserted replaced
21477:02dc78554e0c 21478:fa4c7cda1b41
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4857717 8025633
    26  * @bug 4857717 8025633 8026567
    27  * @summary Test to make sure that externally overriden and implemented methods
    27  * @summary Test to make sure that externally overriden and implemented methods
    28  * are documented properly.  The method should still include "implements" or
    28  * are documented properly.  The method should still include "implements" or
    29  * "overrides" documentation even though the method is external.
    29  * "overrides" documentation even though the method is external.
    30  * @author jamieh
    30  * @author jamieh
    31  * @library ../lib/
    31  * @library ../lib/
    36 public class TestExternalOverridenMethod extends JavadocTester {
    36 public class TestExternalOverridenMethod extends JavadocTester {
    37 
    37 
    38     private static final String BUG_ID = "4857717";
    38     private static final String BUG_ID = "4857717";
    39     private static final String[][] TEST = {
    39     private static final String[][] TEST = {
    40         {BUG_ID + FS + "pkg" + FS + "XReader.html",
    40         {BUG_ID + FS + "pkg" + FS + "XReader.html",
    41             "<dt><span class=\"strong\">Overrides:</span></dt>" + NL +
    41             "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
    42             "<dd><code><a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/FilterReader.html?is-external=true#read--\" " +
    42             "<dd><code><a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/FilterReader.html?is-external=true#read--\" " +
    43             "title=\"class or interface in java.io\">read</a></code>&nbsp;in class&nbsp;<code>" +
    43             "title=\"class or interface in java.io\">read</a></code>&nbsp;in class&nbsp;<code>" +
    44             "<a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/FilterReader.html?is-external=true\" " +
    44             "<a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/FilterReader.html?is-external=true\" " +
    45             "title=\"class or interface in java.io\">FilterReader</a></code></dd>"},
    45             "title=\"class or interface in java.io\">FilterReader</a></code></dd>"},
    46         {BUG_ID + FS + "pkg" + FS + "XReader.html",
    46         {BUG_ID + FS + "pkg" + FS + "XReader.html",
    47             "<dt><span class=\"strong\">Specified by:</span></dt>" + NL +
    47             "<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>" + NL +
    48             "<dd><code><a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/DataInput.html?is-external=true#readInt--\" " +
    48             "<dd><code><a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/DataInput.html?is-external=true#readInt--\" " +
    49             "title=\"class or interface in java.io\">readInt</a></code>&nbsp;in interface&nbsp;<code>" +
    49             "title=\"class or interface in java.io\">readInt</a></code>&nbsp;in interface&nbsp;<code>" +
    50             "<a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/DataInput.html?is-external=true\" " +
    50             "<a href=\"http://java.sun.com/j2se/1.4.1/docs/api/java/io/DataInput.html?is-external=true\" " +
    51             "title=\"class or interface in java.io\">DataInput</a></code></dd>"}};
    51             "title=\"class or interface in java.io\">DataInput</a></code></dd>"}};
    52 
    52