test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java
changeset 55339 0530705ca300
parent 55197 0ca8e495bbba
child 58679 9c3209ff7550
equal deleted inserted replaced
55338:755e82641224 55339:0530705ca300
   122                 //Make sure "Specified By" does not appear on class documentation when
   122                 //Make sure "Specified By" does not appear on class documentation when
   123                 //the method is a static method in the interface.
   123                 //the method is a static method in the interface.
   124                 "<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n");
   124                 "<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n");
   125 
   125 
   126         checkOutput("pkg/ClassWithStaticMembers.html", true,
   126         checkOutput("pkg/ClassWithStaticMembers.html", true,
   127                 "<h3>f</h3>\n"
   127                 "<h3><a id=\"f\">f</a></h3>\n"
   128                 + "<a id=\"f\">\n"
       
   129                 + "<!--   -->\n"
       
   130                 + "</a>\n"
       
   131                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
   128                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
   132                 + "<span class=\"returnType\">int</span>&nbsp;<span class=\"memberName\">f</span></div>\n"
   129                 + "<span class=\"returnType\">int</span>&nbsp;<span class=\"memberName\">f</span></div>\n"
   133                 + "<div class=\"block\">A hider field</div>",
   130                 + "<div class=\"block\">A hider field</div>",
   134 
   131 
   135                 "<td class=\"colFirst\"><code>static void</code></td>\n"
   132                 "<td class=\"colFirst\"><code>static void</code></td>\n"
   137                 + "<a href=\"#m()\">m</a></span>()</code></th>\n"
   134                 + "<a href=\"#m()\">m</a></span>()</code></th>\n"
   138                 + "<td class=\"colLast\">\n"
   135                 + "<td class=\"colLast\">\n"
   139                 + "<div class=\"block\">A hider method</div>\n"
   136                 + "<div class=\"block\">A hider method</div>\n"
   140                 + "</td>\n",
   137                 + "</td>\n",
   141 
   138 
   142                 "<h3>staticMethod</h3>\n"
   139                 "<h3><a id=\"staticMethod()\">staticMethod</a></h3>\n"
   143                 + "<a id=\"staticMethod()\">\n"
       
   144                 + "<!--   -->\n"
       
   145                 + "</a>\n"
       
   146                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
   140                 + "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span>&nbsp;"
   147                 + "<span class=\"returnType\">void</span>&nbsp;<span class=\"memberName\">staticMethod</span>()</div>\n"
   141                 + "<span class=\"returnType\">void</span>&nbsp;<span class=\"memberName\">staticMethod</span>()</div>\n"
   148                 + "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
   142                 + "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
   149                 + "Description copied from interface:&nbsp;<code>"
   143                 + "Description copied from interface:&nbsp;<code>"
   150                 + "<a href=\"InterfaceWithStaticMembers.html#staticMethod()\">"
   144                 + "<a href=\"InterfaceWithStaticMembers.html#staticMethod()\">"