mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8031649: Clean up javadoc tests
Reviewed-by: jjg
This commit is contained in:
parent
360461f136
commit
81730320bd
132 changed files with 2213 additions and 1892 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2014, 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
|
||||
|
@ -47,28 +47,38 @@ public class TestClassTree extends JavadocTester {
|
|||
|
||||
//Input for string search tests.
|
||||
private static final String[][] TEST = {
|
||||
{BUG_ID + FS + "pkg" + FS + "package-tree.html",
|
||||
"<ul>" + NL + "<li type=\"circle\">pkg.<a href=\"../pkg/ParentClass.html\" " +
|
||||
{BUG_ID + "/pkg/package-tree.html",
|
||||
"<ul>\n" +
|
||||
"<li type=\"circle\">pkg.<a href=\"../pkg/ParentClass.html\" " +
|
||||
"title=\"class in pkg\"><span class=\"typeNameLink\">ParentClass</span></a>"},
|
||||
|
||||
{BUG_ID + FS + "pkg" + FS + "package-tree.html",
|
||||
"<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>" + NL +
|
||||
"<ul>" + NL + "<li type=\"circle\">pkg.<a href=\"../pkg/AnnotationType.html\" " +
|
||||
{BUG_ID + "/pkg/package-tree.html",
|
||||
"<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>\n" +
|
||||
"<ul>\n" +
|
||||
"<li type=\"circle\">pkg.<a href=\"../pkg/AnnotationType.html\" " +
|
||||
"title=\"annotation in pkg\"><span class=\"typeNameLink\">AnnotationType</span></a> " +
|
||||
"(implements java.lang.annotation.Annotation)</li>" + NL + "</ul>"},
|
||||
"(implements java.lang.annotation.Annotation)</li>\n" +
|
||||
"</ul>"},
|
||||
|
||||
{BUG_ID + FS + "pkg" + FS + "package-tree.html",
|
||||
"<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>" + NL + "<ul>" + NL +
|
||||
"<li type=\"circle\">java.lang.Object" + NL + "<ul>" + NL +
|
||||
{BUG_ID + "/pkg/package-tree.html",
|
||||
"<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>\n" +
|
||||
"<ul>\n" +
|
||||
"<li type=\"circle\">java.lang.Object\n" +
|
||||
"<ul>\n" +
|
||||
"<li type=\"circle\">java.lang.Enum<E> (implements java.lang." +
|
||||
"Comparable<T>, java.io.Serializable)" + NL + "<ul>" + NL +
|
||||
"Comparable<T>, java.io.Serializable)\n" +
|
||||
"<ul>\n" +
|
||||
"<li type=\"circle\">pkg.<a href=\"../pkg/Coin.html\" " +
|
||||
"title=\"enum in pkg\"><span class=\"typeNameLink\">Coin</span></a></li>" + NL +
|
||||
"</ul>" + NL + "</li>" + NL + "</ul>" + NL + "</li>" + NL + "</ul>"
|
||||
"title=\"enum in pkg\"><span class=\"typeNameLink\">Coin</span></a></li>\n" +
|
||||
"</ul>\n" +
|
||||
"</li>\n" +
|
||||
"</ul>\n" +
|
||||
"</li>\n" +
|
||||
"</ul>"
|
||||
},
|
||||
};
|
||||
private static final String[][] NEGATED_TEST = {
|
||||
{BUG_ID + FS + "pkg" + FS + "package-tree.html",
|
||||
{BUG_ID + "/pkg/package-tree.html",
|
||||
"<li type=\"circle\">class pkg.<a href=\"../pkg/ParentClass.html\" " +
|
||||
"title=\"class in pkg\"><span class=\"typeNameLink\">ParentClass</span></a></li>"}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue