--- a/test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java Tue Jan 29 15:19:43 2019 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java Wed Jan 30 16:39:26 2019 +0530
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -158,49 +158,6 @@
}
@Test
- public void test_html4() {
- javadoc("-d", "out-html4",
- "-html4",
- "-sourcepath", testSrc,
- "pkg");
- checkExit(Exit.OK);
-
- checkOutput("pkg/Child.html", true,
- //Make sure "Specified By" has substituted type parameters.
- "<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n"
- + "<dd><code><a href=\"Interface.html#method--\">method</a>"
- + "</code> in interface <code>"
- + "<a href=\"Interface.html\" title=\"interface in pkg\">"
- + "Interface</a><<a href=\"Child.html\" title=\"type parameter in Child\">"
- + "CE</a>></code></dd>",
- //Make sure "Overrides" has substituted type parameters.
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n"
- + "<dd><code><a href=\"Parent.html#method--\">method</a>"
- + "</code> in class <code><a href=\"Parent.html\" "
- + "title=\"class in pkg\">Parent</a><<a href=\"Child.html\" "
- + "title=\"type parameter in Child\">CE</a>></code></dd>");
-
- checkOutput("pkg/ClassWithStaticMembers.html", true,
- "<td class=\"colFirst\"><code>static void</code></td>\n"
- + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\">"
- + "<a href=\"#m--\">m</a></span>()</code></th>\n"
- + "<td class=\"colLast\">\n"
- + "<div class=\"block\">A hider method</div>\n"
- + "</td>\n",
-
- "<h4>staticMethod</h4>\n"
- + "<pre class=\"methodSignature\">public static void staticMethod()</pre>\n"
- + "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
- + "Description copied from interface: <code>"
- + "<a href=\"InterfaceWithStaticMembers.html#staticMethod--\">"
- + "InterfaceWithStaticMembers</a></code></span></div>\n"
- + "<div class=\"block\">A static method</div>\n");
-
- checkOutput("pkg/Interface.html", false,
- "public int method()");
- }
-
- @Test
public void test1() {
javadoc("-d", "out-1",
"-sourcepath", testSrc,
@@ -217,23 +174,6 @@
}
@Test
- public void test1_html4() {
- javadoc("-d", "out-1-html4",
- "-html4",
- "-sourcepath", testSrc,
- "pkg1");
- checkExit(Exit.OK);
-
- checkOutput("pkg1/Child.html", true,
- // Ensure the correct Overrides in the inheritance hierarchy is reported
- "<span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
- "<dd><code><a href=\"GrandParent.html#method1--\">method1</a></code>" +
- " in class " +
- "<code><a href=\"GrandParent.html\" title=\"class in pkg1\">GrandParent</a>" +
- "<<a href=\"Child.html\" title=\"type parameter in Child\">CE</a>></code>");
- }
-
- @Test
public void test2() {
javadoc("-d", "out-2",
"-sourcepath", testSrc,