TestClassTree.java revision 797
609N/A * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 609N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 609N/A * This code is free software; you can redistribute it and/or modify it 609N/A * under the terms of the GNU General Public License version 2 only, as 609N/A * published by the Free Software Foundation. 609N/A * This code is distributed in the hope that it will be useful, but WITHOUT 609N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 609N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 609N/A * version 2 for more details (a copy is included in the LICENSE file that 609N/A * accompanied this code). 609N/A * You should have received a copy of the GNU General Public License version 609N/A * 2 along with this work; if not, write to the Free Software Foundation, 609N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 609N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 609N/A * or visit www.oracle.com if you need additional information or have any 609N/A * @summary No need to include type name (class, interface, etc.) before 609N/A * every single type in class tree. 609N/A * Make sure class tree includes heirarchy for enums and annotation 609N/A * @run main TestClassTree //Input for string search tests. "title=\"class in pkg\"><span class=\"strong\">ParentClass</span></a>"},
"<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>" +
NL +
"title=\"annotation in pkg\"><span class=\"strong\">AnnotationType</span></a> " +
"(implements java.lang.annotation.Annotation)</li>" +
NL +
"</ul>"},
"<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>" +
NL +
"<ul>" +
NL +
"<li type=\"circle\">java.lang.Object" +
NL +
"<ul>" +
NL +
"<li type=\"circle\">java.lang.Enum<E> (implements java.lang." +
"Comparable<T>, java.io.Serializable)" +
NL +
"<ul>" +
NL +
"title=\"enum in pkg\"><span class=\"strong\">Coin</span></a></li>" +
NL +
"</ul>" +
NL +
"</li>" +
NL +
"</ul>" +
NL +
"</li>" +
NL +
"</ul>" "title=\"class in pkg\"><span class=\"strong\">ParentClass</span></a></li>"}
* The entry point of the test. * @param args the array of command line arguments.