214 215 // Check Method Summary 216 "Method Summary", 217 "#m()\">m", 218 "#n()\">n", 219 220 // Check footnotes 221 "Methods declared in interface pkg5.<a href=\"Interfaces.A.html", 222 "Interfaces.A.html#getRate()\">getRate", 223 "Interfaces.A.html#rateProperty()\">rateProperty", 224 "Interfaces.A.html#setRate(double)", 225 "Methods declared in interface pkg5.<a href=\"Interfaces.B.html", 226 "Interfaces.B.html#m1()\">m1", 227 "Interfaces.B.html#m3()\">m3", 228 "Methods declared in interface pkg5.<a href=\"Interfaces.C.html", 229 "<a href=\"Interfaces.C.html#o()\">o</a>" 230 ); 231 232 // Test synthetic values and valuesof of an enum. 233 checkOrder("index-all.html", 234 "<h2 class=\"title\">M</h2>", 235 "<a href=\"pkg5/Interfaces.C.html#m()\">m()", 236 "<a href=\"pkg5/Interfaces.D.html#m()\">m()</a>", 237 "<a href=\"pkg5/Classes.GP.html#m0()\">m0()", 238 "<a href=\"pkg5/Interfaces.A.html#m0()\">m0()</a>", 239 "<a href=\"pkg5/Classes.C.html#m1()\">m1()</a>", 240 "<a href=\"pkg5/Classes.P.html#m1()\">m1()</a>", 241 "<a href=\"pkg5/Interfaces.A.html#m1()\">m1()</a>", 242 "<a href=\"pkg5/Interfaces.B.html#m1()\">m1()</a>", 243 "<a href=\"pkg5/Classes.P.html#m2()\">m2()</a>", 244 "<a href=\"pkg5/Interfaces.A.html#m2()\">m2()</a>", 245 "<a href=\"pkg5/Classes.P.html#m3()\">m3()</a>", 246 "<a href=\"pkg5/Interfaces.A.html#m3()\">m3()</a>", 247 "<a href=\"pkg5/Interfaces.B.html#m3()\">m3()</a>", 248 "<a href=\"pkg5/Classes.C.html#m4(java.lang.String,java.lang.String)\">m4(String, String)</a>", 249 "<a href=\"pkg5/Classes.P.html#m4(K,V)\">m4(K, V)</a>", 250 "<a href=\"pkg5/Classes.P.html#m5()\">m5()</a>", 251 "<a href=\"pkg5/Classes.C.html#m6()\">m6()</a>", 252 "<a href=\"pkg5/Classes.P.html#m6()\">m6()</a>", 253 "<a href=\"pkg5/Classes.C.html#m7()\">m7()</a>", 254 "<a href=\"pkg5/Classes.GP.html#m7()\">m7()</a>", 255 "Returns the enum constant of this type with the specified name.", 256 "Returns an array containing the constants of this enum type, in\n" + 257 "the order they are declared." 258 ); 259 260 // Check methods with covariant return types 261 // Only m2 should be shown in summary; m1 and m3 should listed as declared in Base 262 checkOutput("pkg6/Sub.html", true, 263 "<table aria-labelledby=\"t0\">\n" 264 + "<thead>\n" 265 + "<tr>\n" 266 + "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" 267 + "<th class=\"colSecond\" scope=\"col\">Method</th>\n" 268 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 269 + "</tr>\n" 270 + "</thead>\n" 271 + "<tbody>\n" 272 + "<tr class=\"altColor\" id=\"i0\">\n" 273 + "<td class=\"colFirst\"><code>java.lang.String</code></td>\n" 274 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"#m2()\">m2</a></span>()</code></th>\n" 275 + "<td class=\"colLast\">\n" 276 + "<div class=\"block\">This is Base::m2.</div>\n" 277 + "</td>\n" 278 + "</tr>\n" 279 + "</tbody>\n" 280 + "</table>\n", 281 "<div class=\"inheritedList\">\n" 282 + "<h3>Methods declared in class pkg6.<a href=\"Base.html\" title=\"class in pkg6\">Base</a></h3>\n" 283 + "<a id=\"methods.inherited.from.class.pkg6.Base\">\n" 284 + "<!-- -->\n" 285 + "</a><code><a href=\"Base.html#m1()\">m1</a>, <a href=\"Base.html#m3()\">m3</a></code></div>\n"); 286 } 287 } | 214 215 // Check Method Summary 216 "Method Summary", 217 "#m()\">m", 218 "#n()\">n", 219 220 // Check footnotes 221 "Methods declared in interface pkg5.<a href=\"Interfaces.A.html", 222 "Interfaces.A.html#getRate()\">getRate", 223 "Interfaces.A.html#rateProperty()\">rateProperty", 224 "Interfaces.A.html#setRate(double)", 225 "Methods declared in interface pkg5.<a href=\"Interfaces.B.html", 226 "Interfaces.B.html#m1()\">m1", 227 "Interfaces.B.html#m3()\">m3", 228 "Methods declared in interface pkg5.<a href=\"Interfaces.C.html", 229 "<a href=\"Interfaces.C.html#o()\">o</a>" 230 ); 231 232 // Test synthetic values and valuesof of an enum. 233 checkOrder("index-all.html", 234 "<h2 class=\"title\" id=\"I:M\">M</h2>", 235 "<a href=\"pkg5/Interfaces.C.html#m()\">m()", 236 "<a href=\"pkg5/Interfaces.D.html#m()\">m()</a>", 237 "<a href=\"pkg5/Classes.GP.html#m0()\">m0()", 238 "<a href=\"pkg5/Interfaces.A.html#m0()\">m0()</a>", 239 "<a href=\"pkg5/Classes.C.html#m1()\">m1()</a>", 240 "<a href=\"pkg5/Classes.P.html#m1()\">m1()</a>", 241 "<a href=\"pkg5/Interfaces.A.html#m1()\">m1()</a>", 242 "<a href=\"pkg5/Interfaces.B.html#m1()\">m1()</a>", 243 "<a href=\"pkg5/Classes.P.html#m2()\">m2()</a>", 244 "<a href=\"pkg5/Interfaces.A.html#m2()\">m2()</a>", 245 "<a href=\"pkg5/Classes.P.html#m3()\">m3()</a>", 246 "<a href=\"pkg5/Interfaces.A.html#m3()\">m3()</a>", 247 "<a href=\"pkg5/Interfaces.B.html#m3()\">m3()</a>", 248 "<a href=\"pkg5/Classes.C.html#m4(java.lang.String,java.lang.String)\">m4(String, String)</a>", 249 "<a href=\"pkg5/Classes.P.html#m4(K,V)\">m4(K, V)</a>", 250 "<a href=\"pkg5/Classes.P.html#m5()\">m5()</a>", 251 "<a href=\"pkg5/Classes.C.html#m6()\">m6()</a>", 252 "<a href=\"pkg5/Classes.P.html#m6()\">m6()</a>", 253 "<a href=\"pkg5/Classes.C.html#m7()\">m7()</a>", 254 "<a href=\"pkg5/Classes.GP.html#m7()\">m7()</a>", 255 "Returns the enum constant of this type with the specified name.", 256 "Returns an array containing the constants of this enum type, in\n" + 257 "the order they are declared." 258 ); 259 260 // Check methods with covariant return types 261 // Only m2 should be shown in summary; m1 and m3 should listed as declared in Base 262 checkOutput("pkg6/Sub.html", true, 263 "<table aria-labelledby=\"t0\">\n" 264 + "<thead>\n" 265 + "<tr>\n" 266 + "<th class=\"colFirst\" scope=\"col\">Modifier and Type</th>\n" 267 + "<th class=\"colSecond\" scope=\"col\">Method</th>\n" 268 + "<th class=\"colLast\" scope=\"col\">Description</th>\n" 269 + "</tr>\n" 270 + "</thead>\n" 271 + "<tbody>\n" 272 + "<tr class=\"altColor\" id=\"i0\">\n" 273 + "<td class=\"colFirst\"><code>java.lang.String</code></td>\n" 274 + "<th class=\"colSecond\" scope=\"row\"><code><span class=\"memberNameLink\"><a href=\"#m2()\">m2</a></span>()</code></th>\n" 275 + "<td class=\"colLast\">\n" 276 + "<div class=\"block\">This is Base::m2.</div>\n" 277 + "</td>\n" 278 + "</tr>\n" 279 + "</tbody>\n" 280 + "</table>\n", 281 "<div class=\"inheritedList\">\n" 282 + "<h3 id=\"methods.inherited.from.class.pkg6.Base\">Methods declared in class pkg6." 283 + "<a href=\"Base.html\" title=\"class in pkg6\">Base</a></h3>\n" 284 + "<code><a href=\"Base.html#m1()\">m1</a>, <a href=\"Base.html#m3()\">m3</a></code></div>\n"); 285 } 286 } |