test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java
author jjg
Thu, 16 Nov 2017 15:01:45 -0800
changeset 47846 4e78aba768f0
parent 47300 a905ce398074
child 48213 59696a3595bd
permissions -rw-r--r--
8190295: Introduce a new Table builder class Reviewed-by: bpatel, ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
44297
e03f5fb3714b 8175200: Long method signatures disturb Method Summary table
bpatel
parents: 42816
diff changeset
     2
 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
10
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
 *
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2216
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2216
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2216
diff changeset
    21
 * questions.
10
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
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    26
 * @bug      4927552 8026567 8071982 8162674 8175200 8175218 8183511 8186332 8169819 8074407
47846
4e78aba768f0 8190295: Introduce a new Table builder class
jjg
parents: 47300
diff changeset
    27
 * @summary  test generated docs for deprecated items
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
 * @author   jamieh
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    29
 * @library  ../lib
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 35426
diff changeset
    30
 * @modules jdk.javadoc/jdk.javadoc.internal.tool
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    31
 * @build    JavadocTester
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
 * @run main TestDeprecatedDocs
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
public class TestDeprecatedDocs extends JavadocTester {
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    37
    public static void main(String... args) throws Exception {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    38
        TestDeprecatedDocs tester = new TestDeprecatedDocs();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    39
        tester.runTests();
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    40
    }
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    42
    @Test
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    43
    void test() {
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    44
        javadoc("-d", "out",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    45
                "-sourcepath", testSrc,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    46
                "pkg");
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    47
        checkExit(Exit.OK);
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    49
        checkOutput("deprecated-list.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    50
                "annotation_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    51
                "annotation_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    52
                "annotation_test3 passes",
36705
890c250d8da8 8071982: Update tests for revamped Doclet API
ksrini
parents: 35426
diff changeset
    53
                "annotation_test4 passes.",
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    54
                "class_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    55
                "class_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    56
                "class_test3 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    57
                "class_test4 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    58
                "enum_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    59
                "enum_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    60
                "error_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    61
                "error_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    62
                "error_test3 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    63
                "error_test4 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    64
                "exception_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    65
                "exception_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    66
                "exception_test3 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    67
                "exception_test4 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    68
                "interface_test1 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    69
                "interface_test2 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    70
                "interface_test3 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    71
                "interface_test4 passes",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    72
                "pkg.DeprecatedClassByAnnotation",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    73
                "pkg.DeprecatedClassByAnnotation()",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    74
                "pkg.DeprecatedClassByAnnotation.method()",
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    75
                "pkg.DeprecatedClassByAnnotation.field"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    76
        );
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    78
        checkOutput("pkg/DeprecatedClassByAnnotation.html", true,
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    79
                "<pre>@Deprecated\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    80
                + "public class <span class=\"typeNameLabel\">DeprecatedClassByAnnotation</span>\n"
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    81
                + "extends java.lang.Object</pre>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    82
                "<pre>@Deprecated(forRemoval=true)\n"
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    83
                + "public&nbsp;int field</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    84
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    85
                "<pre>@Deprecated(forRemoval=true)\n"
47284
355349babaf4 8186332: Fix method signature in method summary table
bpatel
parents: 47272
diff changeset
    86
                + "public&nbsp;DeprecatedClassByAnnotation()</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    87
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span></div>",
24399
af1a0220d0fa 8038730: Clean up the way JavadocTester is invoked, and checks for errors.
jjg
parents: 24072
diff changeset
    88
                "<pre>@Deprecated\n"
47284
355349babaf4 8186332: Fix method signature in method summary table
bpatel
parents: 47272
diff changeset
    89
                + "public&nbsp;void&nbsp;method()</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    90
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span></div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    91
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    92
        checkOutput("pkg/TestAnnotationType.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
    93
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    94
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
    95
                + "@Documented\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
    96
                + "public @interface <span class=\"memberNameLabel\">TestAnnotationType</span></pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    97
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    98
                + "<div class=\"deprecationComment\">annotation_test1 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
    99
                + "</div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   100
                "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   101
                + "static final&nbsp;int&nbsp;field</pre>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   102
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This "
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   103
                + "API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   104
                + "<div class=\"deprecationComment\">annotation_test4 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   105
                + "</div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   106
                "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   107
                + "int&nbsp;required</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   108
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   109
                + "<div class=\"deprecationComment\">annotation_test3 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   110
                + "</div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   111
                "<pre>java.lang.String&nbsp;optional</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   112
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   113
                + "<div class=\"deprecationComment\">annotation_test2 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   114
                + "</div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   115
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   116
        checkOutput("pkg/TestClass.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   117
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   118
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   119
                + "public class <span class=\"typeNameLabel\">TestClass</span>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   120
                + "extends java.lang.Object</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   121
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   122
                + "<div class=\"deprecationComment\">class_test1 passes.</div>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   123
                + "</div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   124
                "<pre>@Deprecated(forRemoval=true)\n"
47284
355349babaf4 8186332: Fix method signature in method summary table
bpatel
parents: 47272
diff changeset
   125
                + "public&nbsp;TestClass()</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   126
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   127
                + "<div class=\"deprecationComment\">class_test3 passes. This is the second sentence of deprecated description for a constructor.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   128
                + "</div>",
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   129
                "<td class=\"colLast\">\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   130
                + "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   131
                + "<div class=\"deprecationComment\">class_test2 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   132
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   133
                + "</td>",
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   134
                "<td class=\"colLast\">\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   135
                + "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   136
                + "<div class=\"deprecationComment\">class_test3 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   137
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   138
                + "</td>",
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   139
                "<td class=\"colLast\">\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   140
                + "<div class=\"block\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   141
                + "<div class=\"deprecationComment\">class_test4 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   142
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   143
                + "</td>");
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   144
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   145
        checkOutput("pkg/TestClass.html", false,
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   146
                "<div class=\"deprecationComment\">class_test2 passes. This is the second sentence of deprecated description for a field.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   147
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   148
                + "</td>",
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   149
                "<div class=\"deprecationComment\">class_test3 passes. This is the second sentence of deprecated description for a constructor.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   150
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   151
                + "</td>",
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   152
                "<div class=\"deprecationComment\">class_test4 passes. This is the second sentence of deprecated description for a method.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   153
                + "</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   154
                + "</td>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   155
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   156
        checkOutput("pkg/TestEnum.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   157
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   158
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   159
                + "public enum <span class=\"typeNameLabel\">TestEnum</span>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   160
                + "extends java.lang.Enum&lt;<a href=\"../pkg/TestEnum.html\" title=\"enum in pkg\">TestEnum</a>&gt;</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   161
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   162
                + "<div class=\"deprecationComment\">enum_test1 passes.</div>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   163
                + "</div>",
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   164
                "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   165
                + "public static final&nbsp;<a href=\"../pkg/TestEnum.html\" title=\"enum in pkg\">TestEnum</a> FOR_REMOVAL</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   166
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   167
                + "<div class=\"deprecationComment\">enum_test3 passes.</div>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   168
                + "</div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   169
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   170
        checkOutput("pkg/TestError.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   171
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   172
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   173
                + "public class <span class=\"typeNameLabel\">TestError</span>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   174
                + "extends java.lang.Error</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   175
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   176
                + "<div class=\"deprecationComment\">error_test1 passes.</div>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   177
                + "</div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   178
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   179
        checkOutput("pkg/TestException.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   180
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   181
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   182
                + "public class <span class=\"typeNameLabel\">TestException</span>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   183
                + "extends java.lang.Exception</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   184
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   185
                + "<div class=\"deprecationComment\">exception_test1 passes.</div>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   186
                + "</div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   187
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   188
        checkOutput("pkg/TestInterface.html", true,
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   189
                "<hr>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   190
                + "<pre>@Deprecated(forRemoval=true)\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   191
                + "public class <span class=\"typeNameLabel\">TestInterface</span>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   192
                + "extends java.lang.Object</pre>\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   193
                + "<div class=\"deprecationBlock\"><span class=\"deprecatedLabel\">Deprecated, for removal: This API element is subject to removal in a future version.</span>\n"
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   194
                + "<div class=\"deprecationComment\">interface_test1 passes.</div>\n"
47272
e0d686cdf608 8183511: improve style for deprecated text
bpatel
parents: 47216
diff changeset
   195
                + "</div>");
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   196
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   197
        checkOutput("deprecated-list.html", true,
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   198
                "<ul>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   199
                + "<li><a href=\"#forRemoval\">For Removal</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   200
                + "<li><a href=\"#class\">Classes</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   201
                + "<li><a href=\"#enum\">Enums</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   202
                + "<li><a href=\"#exception\">Exceptions</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   203
                + "<li><a href=\"#error\">Errors</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   204
                + "<li><a href=\"#annotation.type\">Annotation Types</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   205
                + "<li><a href=\"#field\">Fields</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   206
                + "<li><a href=\"#method\">Methods</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   207
                + "<li><a href=\"#constructor\">Constructors</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   208
                + "<li><a href=\"#enum.constant\">Enum Constants</a></li>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   209
                + "<li><a href=\"#annotation.type.member\">Annotation Type Elements</a></li>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   210
                + "</ul>",
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   211
                "<a name=\"forRemoval\">",
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   212
                "<table class=\"deprecatedSummary\" summary=\"For Removal table, listing for removal, and an explanation\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   213
                + "<caption><span>For Removal</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   214
                + "<tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   215
                + "<th class=\"colFirst\" scope=\"col\">Element</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   216
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   217
                + "</tr>",
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   218
                "<table class=\"deprecatedSummary\" summary=\"Enums table, listing enums, and an explanation\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   219
                + "<caption><span>Enums</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   220
                + "<tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   221
                + "<th class=\"colFirst\" scope=\"col\">Enum</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   222
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   223
                + "</tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   224
                + "<tbody>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   225
                + "<tr class=\"altColor\">\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   226
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestEnum.html\" title=\"enum in pkg\">pkg.TestEnum</a></th>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   227
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   228
                + "<div class=\"deprecationComment\">enum_test1 passes.</div>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   229
                + "</td>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   230
                + "</tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   231
                + "</tbody>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   232
                + "</table>",
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   233
                "<table class=\"deprecatedSummary\" summary=\"Exceptions table, listing exceptions, and an explanation\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   234
                + "<caption><span>Exceptions</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   235
                + "<tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   236
                + "<th class=\"colFirst\" scope=\"col\">Exceptions</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   237
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   238
                + "</tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   239
                + "<tbody>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   240
                + "<tr class=\"altColor\">\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   241
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestException.html\" title=\"class in pkg\">pkg.TestException</a></th>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   242
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   243
                + "<div class=\"deprecationComment\">exception_test1 passes.</div>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   244
                + "</td>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   245
                + "</tr>\n"
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   246
                + "</tbody>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   247
                + "</table>",
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   248
                "<table class=\"deprecatedSummary\" summary=\"Fields table, listing fields, and an explanation\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   249
                + "<caption><span>Fields</span><span class=\"tabEnd\">&nbsp;</span></caption>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   250
                + "<tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   251
                + "<th class=\"colFirst\" scope=\"col\">Field</th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   252
                + "<th class=\"colLast\" scope=\"col\">Description</th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   253
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   254
                + "<tbody>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   255
                + "<tr class=\"altColor\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   256
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/DeprecatedClassByAnnotation.html#field\">pkg.DeprecatedClassByAnnotation.field</a></th>\n"
47846
4e78aba768f0 8190295: Introduce a new Table builder class
jjg
parents: 47300
diff changeset
   257
                + "<td class=\"colLast\"></td>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   258
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   259
                + "<tr class=\"rowColor\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   260
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestClass.html#field\">pkg.TestClass.field</a></th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   261
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   262
                + "<div class=\"deprecationComment\">class_test2 passes. This is the second sentence of deprecated description for a field.</div>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   263
                + "</td>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   264
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   265
                + "<tr class=\"altColor\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   266
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestError.html#field\">pkg.TestError.field</a></th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   267
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   268
                + "<div class=\"deprecationComment\">error_test2 passes.</div>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   269
                + "</td>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   270
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   271
                + "<tr class=\"rowColor\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   272
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestException.html#field\">pkg.TestException.field</a></th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   273
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   274
                + "<div class=\"deprecationComment\">exception_test2 passes.</div>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   275
                + "</td>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   276
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   277
                + "<tr class=\"altColor\">\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   278
                + "<th class=\"colDeprecatedItemName\" scope=\"row\"><a href=\"pkg/TestInterface.html#field\">pkg.TestInterface.field</a></th>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   279
                + "<td class=\"colLast\">\n"
47300
a905ce398074 8074407: javadoc: using <pre> after @deprecated tag causes warnings
bpatel
parents: 47299
diff changeset
   280
                + "<div class=\"deprecationComment\">interface_test2 passes.</div>\n"
47299
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   281
                + "</td>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   282
                + "</tr>\n"
56419ec66d4e 8169819: minor cleanup for deprecated page
bpatel
parents: 47284
diff changeset
   283
                + "</tbody>\n"
42816
3638773ff1b0 8162674: change javadoc output text and style emitted by for-removal deprecations
bpatel
parents: 36709
diff changeset
   284
                + "</table>");
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   285
    }
06bc494ca11e Initial load
duke
parents:
diff changeset
   286
}