langtools/test/jdk/javadoc/doclet/testMemberInheritence/TestMemberInheritence.java
changeset 44297 e03f5fb3714b
parent 41157 b235a429089a
equal deleted inserted replaced
44296:e9bbaeab6f49 44297:e03f5fb3714b
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 4638588 4635809 6256068 6270645 8025633 8026567 8162363
    26  * @bug 4638588 4635809 6256068 6270645 8025633 8026567 8162363 8175200
    27  * @summary Test to make sure that members are inherited properly in the Javadoc.
    27  * @summary Test to make sure that members are inherited properly in the Javadoc.
    28  *          Verify that inheritence labels are correct.
    28  *          Verify that inheritence labels are correct.
    29  * @author jamieh
    29  * @author jamieh
    30  * @library ../lib
    30  * @library ../lib
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    31  * @modules jdk.javadoc/jdk.javadoc.internal.tool
    90         checkOutput("pkg1/Implementer.html", true,
    90         checkOutput("pkg1/Implementer.html", true,
    91                 // ensure the method makes it
    91                 // ensure the method makes it
    92                 "<td class=\"colFirst\"><code>static java.time.Period</code></td>\n"
    92                 "<td class=\"colFirst\"><code>static java.time.Period</code></td>\n"
    93                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    93                 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
    94                 + "<a href=\"../pkg1/Implementer.html#between-java.time.LocalDate-java.time.LocalDate-\">"
    94                 + "<a href=\"../pkg1/Implementer.html#between-java.time.LocalDate-java.time.LocalDate-\">"
    95                 + "between</a></span>(java.time.LocalDate&nbsp;startDateInclusive,\n"
    95                 + "between</a></span>&#8203;(java.time.LocalDate&nbsp;startDateInclusive,\n"
    96                 + "       java.time.LocalDate&nbsp;endDateExclusive)</code></th>",
    96                 + "       java.time.LocalDate&nbsp;endDateExclusive)</code></th>",
    97                 // check the inherited from interfaces
    97                 // check the inherited from interfaces
    98                 "<h3>Methods inherited from interface&nbsp;pkg1.<a href=\"../pkg1/Interface.html\""
    98                 "<h3>Methods inherited from interface&nbsp;pkg1.<a href=\"../pkg1/Interface.html\""
    99                 + " title=\"interface in pkg1\">Interface</a></h3>\n"
    99                 + " title=\"interface in pkg1\">Interface</a></h3>\n"
   100                 + "<code><a href=\"../pkg1/Interface.html#between-java.time.chrono.ChronoLocalDate"
   100                 + "<code><a href=\"../pkg1/Interface.html#between-java.time.chrono.ChronoLocalDate"