test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenMethodDocCopy.java
changeset 48654 36f58bd6269f
parent 48257 125716343184
child 49139 771616d26ca1
equal deleted inserted replaced
48653:89111a0e6355 48654:36f58bd6269f
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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.
    51                 "pkg1", "pkg2");
    51                 "pkg1", "pkg2");
    52         checkExit(Exit.OK);
    52         checkExit(Exit.OK);
    53 
    53 
    54         checkOutput("pkg1/SubClass.html", true,
    54         checkOutput("pkg1/SubClass.html", true,
    55                 "<span class=\"descfrmTypeLabel\">Description copied from class:&nbsp;<code>"
    55                 "<span class=\"descfrmTypeLabel\">Description copied from class:&nbsp;<code>"
    56                 + "<a href=\"../pkg1/BaseClass.html#overridenMethodWithDocsToCopy--\">"
    56                 + "<a href=\"BaseClass.html#overridenMethodWithDocsToCopy--\">"
    57                 + "BaseClass</a></code></span>");
    57                 + "BaseClass</a></code></span>");
    58     }
    58     }
    59 }
    59 }