< prev index next >
test/langtools/jdk/javadoc/doclet/testIndexTaglet/TestIndexTaglet.java
Print this page
@@ -74,12 +74,12 @@
checkExit(Exit.OK);
checkOrder("pkg/A.html",
"<h2>Method Details</h2>\n",
- "<div class=\"block\">test description with <a id=\"search_phrase_a\" "
- + "class=\"searchTagResult\">search_phrase_a</a></div>");
+ "<div class=\"block\">test description with <span id=\"search_phrase_a\" "
+ + "class=\"searchTagResult\">search_phrase_a</span></div>");
checkOrder("pkg/A.html",
"<h2>Method Summary</h2>\n",
"<div class=\"block\">test description with search_phrase_a</div>");
}
@@ -122,9 +122,9 @@
"pkg");
checkExit(Exit.OK);
checkOutput("pkg/A.html", true,
- "This is a class. Here is <a id=\"foo\" class=\"searchTagResult\">foo</a>.",
- "This is a method. Here is <a id=\"foo-1\" class=\"searchTagResult\">foo</a>.");
+ "This is a class. Here is <span id=\"foo\" class=\"searchTagResult\">foo</span>.",
+ "This is a method. Here is <span id=\"foo-1\" class=\"searchTagResult\">foo</span>.");
}
}
< prev index next >