test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestBadOverride.java
changeset 53991 786825220790
parent 53883 f41793b5b83f
child 54596 86c1da00dd6a
equal deleted inserted replaced
53990:8c82412da698 53991:786825220790
     1 /*
     1 /*
     2  * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2017, 2019, 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                 "pkg4");
    51                 "pkg4");
    52         checkExit(Exit.OK);
    52         checkExit(Exit.OK);
    53 
    53 
    54         checkOutput("pkg4/Foo.html", true,
    54         checkOutput("pkg4/Foo.html", true,
    55                 "<li class=\"blockList\">\n"
    55                 "<li class=\"blockList\">\n"
    56                 + "<h4>toString</h4>\n"
    56                 + "<h3>toString</h3>\n"
    57                 + "<pre class=\"methodSignature\">public&nbsp;void&nbsp;toString()</pre>\n"
    57                 + "<pre class=\"methodSignature\">public&nbsp;void&nbsp;toString()</pre>\n"
    58                 + "<div class=\"block\">Why can't I do this ?</div>\n"
    58                 + "<div class=\"block\">Why can't I do this ?</div>\n"
    59                 + "</li>");
    59                 + "</li>");
    60     }
    60     }
    61 }
    61 }