langtools/test/com/sun/javadoc/testNewLanguageFeatures/TestNewLanguageFeatures.java
author bpatel
Fri, 27 Feb 2009 18:57:17 -0800
changeset 2216 b124d5c924eb
parent 1787 1aa079321cd2
child 2320 5b8c377175f4
permissions -rw-r--r--
6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
 * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
 * CA 95054 USA or visit www.sun.com if you need additional information or
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
 * have any questions.
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
/*
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
 * @test
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
 * @bug      4789689 4905985 4927164 4827184 4993906 5004549
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
 * @summary  Run Javadoc on a set of source files that demonstrate new
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
 *           language features.  Check the output to ensure that the new
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
 *           language features are properly documented.
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
 * @author   jamieh
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
 * @library  ../lib/
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
 * @build    JavadocTester
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
 * @build    TestNewLanguageFeatures
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
 * @run main TestNewLanguageFeatures
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
public class TestNewLanguageFeatures extends JavadocTester {
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
    //Test information.
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
    private static final String BUG_ID = "4789689-4905985-4927164-4827184-4993906";
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
    //Javadoc arguments.
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
    private static final String[] ARGS = new String[] {
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
        "-d", BUG_ID, "-use", "-source", "1.5", "-sourcepath", SRC_DIR, "pkg", "pkg1", "pkg2"
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
    };
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
    //Input for string search tests.
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
    private static final String[][] TEST =
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
        {
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
            // ENUM TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
            //Make sure enum header is correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "Enum Coin</H2>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
            //Make sure enum signature is correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "public enum "+
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    57
                "<STRONG>Coin</STRONG>" + NL + "extends java.lang.Enum&lt;" +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
                "<A HREF=\"../pkg/Coin.html\" title=\"enum in pkg\">Coin</A>&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
            //Check for enum constant section
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
    61
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "<STRONG>Enum Constant Summary</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
            //Detail for enum constant
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
            {BUG_ID + FS + "pkg" + FS + "Coin.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
    64
                "<STRONG><A HREF=\"../pkg/Coin.html#Dime\">Dime</A></STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
            //Automatically insert documentation for values() and valueOf().
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
            {BUG_ID + FS + "pkg" + FS + "Coin.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
                "Returns an array containing the constants of this enum type,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
            {BUG_ID + FS + "pkg" + FS + "Coin.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
                "Returns the enum constant of this type with the specified name"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "for (Coin c : Coin.values())"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "Overloaded valueOf() method has correct documentation."},
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
            {BUG_ID + FS + "pkg" + FS + "Coin.html", "Overloaded values method  has correct documentation."},
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
            // TYPE PARAMETER TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
            //Make sure the header is correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
                "Class TypeParameters&lt;E&gt;</H2>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
            //Check class type parameters section.
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    82
                "<DT><STRONG>Type Parameters:</STRONG></DT><DD><CODE>E</CODE> - " +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
                "the type parameter for this class."},
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
            //Type parameters in @see/@link
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    86
                "<DT><STRONG>See Also:</STRONG></DT><DD><A HREF=\"../pkg/TypeParameters.html\" " +
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    87
                    "title=\"class in pkg\"><CODE>TypeParameters</CODE></A></DD></DL>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
            //Method that uses class type parameter.
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
                "(<A HREF=\"../pkg/TypeParameters.html\" title=\"type " +
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
                    "parameter in TypeParameters\">E</A>&nbsp;param)"},
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
            //Method type parameter section.
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    94
                "<STRONG>Type Parameters:</STRONG></DT><DD><CODE>T</CODE> - This is the first " +
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
    95
                    "type parameter.</DD><DD><CODE>V</CODE> - This is the second type " +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
                    "parameter."},
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
            //Signature of method with type parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
                "public &lt;T extends java.util.List,V&gt; " +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   100
                    "java.lang.String[] <STRONG>methodThatHasTypeParameters</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
            //Wildcard testing.
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
            {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
                "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
                "TypeParameters</A>&lt;? super java.lang.String&gt;&nbsp;a"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
            {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
                "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
                "TypeParameters</A>&lt;? extends java.lang.StringBuffer&gt;&nbsp;b"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
            {BUG_ID + FS + "pkg" + FS + "Wildcards.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
                "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   110
                    "TypeParameters</A>&nbsp;c"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
            //Bad type parameter warnings.
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
            {WARNING_OUTPUT, "warning - @param argument " +
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
                "\"<BadClassTypeParam>\" is not a type parameter name."},
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
            {WARNING_OUTPUT, "warning - @param argument " +
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
                "\"<BadMethodTypeParam>\" is not a type parameter name."},
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
            //Signature of subclass that has type parameters.
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
            {BUG_ID + FS + "pkg" + FS + "TypeParameterSubClass.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   119
                "public class <STRONG>TypeParameterSubClass&lt;T extends java.lang.String&gt;" +
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   120
                "</STRONG>" + NL + "extends <A HREF=\"../pkg/TypeParameterSuperClass.html\" " +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
                "title=\"class in pkg\">TypeParameterSuperClass</A>&lt;T&gt;"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
            //Interface generic parameter substitution
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
            //Signature of subclass that has type parameters.
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
            {BUG_ID + FS + "pkg" + FS + "TypeParameters.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   126
                "<STRONG>All Implemented Interfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SubInterface.html\" title=\"interface in pkg\">SubInterface</A>&lt;E&gt;, <A HREF=\"../pkg/SuperInterface.html\" title=\"interface in pkg\">SuperInterface</A>&lt;E&gt;</DD>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
            {BUG_ID + FS + "pkg" + FS + "SuperInterface.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   128
                "<STRONG>All Known Subinterfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SubInterface.html\" title=\"interface in pkg\">SubInterface</A>&lt;V&gt;</DD>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
            {BUG_ID + FS + "pkg" + FS + "SubInterface.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   130
                "<STRONG>All Superinterfaces:</STRONG></DT> <DD><A HREF=\"../pkg/SuperInterface.html\" title=\"interface in pkg\">SuperInterface</A>&lt;V&gt;</DD>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
            // VAR ARG TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
            {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int...&nbsp;i)"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
            {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int[][]...&nbsp;i)"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
            {BUG_ID + FS + "pkg" + FS + "VarArgs.html", "(int[]...)"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
            {BUG_ID + FS + "pkg" + FS + "VarArgs.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
                "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
                "TypeParameters</A>...&nbsp;t"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   143
            // ANNOTATION TYPE TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
            //Make sure the summary links are correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
   146
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
                "SUMMARY:&nbsp;<A HREF=\"#annotation_type_required_element_summary\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
                "REQUIRED</A>&nbsp;|&nbsp;<A HREF=\"#annotation_type_optional_element_summary\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   149
                "OPTIONAL</A>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   150
            //Make sure the detail links are correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
   151
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   152
                "DETAIL:&nbsp;<A HREF=\"#annotation_type_element_detail\">ELEMENT</A>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   153
            //Make sure the heading is correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
                "Annotation Type AnnotationType</H2>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   156
            //Make sure the signature is correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
   157
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   158
                "public @interface <STRONG>AnnotationType</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   159
            //Make sure member summary headings are correct.
06bc494ca11e Initial load
duke
parents:
diff changeset
   160
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   161
                "<STRONG>Required Element Summary</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   163
                "<STRONG>Optional Element Summary</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
            //Make sure element detail heading is correct
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
                "Element Detail"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   167
            //Make sure default annotation type value is printed when necessary.
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
            {BUG_ID + FS + "pkg" + FS + "AnnotationType.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   169
                "<STRONG>Default:</STRONG></DT><DD>\"unknown\"</DD>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   170
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
            // ANNOTATION TYPE USAGE TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   174
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
            //PACKAGE
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
            {BUG_ID + FS + "pkg" + FS + "package-summary.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   177
                "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Package Annotation\"," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   178
                "                <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
            //CLASS
06bc494ca11e Initial load
duke
parents:
diff changeset
   181
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
                "<FONT SIZE=\"-1\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
                "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Class Annotation\","+NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   184
                "                <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   185
                "</FONT>public class <STRONG>AnnotationTypeUsage</STRONG>" + NL +
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   186
                "extends java.lang.Object"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   187
06bc494ca11e Initial load
duke
parents:
diff changeset
   188
            //FIELD
06bc494ca11e Initial load
duke
parents:
diff changeset
   189
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
                "<FONT SIZE=\"-1\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   191
                "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Field Annotation\","+NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
                "                <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   193
                "</FONT>public int <STRONG>field</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   194
06bc494ca11e Initial load
duke
parents:
diff changeset
   195
            //CONSTRUCTOR
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   197
                "<FONT SIZE=\"-1\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   198
                "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Constructor Annotation\","+NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
                "                <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   200
                "</FONT>public <STRONG>AnnotationTypeUsage</STRONG>()"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   201
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
            //METHOD
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   204
                "<FONT SIZE=\"-1\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   205
                "<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Method Annotation\","+NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   206
                "                <A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)"+NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   207
                "</FONT>public void <STRONG>method</STRONG>()"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   208
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
            //METHOD PARAMS
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   211
                "<PRE>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   212
                "public void <STRONG>methodWithParams</STRONG>(<FONT SIZE=\"-1\"><A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Parameter Annotation\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)</FONT>" + NL +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
                "                             int&nbsp;documented," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
                "                             int&nbsp;undocmented)</PRE>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   215
06bc494ca11e Initial load
duke
parents:
diff changeset
   216
            //CONSTRUCTOR PARAMS
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
            {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
                "<PRE>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   219
                                "public <STRONG>AnnotationTypeUsage</STRONG>(<FONT SIZE=\"-1\"><A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"Constructor Param Annotation\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994)</FONT>" + NL +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   220
                                "                           int&nbsp;documented," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   221
                "                           int&nbsp;undocmented)</PRE>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   222
06bc494ca11e Initial load
duke
parents:
diff changeset
   223
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   224
            // ANNOTATION TYPE USAGE TESTING (All Different Types).
06bc494ca11e Initial load
duke
parents:
diff changeset
   225
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
            //Integer
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   229
                "<A HREF=\"../pkg1/A.html#d()\">d</A>=3.14,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   230
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
            //Double
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   233
                "<A HREF=\"../pkg1/A.html#d()\">d</A>=3.14,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   234
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
            //Boolean
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
                "<A HREF=\"../pkg1/A.html#b()\">b</A>=true,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
            //String
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
                "<A HREF=\"../pkg1/A.html#s()\">s</A>=\"sigh\","},
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
            //Class
06bc494ca11e Initial load
duke
parents:
diff changeset
   244
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   245
                "<A HREF=\"../pkg1/A.html#c()\">c</A>=<A HREF=\"../pkg2/Foo.html\" title=\"class in pkg2\">Foo.class</A>,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   246
06bc494ca11e Initial load
duke
parents:
diff changeset
   247
            //Bounded Class
06bc494ca11e Initial load
duke
parents:
diff changeset
   248
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   249
                "<A HREF=\"../pkg1/A.html#w()\">w</A>=<A HREF=\"../pkg/TypeParameterSubClass.html\" title=\"class in pkg\">TypeParameterSubClass.class</A>,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   250
06bc494ca11e Initial load
duke
parents:
diff changeset
   251
            //Enum
06bc494ca11e Initial load
duke
parents:
diff changeset
   252
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   253
                "<A HREF=\"../pkg1/A.html#e()\">e</A>=<A HREF=\"../pkg/Coin.html#Penny\">Penny</A>,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   254
06bc494ca11e Initial load
duke
parents:
diff changeset
   255
            //Annotation Type
06bc494ca11e Initial load
duke
parents:
diff changeset
   256
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   257
                "<A HREF=\"../pkg1/A.html#a()\">a</A>=<A HREF=\"../pkg/AnnotationType.html\" title=\"annotation in pkg\">@AnnotationType</A>(<A HREF=\"../pkg/AnnotationType.html#optional()\">optional</A>=\"foo\",<A HREF=\"../pkg/AnnotationType.html#required()\">required</A>=1994),"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   258
06bc494ca11e Initial load
duke
parents:
diff changeset
   259
            //String Array
06bc494ca11e Initial load
duke
parents:
diff changeset
   260
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   261
                "<A HREF=\"../pkg1/A.html#sa()\">sa</A>={\"up\",\"down\"},"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   262
06bc494ca11e Initial load
duke
parents:
diff changeset
   263
            //Primitive
06bc494ca11e Initial load
duke
parents:
diff changeset
   264
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   265
                "<A HREF=\"../pkg1/A.html#primitiveClassTest()\">primitiveClassTest</A>=boolean.class,"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   266
06bc494ca11e Initial load
duke
parents:
diff changeset
   267
            //XXX:  Add array test case after this if fixed:
06bc494ca11e Initial load
duke
parents:
diff changeset
   268
            //5020899: Incorrect internal representation of class-valued annotation elements
06bc494ca11e Initial load
duke
parents:
diff changeset
   269
06bc494ca11e Initial load
duke
parents:
diff changeset
   270
            //Make sure that annotations are surrounded by <pre> and </pre>
06bc494ca11e Initial load
duke
parents:
diff changeset
   271
            {BUG_ID + FS + "pkg1" + FS + "B.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   272
                "<PRE><FONT SIZE=\"-1\"><A HREF=\"../pkg1/A.html\" title=\"annotation in pkg1\">@A</A>"},
06bc494ca11e Initial load
duke
parents:
diff changeset
   273
            {BUG_ID + FS + "pkg1" + FS + "B.html",
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   274
                "</FONT>public interface <STRONG>B</STRONG></PRE>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   275
06bc494ca11e Initial load
duke
parents:
diff changeset
   276
06bc494ca11e Initial load
duke
parents:
diff changeset
   277
            //==============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   278
            // Handle multiple bounds.
06bc494ca11e Initial load
duke
parents:
diff changeset
   279
            //==============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   280
            {BUG_ID + FS + "pkg" + FS + "MultiTypeParameters.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   281
                "public &lt;T extends java.lang.Number & java.lang.Runnable&gt; T <STRONG>foo</STRONG>(T&nbsp;t)"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   282
06bc494ca11e Initial load
duke
parents:
diff changeset
   283
            //==============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   284
            // Test Class-Use Documenation for Type Parameters.
06bc494ca11e Initial load
duke
parents:
diff changeset
   285
            //==============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   286
06bc494ca11e Initial load
duke
parents:
diff changeset
   287
            //ClassUseTest1: <T extends Foo & Foo2>
06bc494ca11e Initial load
duke
parents:
diff changeset
   288
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   289
                 "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   290
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   291
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   292
                "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html\" title=\"class in pkg2\">ClassUseTest1&lt;T extends Foo & Foo2&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   293
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   294
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   295
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   296
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   297
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   298
                "<TD><CODE><STRONG>ClassUseTest1.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   299
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   300
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   301
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   302
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   303
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   304
                "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   305
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   306
06bc494ca11e Initial load
duke
parents:
diff changeset
   307
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   308
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> declared as <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   309
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   310
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   311
                "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   312
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   313
06bc494ca11e Initial load
duke
parents:
diff changeset
   314
           {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   315
            "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo2.html\" title=\"interface in pkg2\">Foo2</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   316
           },
06bc494ca11e Initial load
duke
parents:
diff changeset
   317
           {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   318
            "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html\" title=\"class in pkg2\">ClassUseTest1&lt;T extends Foo & Foo2&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   319
           },
06bc494ca11e Initial load
duke
parents:
diff changeset
   320
           {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   321
               "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo2.html\" title=\"interface in pkg2\">Foo2</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   322
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   323
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo2.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   324
               "<TD><CODE><STRONG>ClassUseTest1.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest1.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   325
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   326
06bc494ca11e Initial load
duke
parents:
diff changeset
   327
            //ClassUseTest2: <T extends ParamTest<Foo3>>
06bc494ca11e Initial load
duke
parents:
diff changeset
   328
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   329
              "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   330
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   331
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   332
              "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html\" title=\"class in pkg2\">ClassUseTest2&lt;T extends ParamTest&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   333
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   334
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   335
              "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   336
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   337
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   338
              "<TD><CODE><STRONG>ClassUseTest2.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   339
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   340
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   341
              "<TH ALIGN=\"left\" COLSPAN=\"2\">Fields in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> declared as <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   342
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   343
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   344
              "<A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo.html\" title=\"class in pkg2\">Foo</A>&gt;</CODE></FONT></TD>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   345
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   346
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   347
              "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   348
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   349
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   350
              "&lt;T extends <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
   351
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   352
06bc494ca11e Initial load
duke
parents:
diff changeset
   353
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   354
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   355
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   356
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   357
                "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html\" title=\"class in pkg2\">ClassUseTest2&lt;T extends ParamTest&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   358
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   359
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   360
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   361
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   362
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   363
                "<TD><CODE><STRONG>ClassUseTest2.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest2.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   364
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   365
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   366
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> that return types with arguments of type <A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   367
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   368
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo3.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   369
                "&lt;T extends <A HREF=\"../../pkg2/ParamTest.html\" title=\"class in pkg2\">ParamTest</A>&lt;<A HREF=\"../../pkg2/Foo3.html\" title=\"class in pkg2\">Foo3</A>&gt;&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
   370
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   371
06bc494ca11e Initial load
duke
parents:
diff changeset
   372
            //ClassUseTest3: <T extends ParamTest2<List<? extends Foo4>>>
06bc494ca11e Initial load
duke
parents:
diff changeset
   373
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   374
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   375
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   376
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   377
                "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html\" title=\"class in pkg2\">ClassUseTest3&lt;T extends ParamTest2&lt;java.util.List&lt;? extends Foo4&gt;&gt;&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   378
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   379
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   380
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   381
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   382
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   383
                "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   384
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   385
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   386
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   387
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   388
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "ParamTest2.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   389
                "&lt;T extends <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A>&lt;java.util.List&lt;? extends <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&gt;&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
   390
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   391
06bc494ca11e Initial load
duke
parents:
diff changeset
   392
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   393
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Classes in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   394
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   395
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   396
                "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html\" title=\"class in pkg2\">ClassUseTest3&lt;T extends ParamTest2&lt;java.util.List&lt;? extends Foo4&gt;&gt;&gt;</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   397
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   398
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   399
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type parameters of type <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   400
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   401
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   402
                "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#method(T)\">method</A></STRONG>(T&nbsp;t)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   403
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   404
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   405
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Methods in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> that return types with arguments of type <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A></FONT></TH>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   406
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   407
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   408
                "&lt;T extends <A HREF=\"../../pkg2/ParamTest2.html\" title=\"class in pkg2\">ParamTest2</A>&lt;java.util.List&lt;? extends <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&gt;&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
   409
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   410
06bc494ca11e Initial load
duke
parents:
diff changeset
   411
            //Type parameters in constructor and method args
06bc494ca11e Initial load
duke
parents:
diff changeset
   412
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   413
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Method parameters in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type arguments of type <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   414
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   415
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   416
                "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   417
                "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   418
                "<TD><CODE><STRONG>ClassUseTest3.</STRONG><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#method(java.util.Set)\">method</A></STRONG>(java.util.Set&lt;<A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&nbsp;p)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   419
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   420
            {BUG_ID + FS + "pkg2" + FS + "class-use" + FS + "Foo4.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   421
                "<TH ALIGN=\"left\" COLSPAN=\"2\">Constructor parameters in <A HREF=\"../../pkg2/package-summary.html\">pkg2</A> with type arguments of type <A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   422
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   423
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   424
                "<TD><CODE><STRONG><A HREF=\"../../pkg2/ClassUseTest3.html#ClassUseTest3(java.util.Set)\">ClassUseTest3</A></STRONG>(java.util.Set&lt;<A HREF=\"../../pkg2/Foo4.html\" title=\"class in pkg2\">Foo4</A>&gt;&nbsp;p)</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   425
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   426
06bc494ca11e Initial load
duke
parents:
diff changeset
   427
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   428
            // Annotatation Type Usage
06bc494ca11e Initial load
duke
parents:
diff changeset
   429
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   430
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   431
                "<FONT SIZE=\"+2\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   432
                "Packages with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   433
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   434
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   435
                "<TD><A HREF=\"../../pkg/package-summary.html\"><STRONG>pkg</STRONG></A></TD>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   436
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   437
06bc494ca11e Initial load
duke
parents:
diff changeset
   438
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   439
                "Classes in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   440
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   441
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   442
                "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   443
                "<CODE>&nbsp;class</CODE></FONT></TD>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   444
                "<TD><CODE><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html\" title=\"class in pkg\">AnnotationTypeUsage</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   445
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   446
06bc494ca11e Initial load
duke
parents:
diff changeset
   447
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   448
                "Fields in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   449
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   450
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   451
                "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   452
                "<CODE>&nbsp;int</CODE></FONT></TD>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   453
                "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html#field\">field</A></STRONG></CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   454
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   455
06bc494ca11e Initial load
duke
parents:
diff changeset
   456
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   457
                "Methods in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   458
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   459
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   460
                "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   461
                "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   462
                "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html#method()\">method</A></STRONG>()</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   463
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   464
06bc494ca11e Initial load
duke
parents:
diff changeset
   465
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   466
                "Method parameters in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   467
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   468
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   469
                "<TD ALIGN=\"right\" VALIGN=\"top\" WIDTH=\"1%\"><FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   470
                "<CODE>&nbsp;void</CODE></FONT></TD>" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   471
                "<TD><CODE><STRONG>AnnotationTypeUsage.</STRONG><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html#methodWithParams(int, int)\">methodWithParams</A></STRONG>(int&nbsp;documented," + NL +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   472
                "                 int&nbsp;undocmented)</CODE>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   473
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   474
06bc494ca11e Initial load
duke
parents:
diff changeset
   475
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   476
                "Constructors in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   477
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   478
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   479
                "<TD><CODE><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html#AnnotationTypeUsage()\">AnnotationTypeUsage</A></STRONG>()</CODE>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   480
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   481
06bc494ca11e Initial load
duke
parents:
diff changeset
   482
            {BUG_ID + FS + "pkg" + FS + "class-use" + FS + "AnnotationType.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   483
                "Constructor parameters in <A HREF=\"../../pkg/package-summary.html\">pkg</A> with annotations of type <A HREF=\"../../pkg/AnnotationType.html\" title=\"annotation in pkg\">AnnotationType</A></FONT></TH>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   484
                "</TR>" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   485
                "<TR BGCOLOR=\"white\" CLASS=\"TableRowColor\">" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   486
                "<TD><CODE><STRONG><A HREF=\"../../pkg/AnnotationTypeUsage.html#AnnotationTypeUsage(int, int)\">AnnotationTypeUsage</A></STRONG>(int&nbsp;documented," + NL +
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   487
                "                    int&nbsp;undocmented)</CODE>"
06bc494ca11e Initial load
duke
parents:
diff changeset
   488
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   489
06bc494ca11e Initial load
duke
parents:
diff changeset
   490
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   491
            // TYPE PARAMETER IN INDEX
06bc494ca11e Initial load
duke
parents:
diff changeset
   492
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   493
            {BUG_ID + FS + "index-all.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   494
                "<A HREF=\"./pkg2/Foo.html#method(java.util.Vector)\"><STRONG>method(Vector&lt;Object&gt;)</STRONG></A>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   495
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   496
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   497
            // TYPE PARAMETER IN INDEX
06bc494ca11e Initial load
duke
parents:
diff changeset
   498
            //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   499
            {BUG_ID + FS + "index-all.html",
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   500
                "<A HREF=\"./pkg2/Foo.html#method(java.util.Vector)\"><STRONG>method(Vector&lt;Object&gt;)</STRONG></A>"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   501
            },
06bc494ca11e Initial load
duke
parents:
diff changeset
   502
        };
06bc494ca11e Initial load
duke
parents:
diff changeset
   503
    private static final String[][] NEGATED_TEST = {
06bc494ca11e Initial load
duke
parents:
diff changeset
   504
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   505
        // ENUM TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
   506
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   507
        //NO constructor section
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   508
        {BUG_ID + FS + "pkg" + FS + "Coin.html", "<STRONG>Constructor Summary</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   509
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   510
        // TYPE PARAMETER TESTING
06bc494ca11e Initial load
duke
parents:
diff changeset
   511
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   512
        //No type parameters in class frame.
06bc494ca11e Initial load
duke
parents:
diff changeset
   513
        {BUG_ID + FS + "allclasses-frame.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   514
            "<A HREF=\"../pkg/TypeParameters.html\" title=\"class in pkg\">" +
06bc494ca11e Initial load
duke
parents:
diff changeset
   515
                    "TypeParameters</A>&lt;<A HREF=\"../pkg/TypeParameters.html\" " +
06bc494ca11e Initial load
duke
parents:
diff changeset
   516
                    "title=\"type parameter in TypeParameters\">E</A>&gt;"
06bc494ca11e Initial load
duke
parents:
diff changeset
   517
        },
06bc494ca11e Initial load
duke
parents:
diff changeset
   518
06bc494ca11e Initial load
duke
parents:
diff changeset
   519
        //==============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   520
        // ANNOTATION TYPE USAGE TESTING (When @Documented is omitted)
06bc494ca11e Initial load
duke
parents:
diff changeset
   521
        //===============================================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   522
06bc494ca11e Initial load
duke
parents:
diff changeset
   523
        //CLASS
06bc494ca11e Initial load
duke
parents:
diff changeset
   524
        {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   525
            "<FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   526
            "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Class Annotation\"," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   527
            "                <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
2216
b124d5c924eb 6786690: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - DL tag and nesting issue
bpatel
parents: 1787
diff changeset
   528
            "</FONT>public class <STRONG>AnnotationTypeUsage</STRONG></DT><DT>extends java.lang.Object</DT></DL>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   529
06bc494ca11e Initial load
duke
parents:
diff changeset
   530
        //FIELD
06bc494ca11e Initial load
duke
parents:
diff changeset
   531
        {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   532
            "<FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   533
            "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Field Annotation\"," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   534
            "                <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   535
            "</FONT>public int <STRONG>field</STRONG>"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   536
06bc494ca11e Initial load
duke
parents:
diff changeset
   537
        //CONSTRUCTOR
06bc494ca11e Initial load
duke
parents:
diff changeset
   538
        {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   539
            "<FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   540
            "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Constructor Annotation\"," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   541
            "                <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   542
            "</FONT>public <STRONG>AnnotationTypeUsage</STRONG>()"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   543
06bc494ca11e Initial load
duke
parents:
diff changeset
   544
        //METHOD
06bc494ca11e Initial load
duke
parents:
diff changeset
   545
        {BUG_ID + FS + "pkg" + FS + "AnnotationTypeUsage.html",
06bc494ca11e Initial load
duke
parents:
diff changeset
   546
            "<FONT SIZE=\"-1\">" + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   547
            "<A HREF=\"../pkg/AnnotationTypeUndocumented.html\" title=\"annotation in pkg\">@AnnotationTypeUndocumented</A>(<A HREF=\"../pkg/AnnotationType.html#optional\">optional</A>=\"Method Annotation\"," + NL +
06bc494ca11e Initial load
duke
parents:
diff changeset
   548
            "                <A HREF=\"../pkg/AnnotationType.html#required\">required</A>=1994)" + NL +
1787
1aa079321cd2 6786028: Javadoc HTML WCAG 2.0 accessibility issues in standard doclet - Bold tags should be strong
bpatel
parents: 10
diff changeset
   549
            "</FONT>public void <STRONG>method</STRONG>()"},
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   550
06bc494ca11e Initial load
duke
parents:
diff changeset
   551
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   552
        // Make sure annotation types do not
06bc494ca11e Initial load
duke
parents:
diff changeset
   553
        // trigger this warning.
06bc494ca11e Initial load
duke
parents:
diff changeset
   554
        //=================================
06bc494ca11e Initial load
duke
parents:
diff changeset
   555
        {WARNING_OUTPUT,
06bc494ca11e Initial load
duke
parents:
diff changeset
   556
            "Internal error: package sets don't match: [] with: null"
06bc494ca11e Initial load
duke
parents:
diff changeset
   557
        },
06bc494ca11e Initial load
duke
parents:
diff changeset
   558
    };
06bc494ca11e Initial load
duke
parents:
diff changeset
   559
06bc494ca11e Initial load
duke
parents:
diff changeset
   560
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   561
     * The entry point of the test.
06bc494ca11e Initial load
duke
parents:
diff changeset
   562
     * @param args the array of command line arguments.
06bc494ca11e Initial load
duke
parents:
diff changeset
   563
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   564
    public static void main(String[] args) {
06bc494ca11e Initial load
duke
parents:
diff changeset
   565
        TestNewLanguageFeatures tester = new TestNewLanguageFeatures();
06bc494ca11e Initial load
duke
parents:
diff changeset
   566
        run(tester, ARGS, TEST, NEGATED_TEST);
06bc494ca11e Initial load
duke
parents:
diff changeset
   567
        tester.printSummary();
06bc494ca11e Initial load
duke
parents:
diff changeset
   568
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   569
06bc494ca11e Initial load
duke
parents:
diff changeset
   570
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   571
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   572
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   573
    public String getBugId() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   574
        return BUG_ID;
06bc494ca11e Initial load
duke
parents:
diff changeset
   575
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   576
06bc494ca11e Initial load
duke
parents:
diff changeset
   577
    /**
06bc494ca11e Initial load
duke
parents:
diff changeset
   578
     * {@inheritDoc}
06bc494ca11e Initial load
duke
parents:
diff changeset
   579
     */
06bc494ca11e Initial load
duke
parents:
diff changeset
   580
    public String getBugName() {
06bc494ca11e Initial load
duke
parents:
diff changeset
   581
        return getClass().getName();
06bc494ca11e Initial load
duke
parents:
diff changeset
   582
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   583
}