langtools/test/com/sun/javadoc/testProfiles/TestProfiles.java
author jjg
Wed, 16 Apr 2014 16:17:09 -0700
changeset 23971 f5ff1f5a8dee
parent 21494 eb34dbccfb60
child 24065 fc4022e50129
permissions -rw-r--r--
8031649: Clean up javadoc tests Reviewed-by: jjg Contributed-by: neil.toda@oracle.com
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
/*
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
     2
 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
15723
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",
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    42
         SRC_DIR + "/profile-rtjar-includes.txt", "pkg1", "pkg2",
19913
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[]{
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    46
        "-d", PACKAGE_BUG_ID, "-sourcepath", SRC_DIR, "pkg1", "pkg2",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    47
        "pkg3", "pkg4", "pkg5"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    48
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    49
    //Input for string tests for profiles.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    50
    private static final String[][] PROFILES_TEST = {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    51
        // Tests for profile-overview-frame.html listing all profiles.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    52
        {PROFILE_BUG_ID + "/profile-overview-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    53
            "<span><a href=\"overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    54
            + "target=\"packageListFrame\">All&nbsp;Packages</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    55
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    56
        {PROFILE_BUG_ID + "/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
    57
            "<li><a href=\"compact1-frame.html\" target=\"packageListFrame\">"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    58
            + "compact1</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    59
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    60
        // Tests for profileName-frame.html listing all packages in a profile.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    61
        {PROFILE_BUG_ID + "/compact2-frame.html",
16547
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
    62
            "<span><a href=\"overview-frame.html\" target=\"packageListFrame\">"
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    63
            + "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
    64
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    65
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    66
        {PROFILE_BUG_ID + "/compact2-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    67
            "<li><a href=\"pkg4/compact2-package-frame.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    68
            + "target=\"packageFrame\">pkg4</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    69
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    70
        // 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
    71
        // package of a profile.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    72
        {PROFILE_BUG_ID + "/pkg2/compact2-package-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    73
            "<a href=\"../compact2-summary.html\" target=\"classFrame\">"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    74
            + "compact2</a> - <a href=\"../pkg2/compact2-package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    75
            + "target=\"classFrame\">pkg2</a>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    76
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    77
        // Tests for profileName-summary.html listing the summary for a profile.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    78
        {PROFILE_BUG_ID + "/compact2-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    79
            "<li><a href=\"compact1-summary.html\">Prev&nbsp;Profile</a></li>\n"
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
    80
            + "<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
    81
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    82
        {PROFILE_BUG_ID + "/compact2-summary.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    83
            "<h1 title=\"Profile\" class=\"title\">Profile&nbsp;compact2</h1>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    84
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    85
        {PROFILE_BUG_ID + "/compact2-summary.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    86
            "<h3><a href=\"pkg2/compact2-package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    87
            + "target=\"classFrame\">pkg2</a></h3>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
    88
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    89
        {PROFILE_BUG_ID + "/compact2-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    90
            "<ul class=\"blockList\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    91
            "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    92
            + "<h3><a href=\"pkg2/compact2-package-summary.html\" target=\"classFrame\">"
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    93
            + "pkg2</a></h3>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    94
            "<table class=\"typeSummary\" border=\"0\" "
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    95
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    96
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
    97
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    98
        {PROFILE_BUG_ID + "/compact2-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
    99
            "<ul class=\"blockList\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   100
            "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   101
            + "<h3><a href=\"pkg4/compact2-package-summary.html\" target=\"classFrame\">"
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   102
            + "pkg4</a></h3>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   103
            "<table class=\"typeSummary\" border=\"0\" "
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   104
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   105
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   106
        },
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   107
        // 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
   108
        // package in a profile.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   109
        {PROFILE_BUG_ID + "/pkg5/compact3-package-summary.html",
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   110
            "<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
   111
            + "</a></li>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   112
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   113
        {PROFILE_BUG_ID + "/pkg5/compact3-package-summary.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   114
            "<div class=\"subTitle\">compact3</div>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   115
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   116
        {PROFILE_BUG_ID + "/pkg5/compact3-package-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   117
            "<ul class=\"blockList\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   118
            "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   119
            + "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   120
            + "cellspacing=\"0\" summary=\"Interface Summary table, listing "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   121
            + "interfaces, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   122
        },
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   123
        //Test for "overview-frame.html" showing the "All Profiles" link.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   124
        {PROFILE_BUG_ID + "/overview-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   125
            "<span><a href=\"profile-overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   126
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   127
        },
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   128
        //Test for "className.html" showing the profile information for the type.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   129
        {PROFILE_BUG_ID + "/pkg2/Class1Pkg2.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   130
            "<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
   131
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   132
        {PROFILE_BUG_ID + "/index.html",
16547
3dd72ee2623d 8009684: Default top left frame should be "All Packages" in the generated javadoc documentation
bpatel
parents: 15723
diff changeset
   133
            "<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
   134
            "title=\"All Packages\">"
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   135
        },
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   136
        //Test for "overview-summary.html" showing the profile list.
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   137
        {PROFILE_BUG_ID + "/overview-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   138
            "<ul>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   139
            "<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   140
            "compact1</a></li>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   141
            "<li><a href=\"compact2-summary.html\" " +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   142
            "target=\"classFrame\">compact2</a></li>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   143
            "<li><a href=\"" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   144
            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>\n" +
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   145
            "</ul>"
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 class in profiles
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   148
        {PROFILE_BUG_ID + "/compact1-summary.html","<td class=\"colFirst\">"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   149
            + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">Class1Pkg2</a></td>\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   150
            + "<td class=\"colLast\">Deprecated"
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   151
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   152
        {PROFILE_BUG_ID + "/deprecated-list.html","<td class=\"colOne\">"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   153
            + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">pkg2.Class1Pkg2</a>\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   154
            +"<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
   155
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   156
        //Test deprecated package in profile
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   157
        {PROFILE_BUG_ID + "/deprecated-list.html","<td class=\"colOne\">"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   158
            + "<a href=\"pkgDeprecated/package-summary.html\">pkgDeprecated</a>\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   159
            +"<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
   160
            + " Use pkg1.</span></div>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   161
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   162
        {PROFILE_BUG_ID + "/pkgDeprecated/package-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   163
            "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   164
            + "<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
   165
            + " Use pkg1.</span></div>"
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   166
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   167
        // 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
   168
        //Test exception in profiles
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   169
        {PROFILE_BUG_ID + "/compact1-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   170
            "<table class=\"typeSummary\" "
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   171
            + "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" "
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   172
            + "summary=\"Exception Summary table, listing exceptions, and an explanation\">\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   173
            + "<caption><span>Exception Summary</span><span class=\"tabEnd\">"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   174
            + "&nbsp;</span></caption>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   175
            "<tr>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   176
            "<th class=\"colFirst\" "
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   177
            + "scope=\"col\">Exception</th>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   178
            "<th class=\"colLast\" scope=\"col\">"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   179
            + "Description</th>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   180
            "</tr>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   181
            "<tbody>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   182
            "<tr class=\"altColor\">\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   183
            + "<td class=\"colFirst\"><a href=\"pkg2/ClassException.html\""
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   184
            + " 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
   185
        },
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   186
        //Test errors in profiles
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   187
        {PROFILE_BUG_ID + "/compact1-summary.html",
20613
ab4801a53abb 8008164: Invisible table captions in javadoc-generated html
bpatel
parents: 20238
diff changeset
   188
            "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" "
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   189
            + "summary=\"Error Summary table, listing errors, and an explanation\">\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   190
            + "<caption><span>Error Summary</span><span class=\"tabEnd\">&nbsp;"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   191
            + "</span></caption>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   192
            "<tr>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   193
            "<th class=\"colFirst\""
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   194
            + " scope=\"col\">Error</th>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   195
            "<th class=\"colLast\" "
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   196
            + "scope=\"col\">Description</th>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   197
            "</tr>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   198
            "<tbody>\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   199
            + "<tr class=\"altColor\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   200
            "<td class=\"colFirst\">"
19913
2adc7be8a60b 8015663: Need to supply tests to provide javadoc for profiles support code coverage
jjg
parents: 19907
diff changeset
   201
            + "<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
   202
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   203
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   204
    private static final String[][] PROFILES_NEGATED_TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   205
        {PROFILE_BUG_ID + "/pkg3/Class2Pkg3.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   206
            "<div class=\"subTitle\">compact1"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   207
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   208
        {PROFILE_BUG_ID + "/pkg3/Interface1Pkg3.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   209
            "<div class=\"subTitle\">compact1"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   210
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   211
        {PROFILE_BUG_ID + "/pkg4/compact2-package-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   212
            "<li><a href=\"Anno1Pkg4.html\" title=\"annotation in pkg4\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   213
            + "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
   214
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   215
        {PROFILE_BUG_ID + "/compact1-summary.html","<li>Use</li>"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   216
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   217
        {PROFILE_BUG_ID + "/compact2-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   218
            "<ul class=\"blockList\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   219
            "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   220
            + "<h3><a href=\"pkg2/compact2-package-summary.html\" target=\"classFrame\">"
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   221
            + "pkg2</a></h3>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   222
            "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   223
            + "<table class=\"typeSummary\" border=\"0\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   224
            + "cellpadding=\"3\" cellspacing=\"0\" summary=\"Class Summary table, "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   225
            + "listing classes, and an explanation\">"
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   226
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   227
        {PROFILE_BUG_ID + "/pkg5/compact3-package-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   228
            "<ul class=\"blockList\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   229
            "<li class=\"blockList\">\n"
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   230
            + "<li class=\"blockList\">\n"
21494
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   231
            + "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   232
            + "cellspacing=\"0\" summary=\"Interface Summary table, listing "
eb34dbccfb60 8026770: javadoc creates invalid HTML in profile summary pages
bpatel
parents: 21478
diff changeset
   233
            + "interfaces, and an explanation\">"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   234
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   235
    };
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   236
    private static final String[][] PACKAGES_TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   237
        {PACKAGE_BUG_ID + "/overview-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   238
            "<h2 title=\"Packages\">Packages</h2>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   239
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   240
        {PACKAGE_BUG_ID + "/pkg4/package-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   241
            "<h1 class=\"bar\"><a href=\"../pkg4/package-summary.html\" "
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   242
            + "target=\"classFrame\">pkg4</a></h1>"
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   243
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   244
        {PACKAGE_BUG_ID + "/pkg4/package-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   245
            "<div class=\"header\">\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   246
            "<h1 title=\"Package\" "
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   247
            + "class=\"title\">Package&nbsp;pkg4</h1>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   248
            "</div>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   249
        }
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
    private static final String[][] PACKAGES_NEGATED_TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   252
        {PACKAGE_BUG_ID + "/overview-frame.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   253
            "<span><a href=\"profile-overview-frame.html\" "
19907
41ae54351dea 8023700: Use non breaking space in various labels
jjg
parents: 19499
diff changeset
   254
            + "target=\"packageListFrame\">All&nbsp;Profiles</a></span>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   255
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   256
        {PACKAGE_BUG_ID + "/pkg2/Class1Pkg2.html",
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   257
            "<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
   258
        },
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   259
        {PACKAGE_BUG_ID + "/overview-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   260
            "<ul>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   261
            "<li><a href=\"compact1-summary.html\" target=\"classFrame\">" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   262
            "compact1</a></li>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   263
            "<li><a href=\"compact2-summary.html\" " +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   264
            "target=\"classFrame\">compact2</a></li>\n" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   265
            "<li><a href=\"" +
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   266
            "compact3-summary.html\" target=\"classFrame\">compact3</a></li>\n" +
19499
23bc1014824b 8016921: Change the profiles table on overview-summary.html page to a list
bpatel
parents: 16547
diff changeset
   267
            "</ul>"
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   268
        }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   269
    };
20238
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   270
    private static final String[] PACKAGES_NEGATED_FILE_TEST = {
23971
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   271
        PACKAGE_BUG_ID + "/profile-overview-frame.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   272
        PACKAGE_BUG_ID + "/compact2-frame.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   273
        PACKAGE_BUG_ID + "/pkg2/compact2-package-frame.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   274
        PACKAGE_BUG_ID + "/compact2-summary.html",
f5ff1f5a8dee 8031649: Clean up javadoc tests
jjg
parents: 21494
diff changeset
   275
        PACKAGE_BUG_ID + "/pkg5/compact3-package-summary.html"
20238
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   276
    };
15723
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   277
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   278
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   279
     * The entry point of the test.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   280
     *
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   281
     * @param args the array of command line arguments.
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   282
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   283
    public static void main(String[] args) {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   284
        TestProfiles tester = new TestProfiles();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   285
        run(tester, ARGS1, PROFILES_TEST, PROFILES_NEGATED_TEST);
20238
a08610368936 8024096: some javadoc tests may contain false positive results
bpatel
parents: 19913
diff changeset
   286
        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
   287
        tester.printSummary();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   288
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   289
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   290
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   291
     * {@inheritDoc}
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   292
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   293
    public String getBugId() {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   294
        return BUG_ID;
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   295
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   296
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   297
    /**
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   298
     * {@inheritDoc}
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   299
     */
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   300
    public String getBugName() {
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   301
        return getClass().getName();
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   302
    }
58a73dac9ee4 8006124: javadoc/doclet should be updated to support profiles
bpatel
parents:
diff changeset
   303
}