langtools/test/com/sun/javadoc/testProfiles/TestProfiles.java
author bpatel
Wed, 23 Oct 2013 13:54:13 -0700
changeset 21494 eb34dbccfb60
parent 21478 fa4c7cda1b41
child 23971 f5ff1f5a8dee
permissions -rw-r--r--
8026770: javadoc creates invalid HTML in profile summary pages Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     1
/*
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     2
 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     4
 *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     8
 *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    13
 * accompanied this code).
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    14
 *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    18
 *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    21
 * questions.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    22
 */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    23
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    24
/*
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    25
 * @test
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    26
 * @bug      8006124 8009684 8016921 8023700 8024096 8008164 8026567 8026770
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    27
 * @summary  Test javadoc support for profiles.
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
    28
 * @author   Bhavesh Patel, Evgeniya Stepanova
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    29
 * @library  ../lib/
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    30
 * @build    JavadocTester TestProfiles
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    31
 * @run main TestProfiles
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    32
 */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    33
public class TestProfiles extends JavadocTester {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    34
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    35
    //Test information.
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
    36
    private static final String BUG_ID = "8006124-8009684-8016921";
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    37
    private static final String PROFILE_BUG_ID = BUG_ID + "-1";
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    38
    private static final String PACKAGE_BUG_ID = BUG_ID + "-2";
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    39
    //Javadoc arguments.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    40
    private static final String[] ARGS1 = new String[]{
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
    41
        "-d", PROFILE_BUG_ID, "-sourcepath", SRC_DIR, "-Xprofilespath",
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
    42
         SRC_DIR + FS + "profile-rtjar-includes.txt", "pkg1", "pkg2",
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
    43
         "pkg3", "pkg4", "pkg5", "pkgDeprecated"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    44
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    45
    private static final String[] ARGS2 = new String[]{
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    46
        "-d", PACKAGE_BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2", "pkg3", "pkg4", "pkg5"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    47
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    48
    //Input for string tests for profiles.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    49
    private static final String[][] PROFILES_TEST = {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    50
        // Tests for profile-overview-frame.html listing all profiles.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    51
        {PROFILE_BUG_ID + FS + "profile-overview-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    52
            "<span><a href=\"overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    53
            + "target=\"packageListFrame\">All&nbsp;Packages</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    54
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    55
        {PROFILE_BUG_ID + FS + "profile-overview-frame.html",
16547
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
    56
            "<li><a href=\"compact1-frame.html\" target=\"packageListFrame\">"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    57
            + "compact1</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    58
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    59
        // Tests for profileName-frame.html listing all packages in a profile.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    60
        {PROFILE_BUG_ID + FS + "compact2-frame.html",
16547
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
    61
            "<span><a href=\"overview-frame.html\" target=\"packageListFrame\">"
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    62
            + "All&nbsp;Packages</a></span><span><a href=\"profile-overview-frame.html\" "
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    63
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    64
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    65
        {PROFILE_BUG_ID + FS + "compact2-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    66
            "<li><a href=\"pkg4/compact2-package-frame.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    67
            + "target=\"packageFrame\">pkg4</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    68
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    69
        // Test for profileName-package-frame.html listing all types in a
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    70
        // package of a profile.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    71
        {PROFILE_BUG_ID + FS + "pkg2" + FS + "compact2-package-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    72
            "<a href=\"../compact2-summary.html\" target=\"classFrame\">"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    73
            + "compact2</a> - <a href=\"../pkg2/compact2-package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    74
            + "target=\"classFrame\">pkg2</a>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    75
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    76
        // Tests for profileName-summary.html listing the summary for a profile.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    77
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    78
            "<li><a href=\"compact1-summary.html\">Prev&nbsp;Profile</a></li>" + NL
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    79
            + "<li><a href=\"compact3-summary.html\">Next&nbsp;Profile</a></li>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    80
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    81
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    82
            "<h1 title=\"Profile\" class=\"title\">Profile&nbsp;compact2</h1>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    83
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    84
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    85
            "<h3><a href=\"pkg2/compact2-package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    86
            + "target=\"classFrame\">pkg2</a></h3>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    87
        },
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    88
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    89
            "<ul class=\"blockList\">" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    90
            + "<h3><a href=\"pkg2/compact2-package-summary.html\" target=\"classFrame\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    91
            + "pkg2</a></h3>" + NL + "<table class=\"typeSummary\" border=\"0\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    92
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    93
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    94
        },
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    95
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    96
            "<ul class=\"blockList\">" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    97
            + "<h3><a href=\"pkg4/compact2-package-summary.html\" target=\"classFrame\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    98
            + "pkg4</a></h3>" + NL + "<table class=\"typeSummary\" border=\"0\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    99
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   100
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   101
        },
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   102
        // Tests for profileName-package-summary.html listing the summary for a
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   103
        // package in a profile.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   104
        {PROFILE_BUG_ID + FS + "pkg5" + FS + "compact3-package-summary.html",
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   105
            "<li><a href=\"../pkg4/compact3-package-summary.html\">Prev&nbsp;Package"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   106
            + "</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   107
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   108
        {PROFILE_BUG_ID + FS + "pkg5" + FS + "compact3-package-summary.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   109
            "<div class=\"subTitle\">compact3</div>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   110
        },
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   111
        {PROFILE_BUG_ID + FS + "pkg5" + FS + "compact3-package-summary.html",
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   112
            "<ul class=\"blockList\">" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   113
            + "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   114
            + "cellspacing=\"0\" summary=\"Interface Summary table, listing "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   115
            + "interfaces, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   116
        },
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   117
        //Test for "overview-frame.html" showing the "All Profiles" link.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   118
        {PROFILE_BUG_ID + FS + "overview-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   119
            "<span><a href=\"profile-overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   120
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   121
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   122
        //Test for "className.html" showing the profile information for the type.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   123
        {PROFILE_BUG_ID + FS + "pkg2" + FS + "Class1Pkg2.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   124
            "<div class=\"subTitle\">compact1, compact2, compact3</div>"
16547
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
   125
        },
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
   126
        {PROFILE_BUG_ID + FS + "index.html",
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
   127
            "<frame src=\"overview-frame.html\" name=\"packageListFrame\" " +
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
   128
            "title=\"All Packages\">"
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   129
        },
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   130
        //Test for "overview-summary.html" showing the profile list.
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   131
        {PROFILE_BUG_ID + FS + "overview-summary.html",
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   132
            "<ul>" + NL +"<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   133
            "compact1</a></li>" + NL + "<li><a href=\"compact2-summary.html\" " +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   134
            "target=\"classFrame\">compact2</a></li>" + NL + "<li><a href=\"" +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   135
            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>" + NL +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   136
            "</ul>"
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   137
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   138
        //Test deprecated class in profiles
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   139
        {PROFILE_BUG_ID + FS + "compact1-summary.html","<td class=\"colFirst\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   140
            + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">Class1Pkg2</a></td>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   141
            + NL + "<td class=\"colLast\">Deprecated"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   142
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   143
        {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   144
            + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">pkg2.Class1Pkg2</a>"
21478
fa4c7cda1b41 8026567: Use meaningful style names for strong and italic styles.
bpatel
parents: 20613
diff changeset
   145
            + NL +"<div class=\"block\"><span class=\"deprecationComment\">Class1Pkg2. This class is deprecated</span></div>"
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   146
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   147
        //Test deprecated package in profile
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   148
        {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   149
            + "<a href=\"pkgDeprecated/package-summary.html\">pkgDeprecated</a>"
21478
fa4c7cda1b41 8026567: Use meaningful style names for strong and italic styles.
bpatel
parents: 20613
diff changeset
   150
            + NL +"<div class=\"block\"><span class=\"deprecationComment\">This package is <b>Deprecated</b>."
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   151
            + " Use pkg1.</span></div>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   152
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   153
        {PROFILE_BUG_ID + FS + "pkgDeprecated" + FS + "package-summary.html",
21478
fa4c7cda1b41 8026567: Use meaningful style names for strong and italic styles.
bpatel
parents: 20613
diff changeset
   154
            "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>"
fa4c7cda1b41 8026567: Use meaningful style names for strong and italic styles.
bpatel
parents: 20613
diff changeset
   155
            + NL + "<div class=\"block\"><span class=\"deprecationComment\">This package is <b>Deprecated</b>."
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   156
            + " Use pkg1.</span></div>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   157
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   158
        // need to add teststring when JDK-8015496 will be fixed
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   159
        //Test exception in profiles
20613
ab4801a53abb 8008164: Invisible table captions in javadoc-generated html
bpatel
parents: 20238
diff changeset
   160
        {PROFILE_BUG_ID + FS + "compact1-summary.html","<table class=\"typeSummary\" "
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   161
            + "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" "
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   162
            + "summary=\"Exception Summary table, listing exceptions, and an explanation\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   163
            + NL + "<caption><span>Exception Summary</span><span class=\"tabEnd\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   164
            + "&nbsp;</span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\" "
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   165
            + "scope=\"col\">Exception</th>" + NL + "<th class=\"colLast\" scope=\"col\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   166
            + "Description</th>" + NL + "</tr>" + NL + "<tbody>" + NL + "<tr class=\"altColor\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   167
            + NL + "<td class=\"colFirst\"><a href=\"pkg2/ClassException.html\""
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   168
            + " title=\"class in pkg2\">ClassException</a></td>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   169
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   170
        //Test errors in profiles
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   171
        {PROFILE_BUG_ID + FS + "compact1-summary.html",
20613
ab4801a53abb 8008164: Invisible table captions in javadoc-generated html
bpatel
parents: 20238
diff changeset
   172
            "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" "
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   173
            + "summary=\"Error Summary table, listing errors, and an explanation\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   174
            + NL + "<caption><span>Error Summary</span><span class=\"tabEnd\">&nbsp;"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   175
            + "</span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\""
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   176
            + " scope=\"col\">Error</th>" + NL + "<th class=\"colLast\" "
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   177
            + "scope=\"col\">Description</th>" + NL + "</tr>" + NL + "<tbody>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   178
            + NL + "<tr class=\"altColor\">" + NL + "<td class=\"colFirst\">"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   179
            + "<a href=\"pkg2/ClassError.html\" title=\"class in pkg2\">ClassError</a></td>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   180
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   181
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   182
    private static final String[][] PROFILES_NEGATED_TEST = {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   183
        {PROFILE_BUG_ID + FS + "pkg3" + FS + "Class2Pkg3.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   184
            "<div class=\"subTitle\">compact1"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   185
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   186
        {PROFILE_BUG_ID + FS + "pkg3" + FS + "Interface1Pkg3.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   187
            "<div class=\"subTitle\">compact1"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   188
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   189
        {PROFILE_BUG_ID + FS + "pkg4" + FS + "compact2-package-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   190
            "<li><a href=\"Anno1Pkg4.html\" title=\"annotation in pkg4\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   191
            + "target=\"classFrame\">Anno1Pkg4</a></li>"
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   192
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   193
        {PROFILE_BUG_ID + FS + "compact1-summary.html","<li>Use</li>"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   194
        },
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   195
        {PROFILE_BUG_ID + FS + "compact2-summary.html",
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   196
            "<ul class=\"blockList\">" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   197
            + "<h3><a href=\"pkg2/compact2-package-summary.html\" target=\"classFrame\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   198
            + "pkg2</a></h3>" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   199
            + "<table class=\"typeSummary\" border=\"0\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   200
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   201
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   202
        },
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   203
        {PROFILE_BUG_ID + FS + "pkg5" + FS + "compact3-package-summary.html",
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   204
            "<ul class=\"blockList\">" + NL + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   205
            + "<li class=\"blockList\">" + NL
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   206
            + "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   207
            + "cellspacing=\"0\" summary=\"Interface Summary table, listing "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   208
            + "interfaces, and an explanation\">"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   209
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   210
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   211
    private static final String[][] PACKAGES_TEST = {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   212
        {PACKAGE_BUG_ID + FS + "overview-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   213
            "<h2 title=\"Packages\">Packages</h2>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   214
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   215
        {PACKAGE_BUG_ID + FS + "pkg4" + FS + "package-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   216
            "<h1 class=\"bar\"><a href=\"../pkg4/package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   217
            + "target=\"classFrame\">pkg4</a></h1>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   218
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   219
        {PACKAGE_BUG_ID + FS + "pkg4" + FS + "package-summary.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   220
            "<div class=\"header\">" + NL + "<h1 title=\"Package\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   221
            + "class=\"title\">Package&nbsp;pkg4</h1>" + NL + "</div>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   222
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   223
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   224
    private static final String[][] PACKAGES_NEGATED_TEST = {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   225
        {PACKAGE_BUG_ID + FS + "overview-frame.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   226
            "<span><a href=\"profile-overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   227
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   228
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   229
        {PACKAGE_BUG_ID + FS + "pkg2" + FS + "Class1Pkg2.html",
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   230
            "<div class=\"subTitle\">compact1, compact2, compact3</div>"
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   231
        },
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   232
        {PACKAGE_BUG_ID + FS + "overview-summary.html",
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   233
            "<ul>" + NL +"<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   234
            "compact1</a></li>" + NL + "<li><a href=\"compact2-summary.html\" " +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   235
            "target=\"classFrame\">compact2</a></li>" + NL + "<li><a href=\"" +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   236
            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>" + NL +
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   237
            "</ul>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   238
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   239
    };
20238
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   240
    private static final String[] PACKAGES_NEGATED_FILE_TEST = {
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   241
        PACKAGE_BUG_ID + FS + "profile-overview-frame.html",
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   242
        PACKAGE_BUG_ID + FS + "compact2-frame.html",
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   243
        PACKAGE_BUG_ID + FS + "pkg2" + FS + "compact2-package-frame.html",
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   244
        PACKAGE_BUG_ID + FS + "compact2-summary.html",
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   245
        PACKAGE_BUG_ID + FS + "pkg5" + FS + "compact3-package-summary.html"
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   246
    };
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   247
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   248
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   249
     * The entry point of the test.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   250
     *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   251
     * @param args the array of command line arguments.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   252
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   253
    public static void main(String[] args) {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   254
        TestProfiles tester = new TestProfiles();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   255
        run(tester, ARGS1, PROFILES_TEST, PROFILES_NEGATED_TEST);
20238
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   256
        run(tester, ARGS2, PACKAGES_TEST, PACKAGES_NEGATED_TEST, NO_FILE_TEST, PACKAGES_NEGATED_FILE_TEST);
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   257
        tester.printSummary();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   258
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   259
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   260
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   261
     * {@inheritDoc}
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   262
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   263
    public String getBugId() {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   264
        return BUG_ID;
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   265
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   266
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   267
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   268
     * {@inheritDoc}
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   269
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   270
    public String getBugName() {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   271
        return getClass().getName();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   272
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   273
}