test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethods.java
changeset 48654 36f58bd6269f
parent 48257 125716343184
child 53097 2e82ca64b25d
equal deleted inserted replaced
48653:89111a0e6355 48654:36f58bd6269f
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, 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.
    48         checkExit(Exit.OK);
    48         checkExit(Exit.OK);
    49 
    49 
    50         // The public method should be overridden
    50         // The public method should be overridden
    51         checkOutput("pkg1/SubClass.html", true,
    51         checkOutput("pkg1/SubClass.html", true,
    52                 "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n"
    52                 "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n"
    53                 + "<dd><code><a href=\"../pkg1/BaseClass.html#publicMethod");
    53                 + "<dd><code><a href=\"BaseClass.html#publicMethod");
    54 
    54 
    55         // The public method in different package should be overridden
    55         // The public method in different package should be overridden
    56         checkOutput("pkg2/SubClass.html", true,
    56         checkOutput("pkg2/SubClass.html", true,
    57                 "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n"
    57                 "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n"
    58                 + "<dd><code><a href=\"../pkg1/BaseClass.html#publicMethod");
    58                 + "<dd><code><a href=\"../pkg1/BaseClass.html#publicMethod");