langtools/test/com/sun/javadoc/testIndex/TestIndex.java
changeset 14357 faf9cde2817b
parent 7681 1f0819a3341f
child 21478 fa4c7cda1b41
equal deleted inserted replaced
14267:6321fbe0cf50 14357:faf9cde2817b
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    51             "<frame src=\"overview-summary.html\" name=\"classFrame\" title=\"" +
    51             "<frame src=\"overview-summary.html\" name=\"classFrame\" title=\"" +
    52             "Package, class and interface descriptions\" scrolling=\"yes\">"},
    52             "Package, class and interface descriptions\" scrolling=\"yes\">"},
    53 
    53 
    54         //Test index-all.html
    54         //Test index-all.html
    55         {BUG_ID + FS + "index-all.html",
    55         {BUG_ID + FS + "index-all.html",
    56             "<a href=\"./pkg/C.html\" title=\"class in pkg\"><span class=\"strong\">C</span></a>" +
    56             "<a href=\"pkg/C.html\" title=\"class in pkg\"><span class=\"strong\">C</span></a>" +
    57             " - Class in <a href=\"./pkg/package-summary.html\">pkg</a>"},
    57             " - Class in <a href=\"pkg/package-summary.html\">pkg</a>"},
    58         {BUG_ID + FS + "index-all.html",
    58         {BUG_ID + FS + "index-all.html",
    59             "<a href=\"./pkg/Interface.html\" title=\"interface in pkg\">" +
    59             "<a href=\"pkg/Interface.html\" title=\"interface in pkg\">" +
    60             "<span class=\"strong\">Interface</span></a> - Interface in " +
    60             "<span class=\"strong\">Interface</span></a> - Interface in " +
    61             "<a href=\"./pkg/package-summary.html\">pkg</a>"},
    61             "<a href=\"pkg/package-summary.html\">pkg</a>"},
    62         {BUG_ID + FS + "index-all.html",
    62         {BUG_ID + FS + "index-all.html",
    63             "<a href=\"./pkg/AnnotationType.html\" title=\"annotation in pkg\">" +
    63             "<a href=\"pkg/AnnotationType.html\" title=\"annotation in pkg\">" +
    64             "<span class=\"strong\">AnnotationType</span></a> - Annotation Type in " +
    64             "<span class=\"strong\">AnnotationType</span></a> - Annotation Type in " +
    65             "<a href=\"./pkg/package-summary.html\">pkg</a>"},
    65             "<a href=\"pkg/package-summary.html\">pkg</a>"},
    66         {BUG_ID + FS + "index-all.html",
    66         {BUG_ID + FS + "index-all.html",
    67             "<a href=\"./pkg/Coin.html\" title=\"enum in pkg\">" +
    67             "<a href=\"pkg/Coin.html\" title=\"enum in pkg\">" +
    68             "<span class=\"strong\">Coin</span></a> - Enum in " +
    68             "<span class=\"strong\">Coin</span></a> - Enum in " +
    69             "<a href=\"./pkg/package-summary.html\">pkg</a>"},
    69             "<a href=\"pkg/package-summary.html\">pkg</a>"},
    70         {BUG_ID + FS + "index-all.html",
    70         {BUG_ID + FS + "index-all.html",
    71             "Class in <a href=\"./package-summary.html\">&lt;Unnamed&gt;</a>"},
    71             "Class in <a href=\"package-summary.html\">&lt;Unnamed&gt;</a>"},
    72         {BUG_ID + FS + "index-all.html",
    72         {BUG_ID + FS + "index-all.html",
    73             "<dl>" + NL + "<dt><span class=\"strong\"><a href=\"./pkg/C.html#Java\">" +
    73             "<dl>" + NL + "<dt><span class=\"strong\"><a href=\"pkg/C.html#Java\">" +
    74             "Java</a></span> - Static variable in class pkg.<a href=\"./pkg/C.html\" " +
    74             "Java</a></span> - Static variable in class pkg.<a href=\"pkg/C.html\" " +
    75             "title=\"class in pkg\">C</a></dt>" + NL + "<dd>&nbsp;</dd>" + NL +
    75             "title=\"class in pkg\">C</a></dt>" + NL + "<dd>&nbsp;</dd>" + NL +
    76             "<dt><span class=\"strong\"><a href=\"./pkg/C.html#JDK\">JDK</a></span> " +
    76             "<dt><span class=\"strong\"><a href=\"pkg/C.html#JDK\">JDK</a></span> " +
    77             "- Static variable in class pkg.<a href=\"./pkg/C.html\" title=\"class in pkg\">" +
    77             "- Static variable in class pkg.<a href=\"pkg/C.html\" title=\"class in pkg\">" +
    78             "C</a></dt>" + NL + "<dd>&nbsp;</dd>" + NL + "</dl>"},
    78             "C</a></dt>" + NL + "<dd>&nbsp;</dd>" + NL + "</dl>"},
    79     };
    79     };
    80     private static final String[][] NEGATED_TEST = NO_TEST;
    80     private static final String[][] NEGATED_TEST = NO_TEST;
    81 
    81 
    82     /**
    82     /**