21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8006124 8009684 8016921 8023700 8024096 |
26 * @bug 8006124 8009684 8016921 8023700 8024096 8008164 |
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 |
135 + NL + "<div class=\"block\"><span class=\"italic\">This package is <b>Deprecated</b>." |
135 + NL + "<div class=\"block\"><span class=\"italic\">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=\"packageSummary\" " |
140 {PROFILE_BUG_ID + FS + "compact1-summary.html","<table class=\"typeSummary\" " |
141 + "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " |
141 + "border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " |
142 + "summary=\"Exception Summary table, listing exceptions, and an explanation\">" |
142 + "summary=\"Exception Summary table, listing exceptions, and an explanation\">" |
143 + NL + "<caption><span>Exception Summary</span><span class=\"tabEnd\">" |
143 + NL + "<caption><span>Exception Summary</span><span class=\"tabEnd\">" |
144 + " </span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\" " |
144 + " </span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\" " |
145 + "scope=\"col\">Exception</th>" + NL + "<th class=\"colLast\" scope=\"col\">" |
145 + "scope=\"col\">Exception</th>" + NL + "<th class=\"colLast\" scope=\"col\">" |
147 + NL + "<td class=\"colFirst\"><a href=\"pkg2/ClassException.html\"" |
147 + NL + "<td class=\"colFirst\"><a href=\"pkg2/ClassException.html\"" |
148 + " title=\"class in pkg2\">ClassException</a></td>" |
148 + " title=\"class in pkg2\">ClassException</a></td>" |
149 }, |
149 }, |
150 //Test errors in profiles |
150 //Test errors in profiles |
151 {PROFILE_BUG_ID + FS + "compact1-summary.html", |
151 {PROFILE_BUG_ID + FS + "compact1-summary.html", |
152 "<table class=\"packageSummary\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " |
152 "<table class=\"typeSummary\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" " |
153 + "summary=\"Error Summary table, listing errors, and an explanation\">" |
153 + "summary=\"Error Summary table, listing errors, and an explanation\">" |
154 + NL + "<caption><span>Error Summary</span><span class=\"tabEnd\"> " |
154 + NL + "<caption><span>Error Summary</span><span class=\"tabEnd\"> " |
155 + "</span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\"" |
155 + "</span></caption>" + NL + "<tr>" + NL + "<th class=\"colFirst\"" |
156 + " scope=\"col\">Error</th>" + NL + "<th class=\"colLast\" " |
156 + " scope=\"col\">Error</th>" + NL + "<th class=\"colLast\" " |
157 + "scope=\"col\">Description</th>" + NL + "</tr>" + NL + "<tbody>" |
157 + "scope=\"col\">Description</th>" + NL + "</tr>" + NL + "<tbody>" |