langtools/test/com/sun/javadoc/testProfiles/TestProfiles.java
changeset 21478 fa4c7cda1b41
parent 20613 ab4801a53abb
child 21494 eb34dbccfb60
equal deleted inserted replaced
21477:02dc78554e0c 21478:fa4c7cda1b41
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug      8006124 8009684 8016921 8023700 8024096 8008164
    26  * @bug      8006124 8009684 8016921 8023700 8024096 8008164 8026567
    27  * @summary  Test javadoc support for profiles.
    27  * @summary  Test javadoc support for profiles.
    28  * @author   Bhavesh Patel, Evgeniya Stepanova
    28  * @author   Bhavesh Patel, Evgeniya Stepanova
    29  * @library  ../lib/
    29  * @library  ../lib/
    30  * @build    JavadocTester TestProfiles
    30  * @build    JavadocTester TestProfiles
    31  * @run main TestProfiles
    31  * @run main TestProfiles
   120             + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">Class1Pkg2</a></td>"
   120             + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">Class1Pkg2</a></td>"
   121             + NL + "<td class=\"colLast\">Deprecated"
   121             + NL + "<td class=\"colLast\">Deprecated"
   122         },
   122         },
   123         {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
   123         {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
   124             + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">pkg2.Class1Pkg2</a>"
   124             + "<a href=\"pkg2/Class1Pkg2.html\" title=\"class in pkg2\">pkg2.Class1Pkg2</a>"
   125             + NL +"<div class=\"block\"><span class=\"italic\">Class1Pkg2. This class is deprecated</span></div>"
   125             + NL +"<div class=\"block\"><span class=\"deprecationComment\">Class1Pkg2. This class is deprecated</span></div>"
   126         },
   126         },
   127         //Test deprecated package in profile
   127         //Test deprecated package in profile
   128         {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
   128         {PROFILE_BUG_ID + FS + "deprecated-list.html","<td class=\"colOne\">"
   129             + "<a href=\"pkgDeprecated/package-summary.html\">pkgDeprecated</a>"
   129             + "<a href=\"pkgDeprecated/package-summary.html\">pkgDeprecated</a>"
   130             + NL +"<div class=\"block\"><span class=\"italic\">This package is <b>Deprecated</b>."
   130             + NL +"<div class=\"block\"><span class=\"deprecationComment\">This package is <b>Deprecated</b>."
   131             + " Use pkg1.</span></div>"
   131             + " Use pkg1.</span></div>"
   132         },
   132         },
   133         {PROFILE_BUG_ID + FS + "pkgDeprecated" + FS + "package-summary.html",
   133         {PROFILE_BUG_ID + FS + "pkgDeprecated" + FS + "package-summary.html",
   134             "<div class=\"deprecatedContent\"><span class=\"strong\">Deprecated.</span>"
   134             "<div class=\"deprecatedContent\"><span class=\"deprecatedLabel\">Deprecated.</span>"
   135             + NL + "<div class=\"block\"><span class=\"italic\">This package is <b>Deprecated</b>."
   135             + NL + "<div class=\"block\"><span class=\"deprecationComment\">This package is <b>Deprecated</b>."
   136             + " Use pkg1.</span></div>"
   136             + " Use pkg1.</span></div>"
   137         },
   137         },
   138         // need to add teststring when JDK-8015496 will be fixed
   138         // need to add teststring when JDK-8015496 will be fixed
   139         //Test exception in profiles
   139         //Test exception in profiles
   140         {PROFILE_BUG_ID + FS + "compact1-summary.html","<table class=\"typeSummary\" "
   140         {PROFILE_BUG_ID + FS + "compact1-summary.html","<table class=\"typeSummary\" "