8223364: Bad placement of anchor relative to header
Reviewed-by: jjg
This commit is contained in:
parent
62d7317f86
commit
0d8209a2b7
@ -33,6 +33,7 @@ import javax.lang.model.type.TypeMirror;
|
|||||||
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
||||||
|
import jdk.javadoc.internal.doclets.formats.html.markup.StringContent;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
||||||
import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeFieldWriter;
|
import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeFieldWriter;
|
||||||
@ -104,9 +105,9 @@ public class AnnotationTypeFieldWriterImpl extends AbstractMemberWriter
|
|||||||
if (!writer.printedAnnotationFieldHeading) {
|
if (!writer.printedAnnotationFieldHeading) {
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.fieldDetailsLabel);
|
contents.fieldDetailsLabel);
|
||||||
memberDetailsTree.add(heading);
|
|
||||||
memberDetailsTree.add(links.createAnchor(
|
memberDetailsTree.add(links.createAnchor(
|
||||||
SectionName.ANNOTATION_TYPE_FIELD_DETAIL));
|
SectionName.ANNOTATION_TYPE_FIELD_DETAIL));
|
||||||
|
memberDetailsTree.add(heading);
|
||||||
writer.printedAnnotationFieldHeading = true;
|
writer.printedAnnotationFieldHeading = true;
|
||||||
}
|
}
|
||||||
return memberDetailsTree;
|
return memberDetailsTree;
|
||||||
@ -119,9 +120,8 @@ public class AnnotationTypeFieldWriterImpl extends AbstractMemberWriter
|
|||||||
Content annotationDetailsTree) {
|
Content annotationDetailsTree) {
|
||||||
Content annotationDocTree = new ContentBuilder();
|
Content annotationDocTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(name(member));
|
heading.add(links.createAnchor(name(member), new StringContent(name(member))));
|
||||||
annotationDocTree.add(heading);
|
annotationDocTree.add(heading);
|
||||||
annotationDocTree.add(links.createAnchor(name(member)));
|
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, annotationDocTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, annotationDocTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ import javax.lang.model.type.TypeMirror;
|
|||||||
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
||||||
|
import jdk.javadoc.internal.doclets.formats.html.markup.StringContent;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
||||||
import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeRequiredMemberWriter;
|
import jdk.javadoc.internal.doclets.toolkit.AnnotationTypeRequiredMemberWriter;
|
||||||
@ -106,9 +107,9 @@ public class AnnotationTypeRequiredMemberWriterImpl extends AbstractMemberWriter
|
|||||||
if (!writer.printedAnnotationHeading) {
|
if (!writer.printedAnnotationHeading) {
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.annotationTypeDetailsLabel);
|
contents.annotationTypeDetailsLabel);
|
||||||
memberDetailsTree.add(heading);
|
|
||||||
memberDetailsTree.add(links.createAnchor(
|
memberDetailsTree.add(links.createAnchor(
|
||||||
SectionName.ANNOTATION_TYPE_ELEMENT_DETAIL));
|
SectionName.ANNOTATION_TYPE_ELEMENT_DETAIL));
|
||||||
|
memberDetailsTree.add(heading);
|
||||||
writer.printedAnnotationHeading = true;
|
writer.printedAnnotationHeading = true;
|
||||||
}
|
}
|
||||||
return memberDetailsTree;
|
return memberDetailsTree;
|
||||||
@ -122,10 +123,9 @@ public class AnnotationTypeRequiredMemberWriterImpl extends AbstractMemberWriter
|
|||||||
String simpleName = name(member);
|
String simpleName = name(member);
|
||||||
Content annotationDocTree = new ContentBuilder();
|
Content annotationDocTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(simpleName);
|
heading.add(links.createAnchor(
|
||||||
|
simpleName + utils.signature((ExecutableElement) member), new StringContent(simpleName)));
|
||||||
annotationDocTree.add(heading);
|
annotationDocTree.add(heading);
|
||||||
annotationDocTree.add(links.createAnchor(
|
|
||||||
simpleName + utils.signature((ExecutableElement) member)));
|
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, annotationDocTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, annotationDocTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ import jdk.javadoc.internal.doclets.formats.html.markup.Entity;
|
|||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
||||||
|
import jdk.javadoc.internal.doclets.formats.html.markup.StringContent;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
||||||
import jdk.javadoc.internal.doclets.toolkit.ConstructorWriter;
|
import jdk.javadoc.internal.doclets.toolkit.ConstructorWriter;
|
||||||
@ -122,9 +123,9 @@ public class ConstructorWriterImpl extends AbstractExecutableMemberWriter
|
|||||||
Content constructorDetailsTree = new ContentBuilder();
|
Content constructorDetailsTree = new ContentBuilder();
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.constructorDetailsLabel);
|
contents.constructorDetailsLabel);
|
||||||
constructorDetailsTree.add(heading);
|
|
||||||
constructorDetailsTree.add(links.createAnchor(
|
constructorDetailsTree.add(links.createAnchor(
|
||||||
SectionName.CONSTRUCTOR_DETAIL));
|
SectionName.CONSTRUCTOR_DETAIL));
|
||||||
|
constructorDetailsTree.add(heading);
|
||||||
return constructorDetailsTree;
|
return constructorDetailsTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -137,12 +138,11 @@ public class ConstructorWriterImpl extends AbstractExecutableMemberWriter
|
|||||||
String erasureAnchor;
|
String erasureAnchor;
|
||||||
Content constructorDocTree = new ContentBuilder();
|
Content constructorDocTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(name(constructor));
|
|
||||||
constructorDocTree.add(heading);
|
|
||||||
if ((erasureAnchor = getErasureAnchor(constructor)) != null) {
|
if ((erasureAnchor = getErasureAnchor(constructor)) != null) {
|
||||||
constructorDocTree.add(links.createAnchor((erasureAnchor)));
|
heading.add(links.createAnchor((erasureAnchor)));
|
||||||
}
|
}
|
||||||
constructorDocTree.add(links.createAnchor(writer.getAnchor(constructor)));
|
heading.add(links.createAnchor(writer.getAnchor(constructor), new StringContent(name(constructor))));
|
||||||
|
constructorDocTree.add(heading);
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, constructorDocTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, constructorDocTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ import javax.lang.model.element.VariableElement;
|
|||||||
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
import jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
import jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree;
|
||||||
|
import jdk.javadoc.internal.doclets.formats.html.markup.StringContent;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
import jdk.javadoc.internal.doclets.formats.html.markup.Table;
|
||||||
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
import jdk.javadoc.internal.doclets.formats.html.markup.TableHeader;
|
||||||
import jdk.javadoc.internal.doclets.toolkit.Content;
|
import jdk.javadoc.internal.doclets.toolkit.Content;
|
||||||
@ -91,9 +92,9 @@ public class EnumConstantWriterImpl extends AbstractMemberWriter
|
|||||||
Content enumConstantsDetailsTree = new ContentBuilder();
|
Content enumConstantsDetailsTree = new ContentBuilder();
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.enumConstantDetailLabel);
|
contents.enumConstantDetailLabel);
|
||||||
enumConstantsDetailsTree.add(heading);
|
|
||||||
enumConstantsDetailsTree.add(links.createAnchor(
|
enumConstantsDetailsTree.add(links.createAnchor(
|
||||||
SectionName.ENUM_CONSTANT_DETAIL));
|
SectionName.ENUM_CONSTANT_DETAIL));
|
||||||
|
enumConstantsDetailsTree.add(heading);
|
||||||
return enumConstantsDetailsTree;
|
return enumConstantsDetailsTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,9 +106,8 @@ public class EnumConstantWriterImpl extends AbstractMemberWriter
|
|||||||
Content enumConstantsDetailsTree) {
|
Content enumConstantsDetailsTree) {
|
||||||
Content enumConstantsTree = new ContentBuilder();
|
Content enumConstantsTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(name(enumConstant));
|
heading.add(links.createAnchor(name(enumConstant), new StringContent(name(enumConstant))));
|
||||||
enumConstantsTree.add(heading);
|
enumConstantsTree.add(heading);
|
||||||
enumConstantsTree.add(links.createAnchor(name(enumConstant)));
|
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, enumConstantsTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, enumConstantsTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,9 +96,9 @@ public class FieldWriterImpl extends AbstractMemberWriter
|
|||||||
Content fieldDetailsTree = new ContentBuilder();
|
Content fieldDetailsTree = new ContentBuilder();
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.fieldDetailsLabel);
|
contents.fieldDetailsLabel);
|
||||||
fieldDetailsTree.add(heading);
|
|
||||||
fieldDetailsTree.add(links.createAnchor(
|
fieldDetailsTree.add(links.createAnchor(
|
||||||
SectionName.FIELD_DETAIL));
|
SectionName.FIELD_DETAIL));
|
||||||
|
fieldDetailsTree.add(heading);
|
||||||
return fieldDetailsTree;
|
return fieldDetailsTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,9 +109,8 @@ public class FieldWriterImpl extends AbstractMemberWriter
|
|||||||
public Content getFieldDocTreeHeader(VariableElement field, Content fieldDetailsTree) {
|
public Content getFieldDocTreeHeader(VariableElement field, Content fieldDetailsTree) {
|
||||||
Content fieldTree = new ContentBuilder();
|
Content fieldTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(name(field));
|
heading.add(links.createAnchor(name(field), new StringContent(name(field))));
|
||||||
fieldTree.add(heading);
|
fieldTree.add(heading);
|
||||||
fieldTree.add(links.createAnchor(name(field)));
|
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, fieldTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, fieldTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,8 +109,8 @@ public class MethodWriterImpl extends AbstractExecutableMemberWriter
|
|||||||
Content methodDetailsTree = new ContentBuilder();
|
Content methodDetailsTree = new ContentBuilder();
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.methodDetailLabel);
|
contents.methodDetailLabel);
|
||||||
methodDetailsTree.add(heading);
|
|
||||||
methodDetailsTree.add(links.createAnchor(SectionName.METHOD_DETAIL));
|
methodDetailsTree.add(links.createAnchor(SectionName.METHOD_DETAIL));
|
||||||
|
methodDetailsTree.add(heading);
|
||||||
return methodDetailsTree;
|
return methodDetailsTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,12 +122,11 @@ public class MethodWriterImpl extends AbstractExecutableMemberWriter
|
|||||||
String erasureAnchor;
|
String erasureAnchor;
|
||||||
Content methodDocTree = new ContentBuilder();
|
Content methodDocTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(name(method));
|
|
||||||
methodDocTree.add(heading);
|
|
||||||
if ((erasureAnchor = getErasureAnchor(method)) != null) {
|
if ((erasureAnchor = getErasureAnchor(method)) != null) {
|
||||||
methodDocTree.add(links.createAnchor((erasureAnchor)));
|
heading.add(links.createAnchor((erasureAnchor)));
|
||||||
}
|
}
|
||||||
methodDocTree.add(links.createAnchor(writer.getAnchor(method)));
|
heading.add(links.createAnchor(writer.getAnchor(method), new StringContent(name(method))));
|
||||||
|
methodDocTree.add(heading);
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, methodDocTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, methodDocTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,8 +89,8 @@ public class PropertyWriterImpl extends AbstractMemberWriter
|
|||||||
Content propertyDetailsTree = new ContentBuilder();
|
Content propertyDetailsTree = new ContentBuilder();
|
||||||
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
Content heading = HtmlTree.HEADING(Headings.TypeDeclaration.DETAILS_HEADING,
|
||||||
contents.propertyDetailsLabel);
|
contents.propertyDetailsLabel);
|
||||||
propertyDetailsTree.add(heading);
|
|
||||||
propertyDetailsTree.add(links.createAnchor(SectionName.PROPERTY_DETAIL));
|
propertyDetailsTree.add(links.createAnchor(SectionName.PROPERTY_DETAIL));
|
||||||
|
propertyDetailsTree.add(heading);
|
||||||
return propertyDetailsTree;
|
return propertyDetailsTree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,9 +102,9 @@ public class PropertyWriterImpl extends AbstractMemberWriter
|
|||||||
Content propertyDetailsTree) {
|
Content propertyDetailsTree) {
|
||||||
Content propertyDocTree = new ContentBuilder();
|
Content propertyDocTree = new ContentBuilder();
|
||||||
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
Content heading = new HtmlTree(Headings.TypeDeclaration.MEMBER_HEADING);
|
||||||
heading.add(utils.getPropertyLabel(name(property)));
|
heading.add(links.createAnchor(name(property),
|
||||||
|
new StringContent(utils.getPropertyLabel(name(property)))));
|
||||||
propertyDocTree.add(heading);
|
propertyDocTree.add(heading);
|
||||||
propertyDocTree.add(links.createAnchor(name(property)));
|
|
||||||
return HtmlTree.SECTION(HtmlStyle.detail, propertyDocTree);
|
return HtmlTree.SECTION(HtmlStyle.detail, propertyDocTree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ public class Links {
|
|||||||
* @return a content tree for the marker anchor
|
* @return a content tree for the marker anchor
|
||||||
*/
|
*/
|
||||||
public Content createAnchor(String name, Content content) {
|
public Content createAnchor(String name, Content content) {
|
||||||
return HtmlTree.A_ID(name, (content == null ? EMPTY_COMMENT : content));
|
return HtmlTree.A_ID(getName(name), (content == null ? EMPTY_COMMENT : content));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Content EMPTY_COMMENT = new Comment(" ");
|
private static final Content EMPTY_COMMENT = new Comment(" ");
|
||||||
|
@ -574,8 +574,7 @@ td.colLast a {
|
|||||||
div.memberSignature {
|
div.memberSignature {
|
||||||
font-family:'DejaVu Sans Mono', monospace;
|
font-family:'DejaVu Sans Mono', monospace;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
margin-top:6px;
|
margin:14px 0;
|
||||||
margin-bottom:14px;
|
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
div.memberSignature span.annotations {
|
div.memberSignature span.annotations {
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 4973609 8015249 8025633 8026567 6469561 8071982 8162363 8182765
|
* @bug 4973609 8015249 8025633 8026567 6469561 8071982 8162363 8182765 8223364
|
||||||
* @summary Make sure that annotation types with 0 members does not have
|
* @summary Make sure that annotation types with 0 members does not have
|
||||||
* extra HR tags.
|
* extra HR tags.
|
||||||
* @author jamieh
|
* @author jamieh
|
||||||
@ -61,10 +61,7 @@ public class TestAnnotationTypes extends JavadocTester {
|
|||||||
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"#DEFAULT_NAME\">DEFAULT_NAME</a></span>"
|
"<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"#DEFAULT_NAME\">DEFAULT_NAME</a></span>"
|
||||||
+ "</code></th>",
|
+ "</code></th>",
|
||||||
"<!-- ============ ANNOTATION TYPE FIELD DETAIL =========== -->",
|
"<!-- ============ ANNOTATION TYPE FIELD DETAIL =========== -->",
|
||||||
"<h3>DEFAULT_NAME</h3>\n"
|
"<h3><a id=\"DEFAULT_NAME\">DEFAULT_NAME</a></h3>\n"
|
||||||
+ "<a id=\"DEFAULT_NAME\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">static final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">static final</span> "
|
||||||
+ "<span class=\"returnType\">java.lang.String</span> "
|
+ "<span class=\"returnType\">java.lang.String</span> "
|
||||||
+ "<span class=\"memberName\">DEFAULT_NAME</span></div>\n");
|
+ "<span class=\"memberName\">DEFAULT_NAME</span></div>\n");
|
||||||
@ -87,10 +84,7 @@ public class TestAnnotationTypes extends JavadocTester {
|
|||||||
"<ul class=\"blockList\">",
|
"<ul class=\"blockList\">",
|
||||||
"<li class=\"blockList\">",
|
"<li class=\"blockList\">",
|
||||||
"<section class=\"detail\">",
|
"<section class=\"detail\">",
|
||||||
"<h3>value</h3>",
|
"<h3><a id=\"value()\">value</a></h3>",
|
||||||
"<a id=\"value()\">",
|
|
||||||
"<!-- -->",
|
|
||||||
"</a>",
|
|
||||||
"<div class=\"memberSignature\"><span class=\"returnType\">int</span>"
|
"<div class=\"memberSignature\"><span class=\"returnType\">int</span>"
|
||||||
+ " <span class=\"memberName\">value</span></div>");
|
+ " <span class=\"memberName\">value</span></div>");
|
||||||
|
|
||||||
|
@ -57,13 +57,9 @@ public class TestHref extends JavadocTester {
|
|||||||
//Member summary table link.
|
//Member summary table link.
|
||||||
"href=\"#method(int,int,java.util.ArrayList)\"",
|
"href=\"#method(int,int,java.util.ArrayList)\"",
|
||||||
//Anchor test.
|
//Anchor test.
|
||||||
"<a id=\"method(int,int,java.util.ArrayList)\">\n"
|
"<a id=\"method(int,int,java.util.ArrayList)\">",
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>",
|
|
||||||
//Backward compatibility anchor test."pkg/C1.html",
|
//Backward compatibility anchor test."pkg/C1.html",
|
||||||
"<a id=\"method(int,int,java.util.ArrayList)\">\n"
|
"<a id=\"method(int,int,java.util.ArrayList)\">");
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>");
|
|
||||||
|
|
||||||
checkOutput("pkg/C2.html", true,
|
checkOutput("pkg/C2.html", true,
|
||||||
//{@link} test.
|
//{@link} test.
|
||||||
|
@ -323,21 +323,21 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n"
|
+ "</a>\n"
|
||||||
+ "<h2>Method Summary</h2>",
|
+ "<h2>Method Summary</h2>",
|
||||||
"<section class=\"fieldDetails\">\n"
|
"<section class=\"fieldDetails\">"
|
||||||
+ "<h2>Field Details</h2>\n"
|
|
||||||
+ "<a id=\"field.detail\">\n"
|
+ "<a id=\"field.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>",
|
+ "</a>\n"
|
||||||
"<section class=\"constructorDetails\">\n"
|
+ "<h2>Field Details</h2>\n",
|
||||||
+ "<h2>Constructor Details</h2>\n"
|
"<section class=\"constructorDetails\">"
|
||||||
+ "<a id=\"constructor.detail\">\n"
|
+ "<a id=\"constructor.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>",
|
+ "</a>\n"
|
||||||
"<section class=\"methodDetails\">\n"
|
+ "<h2>Constructor Details</h2>\n",
|
||||||
+ "<h2>Method Details</h2>\n"
|
"<section class=\"methodDetails\">"
|
||||||
+ "<a id=\"method.detail\">\n"
|
+ "<a id=\"method.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Method Details</h2>\n",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
@ -367,16 +367,16 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "<h2>Method Summary</h2>\n"
|
+ "<h2>Method Summary</h2>\n"
|
||||||
+ "<div class=\"memberSummary\">\n",
|
+ "<div class=\"memberSummary\">\n",
|
||||||
"<table aria-labelledby=\"t0\">",
|
"<table aria-labelledby=\"t0\">",
|
||||||
"<section class=\"constantDetails\">\n"
|
"<section class=\"constantDetails\">"
|
||||||
+ "<h2>Enum Constant Details</h2>\n"
|
|
||||||
+ "<a id=\"enum.constant.detail\">\n"
|
+ "<a id=\"enum.constant.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
"<section class=\"methodDetails\">\n"
|
+ "<h2>Enum Constant Details</h2>\n",
|
||||||
+ "<h2>Method Details</h2>\n"
|
"<section class=\"methodDetails\">"
|
||||||
+ "<a id=\"method.detail\">\n"
|
+ "<a id=\"method.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Method Details</h2>\n",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
@ -400,11 +400,11 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "<h2>Method Summary</h2>\n"
|
+ "<h2>Method Summary</h2>\n"
|
||||||
+ "<div class=\"memberSummary\">\n",
|
+ "<div class=\"memberSummary\">\n",
|
||||||
"<table aria-labelledby=\"t0\">\n",
|
"<table aria-labelledby=\"t0\">\n",
|
||||||
"<section class=\"methodDetails\">\n"
|
"<section class=\"methodDetails\">"
|
||||||
+ "<h2>Method Details</h2>\n"
|
|
||||||
+ "<a id=\"method.detail\">\n"
|
+ "<a id=\"method.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Method Details</h2>\n",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
@ -426,11 +426,11 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n"
|
+ "</a>\n"
|
||||||
+ "<h2>Constructor Summary</h2>",
|
+ "<h2>Constructor Summary</h2>",
|
||||||
"<section class=\"constructorDetails\">\n"
|
"<section class=\"constructorDetails\">"
|
||||||
+ "<h2>Constructor Details</h2>\n"
|
|
||||||
+ "<a id=\"constructor.detail\">\n"
|
+ "<a id=\"constructor.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Constructor Details</h2>\n",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
@ -452,11 +452,11 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n"
|
+ "</a>\n"
|
||||||
+ "<h2>Constructor Summary</h2>",
|
+ "<h2>Constructor Summary</h2>",
|
||||||
"<section class=\"constructorDetails\">\n"
|
"<section class=\"constructorDetails\">"
|
||||||
+ "<h2>Constructor Details</h2>\n"
|
|
||||||
+ "<a id=\"constructor.detail\">\n"
|
+ "<a id=\"constructor.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Constructor Details</h2>\n",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
@ -484,11 +484,11 @@ public class TestHtmlVersion extends JavadocTester {
|
|||||||
+ "</a>\n"
|
+ "</a>\n"
|
||||||
+ "<h2>Optional Element Summary</h2>\n"
|
+ "<h2>Optional Element Summary</h2>\n"
|
||||||
+ "<div class=\"memberSummary\">\n<table>",
|
+ "<div class=\"memberSummary\">\n<table>",
|
||||||
"<section class=\"memberDetails\">\n"
|
"<section class=\"memberDetails\">"
|
||||||
+ "<h2>Element Details</h2>\n"
|
|
||||||
+ "<a id=\"annotation.type.element.detail\">\n"
|
+ "<a id=\"annotation.type.element.detail\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n",
|
+ "</a>\n"
|
||||||
|
+ "<h2>Element Details</h2>",
|
||||||
"<footer role=\"contentinfo\">\n"
|
"<footer role=\"contentinfo\">\n"
|
||||||
+ "<nav role=\"navigation\">\n"
|
+ "<nav role=\"navigation\">\n"
|
||||||
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
||||||
|
@ -124,10 +124,7 @@ public class TestInterface extends JavadocTester {
|
|||||||
"<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n");
|
"<dt><span class=\"overrideSpecifyLabel\">Specified by:</span></dt>\n");
|
||||||
|
|
||||||
checkOutput("pkg/ClassWithStaticMembers.html", true,
|
checkOutput("pkg/ClassWithStaticMembers.html", true,
|
||||||
"<h3>f</h3>\n"
|
"<h3><a id=\"f\">f</a></h3>\n"
|
||||||
+ "<a id=\"f\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
|
||||||
+ "<span class=\"returnType\">int</span> <span class=\"memberName\">f</span></div>\n"
|
+ "<span class=\"returnType\">int</span> <span class=\"memberName\">f</span></div>\n"
|
||||||
+ "<div class=\"block\">A hider field</div>",
|
+ "<div class=\"block\">A hider field</div>",
|
||||||
@ -139,10 +136,7 @@ public class TestInterface extends JavadocTester {
|
|||||||
+ "<div class=\"block\">A hider method</div>\n"
|
+ "<div class=\"block\">A hider method</div>\n"
|
||||||
+ "</td>\n",
|
+ "</td>\n",
|
||||||
|
|
||||||
"<h3>staticMethod</h3>\n"
|
"<h3><a id=\"staticMethod()\">staticMethod</a></h3>\n"
|
||||||
+ "<a id=\"staticMethod()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public static</span> "
|
||||||
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">staticMethod</span>()</div>\n"
|
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">staticMethod</span>()</div>\n"
|
||||||
+ "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
|
+ "<div class=\"block\"><span class=\"descfrmTypeLabel\">"
|
||||||
|
@ -89,25 +89,16 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "<a href=\"#pausedProperty\">paused</a></span></code></th>\n"
|
+ "<a href=\"#pausedProperty\">paused</a></span></code></th>\n"
|
||||||
+ "<td class=\"colLast\">\n"
|
+ "<td class=\"colLast\">\n"
|
||||||
+ "<div class=\"block\">Defines if paused.</div>",
|
+ "<div class=\"block\">Defines if paused.</div>",
|
||||||
"<h3>paused</h3>\n"
|
"<h3><a id=\"pausedProperty\">paused</a></h3>\n"
|
||||||
+ "<a id=\"pausedProperty\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\"><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">"
|
+ "<span class=\"returnType\"><a href=\"C.BooleanProperty.html\" title=\"class in pkg1\">"
|
||||||
+ "C.BooleanProperty</a></span> <span class=\"memberName\">pausedProperty</span></div>\n"
|
+ "C.BooleanProperty</a></span> <span class=\"memberName\">pausedProperty</span></div>\n"
|
||||||
+ "<div class=\"block\">Defines if paused. The second line.</div>",
|
+ "<div class=\"block\">Defines if paused. The second line.</div>",
|
||||||
"<h3>isPaused</h3>\n"
|
"<h3><a id=\"isPaused()\">isPaused</a></h3>\n"
|
||||||
+ "<a id=\"isPaused()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">isPaused</span>()</div>\n"
|
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">isPaused</span>()</div>\n"
|
||||||
+ "<div class=\"block\">Gets the value of the property paused.</div>",
|
+ "<div class=\"block\">Gets the value of the property paused.</div>",
|
||||||
"<h3>setPaused</h3>\n"
|
"<h3><a id=\"setPaused(boolean)\">setPaused</a></h3>\n"
|
||||||
+ "<a id=\"setPaused(boolean)\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">setPaused</span>​"
|
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">setPaused</span>​"
|
||||||
+ "(<span class=\"arguments\">boolean value)</span></div>\n"
|
+ "(<span class=\"arguments\">boolean value)</span></div>\n"
|
||||||
@ -117,10 +108,7 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "<dd>Defines if paused. The second line.</dd>\n"
|
+ "<dd>Defines if paused. The second line.</dd>\n"
|
||||||
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
|
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
|
||||||
+ "<dd>false</dd>",
|
+ "<dd>false</dd>",
|
||||||
"<h3>isPaused</h3>\n"
|
"<h3><a id=\"isPaused()\">isPaused</a></h3>\n"
|
||||||
+ "<a id=\"isPaused()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">isPaused</span>()</div>\n"
|
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">isPaused</span>()</div>\n"
|
||||||
+ "<div class=\"block\">Gets the value of the property paused.</div>\n"
|
+ "<div class=\"block\">Gets the value of the property paused.</div>\n"
|
||||||
@ -129,20 +117,14 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "<dd>Defines if paused. The second line.</dd>\n"
|
+ "<dd>Defines if paused. The second line.</dd>\n"
|
||||||
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
|
+ "<dt><span class=\"simpleTagLabel\">Default value:</span></dt>\n"
|
||||||
+ "<dd>false</dd>",
|
+ "<dd>false</dd>",
|
||||||
"<h3>rate</h3>\n"
|
"<h3><a id=\"rateProperty\">rate</a></h3>\n"
|
||||||
+ "<a id=\"rateProperty\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\"><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">"
|
+ "<span class=\"returnType\"><a href=\"C.DoubleProperty.html\" title=\"class in pkg1\">"
|
||||||
+ "C.DoubleProperty</a></span> <span class=\"memberName\">rateProperty</span></div>\n"
|
+ "C.DoubleProperty</a></span> <span class=\"memberName\">rateProperty</span></div>\n"
|
||||||
+ "<div class=\"block\">Defines the direction/speed at which the "
|
+ "<div class=\"block\">Defines the direction/speed at which the "
|
||||||
+ "<code>Timeline</code> is expected to\n"
|
+ "<code>Timeline</code> is expected to\n"
|
||||||
+ " be played. This is the second line.</div>",
|
+ " be played. This is the second line.</div>",
|
||||||
"<h3>setRate</h3>\n"
|
"<h3><a id=\"setRate(double)\">setRate</a></h3>\n"
|
||||||
+ "<a id=\"setRate(double)\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">setRate</span>​"
|
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">setRate</span>​"
|
||||||
+ "(<span class=\"arguments\">double value)</span></div>\n"
|
+ "(<span class=\"arguments\">double value)</span></div>\n"
|
||||||
@ -155,10 +137,7 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "<dd>11</dd>\n"
|
+ "<dd>11</dd>\n"
|
||||||
+ "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
|
+ "<dt><span class=\"simpleTagLabel\">Since:</span></dt>\n"
|
||||||
+ "<dd>JavaFX 8.0</dd>",
|
+ "<dd>JavaFX 8.0</dd>",
|
||||||
"<h3>getRate</h3>\n"
|
"<h3><a id=\"getRate()\">getRate</a></h3>\n"
|
||||||
+ "<a id=\"getRate()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">getRate</span>()</div>\n"
|
+ "<span class=\"returnType\">double</span> <span class=\"memberName\">getRate</span>()</div>\n"
|
||||||
+ "<div class=\"block\">Gets the value of the property rate.</div>\n"
|
+ "<div class=\"block\">Gets the value of the property rate.</div>\n"
|
||||||
@ -225,17 +204,14 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
"pkg2");
|
"pkg2");
|
||||||
checkExit(Exit.OK);
|
checkExit(Exit.OK);
|
||||||
checkOutput("pkg2/Test.html", true,
|
checkOutput("pkg2/Test.html", true,
|
||||||
"<h2>Property Details</h2>\n"
|
"<a id=\"property.detail\">\n"
|
||||||
+ "<a id=\"property.detail\">\n"
|
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a>\n"
|
+ "</a>\n"
|
||||||
|
+ "<h2>Property Details</h2>\n"
|
||||||
+ "<ul class=\"blockList\">\n"
|
+ "<ul class=\"blockList\">\n"
|
||||||
+ "<li class=\"blockList\">\n"
|
+ "<li class=\"blockList\">\n"
|
||||||
+ "<section class=\"detail\">\n"
|
+ "<section class=\"detail\">\n"
|
||||||
+ "<h3>beta</h3>\n"
|
+ "<h3><a id=\"betaProperty\">beta</a></h3>\n"
|
||||||
+ "<a id=\"betaProperty\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
||||||
+ "<span class=\"returnType\">java.lang.Object</span>"
|
+ "<span class=\"returnType\">java.lang.Object</span>"
|
||||||
+ " <span class=\"memberName\">betaProperty</span></div>\n"
|
+ " <span class=\"memberName\">betaProperty</span></div>\n"
|
||||||
@ -243,10 +219,7 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "</li>\n"
|
+ "</li>\n"
|
||||||
+ "<li class=\"blockList\">\n"
|
+ "<li class=\"blockList\">\n"
|
||||||
+ "<section class=\"detail\">\n"
|
+ "<section class=\"detail\">\n"
|
||||||
+ "<h3>gamma</h3>\n"
|
+ "<h3><a id=\"gammaProperty\">gamma</a></h3>\n"
|
||||||
+ "<a id=\"gammaProperty\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">java.util.List<java.lang.String></span>"
|
+ "<span class=\"returnType\">java.util.List<java.lang.String></span>"
|
||||||
+ " <span class=\"memberName\">gammaProperty</span></div>\n"
|
+ " <span class=\"memberName\">gammaProperty</span></div>\n"
|
||||||
@ -254,10 +227,7 @@ public class TestJavaFX extends JavadocTester {
|
|||||||
+ "</li>\n"
|
+ "</li>\n"
|
||||||
+ "<li class=\"blockList\">\n"
|
+ "<li class=\"blockList\">\n"
|
||||||
+ "<section class=\"detail\">\n"
|
+ "<section class=\"detail\">\n"
|
||||||
+ "<h3>delta</h3>\n"
|
+ "<h3><a id=\"deltaProperty\">delta</a></h3>\n"
|
||||||
+ "<a id=\"deltaProperty\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public final</span> "
|
||||||
+ "<span class=\"returnType\">java.util.List<java.util.Set<? super java.lang.Object>>"
|
+ "<span class=\"returnType\">java.util.List<java.util.Set<? super java.lang.Object>>"
|
||||||
+ "</span> <span class=\"memberName\">deltaProperty</span></div>\n"
|
+ "</span> <span class=\"memberName\">deltaProperty</span></div>\n"
|
||||||
|
@ -73,8 +73,6 @@ public class TestMemberSummary extends JavadocTester {
|
|||||||
checkOutput("pkg2/A.html", true,
|
checkOutput("pkg2/A.html", true,
|
||||||
"<a id=\"f(java.lang.Object[])\">\n"
|
"<a id=\"f(java.lang.Object[])\">\n"
|
||||||
+ "<!-- -->\n"
|
+ "<!-- -->\n"
|
||||||
+ "</a><a id=\"f(T[])\">\n"
|
+ "</a><a id=\"f(T[])\">f</a>");
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -193,17 +193,11 @@ public class TestOptions extends JavadocTester {
|
|||||||
"<pre>@Documented\npublic @interface <a href="
|
"<pre>@Documented\npublic @interface <a href="
|
||||||
+ "\"../src-html/linksource/AnnotationTypeField.html#line.31\">"
|
+ "\"../src-html/linksource/AnnotationTypeField.html#line.31\">"
|
||||||
+ "AnnotationTypeField</a></pre>",
|
+ "AnnotationTypeField</a></pre>",
|
||||||
"<h3>DEFAULT_NAME</h3>\n"
|
"<h3><a id=\"DEFAULT_NAME\">DEFAULT_NAME</a></h3>\n"
|
||||||
+ "<a id=\"DEFAULT_NAME\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">static final</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">static final</span> "
|
||||||
+ "<span class=\"returnType\">java.lang.String</span> <span class=\"memberName\">"
|
+ "<span class=\"returnType\">java.lang.String</span> <span class=\"memberName\">"
|
||||||
+ "<a href=\"../src-html/linksource/AnnotationTypeField.html#line.32\">DEFAULT_NAME</a></span></div>",
|
+ "<a href=\"../src-html/linksource/AnnotationTypeField.html#line.32\">DEFAULT_NAME</a></span></div>",
|
||||||
"<h3>name</h3>\n"
|
"<h3><a id=\"name()\">name</a></h3>\n"
|
||||||
+ "<a id=\"name()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"returnType\">java.lang.String</span> "
|
+ "<div class=\"memberSignature\"><span class=\"returnType\">java.lang.String</span> "
|
||||||
+ "<span class=\"memberName\"><a href=\"../src-html/linksource/AnnotationTypeField.html#line.34\">"
|
+ "<span class=\"memberName\"><a href=\"../src-html/linksource/AnnotationTypeField.html#line.34\">"
|
||||||
+ "name</a></span></div>");
|
+ "name</a></span></div>");
|
||||||
|
@ -532,10 +532,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#three()\">three</a>",
|
"<a href=\"#three()\">three</a>",
|
||||||
"<a href=\"#two()\">two</a>",
|
"<a href=\"#two()\">two</a>",
|
||||||
"<h2>Element Details</h2>",
|
"<h2>Element Details</h2>",
|
||||||
"<h3>one</h3>",
|
"<h3><a id=\"one()\">one</a></h3>",
|
||||||
"<h3>two</h3>",
|
"<h3><a id=\"two()\">two</a></h3>",
|
||||||
"<h3>three</h3>",
|
"<h3><a id=\"three()\">three</a></h3>",
|
||||||
"<h3>four</h3>");
|
"<h3><a id=\"four()\">four</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/AnnoRequiredTest.html",
|
checkOrder("pkg5/AnnoRequiredTest.html",
|
||||||
"<h2>Required Element Summary</h2>",
|
"<h2>Required Element Summary</h2>",
|
||||||
@ -544,10 +544,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#three()\">three</a>",
|
"<a href=\"#three()\">three</a>",
|
||||||
"<a href=\"#two()\">two</a>",
|
"<a href=\"#two()\">two</a>",
|
||||||
"<h2>Element Details</h2>",
|
"<h2>Element Details</h2>",
|
||||||
"<h3>one</h3>",
|
"<h3><a id=\"one()\">one</a></h3>",
|
||||||
"<h3>two</h3>",
|
"<h3><a id=\"two()\">two</a></h3>",
|
||||||
"<h3>three</h3>",
|
"<h3><a id=\"three()\">three</a></h3>",
|
||||||
"<h3>four</h3>");
|
"<h3><a id=\"four()\">four</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/CtorTest.html",
|
checkOrder("pkg5/CtorTest.html",
|
||||||
"<h2>Constructor Summary</h2>",
|
"<h2>Constructor Summary</h2>",
|
||||||
@ -568,10 +568,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#THREE\">THREE</a>",
|
"<a href=\"#THREE\">THREE</a>",
|
||||||
"<a href=\"#TWO\">TWO</a>",
|
"<a href=\"#TWO\">TWO</a>",
|
||||||
"<h2>Enum Constant Details</h2>",
|
"<h2>Enum Constant Details</h2>",
|
||||||
"<h3>ONE</h3>",
|
"<h3><a id=\"ONE\">ONE</a></h3>",
|
||||||
"<h3>TWO</h3>",
|
"<h3><a id=\"TWO\">TWO</a></h3>",
|
||||||
"<h3>THREE</h3>",
|
"<h3><a id=\"THREE\">THREE</a></h3>",
|
||||||
"<h3>FOUR</h3>");
|
"<h3><a id=\"FOUR\">FOUR</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/FieldTest.html",
|
checkOrder("pkg5/FieldTest.html",
|
||||||
"<h2>Field Summary</h2>",
|
"<h2>Field Summary</h2>",
|
||||||
@ -580,10 +580,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#three\">three</a>",
|
"<a href=\"#three\">three</a>",
|
||||||
"<a href=\"#two\">two</a>",
|
"<a href=\"#two\">two</a>",
|
||||||
"<h2>Field Details</h2>",
|
"<h2>Field Details</h2>",
|
||||||
"<h3>one</h3>",
|
"<h3><a id=\"one\">one</a></h3>",
|
||||||
"<h3>two</h3>",
|
"<h3><a id=\"two\">two</a></h3>",
|
||||||
"<h3>three</h3>",
|
"<h3><a id=\"three\">three</a></h3>",
|
||||||
"<h3>four</h3>");
|
"<h3><a id=\"four\">four</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/IntfTest.html",
|
checkOrder("pkg5/IntfTest.html",
|
||||||
"<h2>Method Summary</h2>",
|
"<h2>Method Summary</h2>",
|
||||||
@ -592,10 +592,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#three()\">three</a>",
|
"<a href=\"#three()\">three</a>",
|
||||||
"<a href=\"#two()\">two</a>",
|
"<a href=\"#two()\">two</a>",
|
||||||
"<h2>Method Details</h2>",
|
"<h2>Method Details</h2>",
|
||||||
"<h3>one</h3>",
|
"<h3><a id=\"one()\">one</a></h3>",
|
||||||
"<h3>two</h3>",
|
"<h3><a id=\"two()\">two</a></h3>",
|
||||||
"<h3>three</h3>",
|
"<h3><a id=\"three()\">three</a></h3>",
|
||||||
"<h3>four</h3>");
|
"<h3><a id=\"four()\">four</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/MethodTest.html",
|
checkOrder("pkg5/MethodTest.html",
|
||||||
"<h2>Method Summary</h2>",
|
"<h2>Method Summary</h2>",
|
||||||
@ -604,10 +604,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#three()\">three</a>",
|
"<a href=\"#three()\">three</a>",
|
||||||
"<a href=\"#two()\">two</a>",
|
"<a href=\"#two()\">two</a>",
|
||||||
"<h2>Method Details</h2>",
|
"<h2>Method Details</h2>",
|
||||||
"<h3>one</h3>",
|
"<h3><a id=\"one()\">one</a></h3>",
|
||||||
"<h3>two</h3>",
|
"<h3><a id=\"two()\">two</a></h3>",
|
||||||
"<h3>three</h3>",
|
"<h3><a id=\"three()\">three</a></h3>",
|
||||||
"<h3>four</h3>");
|
"<h3><a id=\"four()\">four</a></h3>");
|
||||||
|
|
||||||
checkOrder("pkg5/PropertyTest.html",
|
checkOrder("pkg5/PropertyTest.html",
|
||||||
"<h2>Property Summary</h2>",
|
"<h2>Property Summary</h2>",
|
||||||
@ -616,10 +616,10 @@ public class TestOrdering extends JavadocTester {
|
|||||||
"<a href=\"#threeProperty\">three</a>",
|
"<a href=\"#threeProperty\">three</a>",
|
||||||
"<a href=\"#twoProperty\">two</a>",
|
"<a href=\"#twoProperty\">two</a>",
|
||||||
"<h2>Property Details</h2>",
|
"<h2>Property Details</h2>",
|
||||||
"<h3>oneProperty</h3>",
|
"<h3><a id=\"oneProperty()\">oneProperty</a></h3>",
|
||||||
"<h3>twoProperty</h3>",
|
"<h3><a id=\"twoProperty()\">twoProperty</a></h3>",
|
||||||
"<h3>threeProperty</h3>",
|
"<h3><a id=\"threeProperty()\">threeProperty</a></h3>",
|
||||||
"<h3>fourProperty</h3>");
|
"<h3><a id=\"fourProperty()\">fourProperty</a></h3>");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,10 +53,7 @@ public class TestBadOverride extends JavadocTester {
|
|||||||
|
|
||||||
checkOutput("pkg4/Foo.html", true,
|
checkOutput("pkg4/Foo.html", true,
|
||||||
"<section class=\"detail\">\n"
|
"<section class=\"detail\">\n"
|
||||||
+ "<h3>toString</h3>\n"
|
+ "<h3><a id=\"toString()\">toString</a></h3>\n"
|
||||||
+ "<a id=\"toString()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
||||||
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">toString</span>()</div>\n"
|
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">toString</span>()</div>\n"
|
||||||
+ "<div class=\"block\">Why can't I do this ?</div>\n"
|
+ "<div class=\"block\">Why can't I do this ?</div>\n"
|
||||||
|
@ -86,10 +86,7 @@ public class TestSummaryTag extends JavadocTester {
|
|||||||
// make sure the second @summary's content is displayed correctly
|
// make sure the second @summary's content is displayed correctly
|
||||||
checkOutput("p1/A.html", true,
|
checkOutput("p1/A.html", true,
|
||||||
"<section class=\"detail\">\n"
|
"<section class=\"detail\">\n"
|
||||||
+ "<h3>m3</h3>\n"
|
+ "<h3><a id=\"m3()\">m3</a></h3>\n"
|
||||||
+ "<a id=\"m3()\">\n"
|
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>\n"
|
|
||||||
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
+ "<div class=\"memberSignature\"><span class=\"modifiers\">public</span> "
|
||||||
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">m3</span>()</div>\n"
|
+ "<span class=\"returnType\">void</span> <span class=\"memberName\">m3</span>()</div>\n"
|
||||||
+ "<div class=\"block\">First sentence some text maybe second sentence.</div>\n"
|
+ "<div class=\"block\">First sentence some text maybe second sentence.</div>\n"
|
||||||
|
@ -70,9 +70,7 @@ public class TestTypeParameters extends JavadocTester {
|
|||||||
|
|
||||||
// Nested type parameters
|
// Nested type parameters
|
||||||
checkOutput("pkg/C.html", true,
|
checkOutput("pkg/C.html", true,
|
||||||
"<a id=\"formatDetails(java.util.Collection,java.util.Collection)\">\n"
|
"<a id=\"formatDetails(java.util.Collection,java.util.Collection)\">");
|
||||||
+ "<!-- -->\n"
|
|
||||||
+ "</a>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user