1/* 2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24/* 25 * @test 26 * @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 27 * @summary Test the version of HTML generated by the javadoc tool. 28 * @author bpatel 29 * @library ../lib 30 * @modules jdk.javadoc/jdk.javadoc.internal.tool 31 * @build JavadocTester 32 * @run main TestHtmlVersion 33 */ 34 35public class TestHtmlVersion extends JavadocTester { 36 37 public static void main(String... args) throws Exception { 38 TestHtmlVersion tester = new TestHtmlVersion(); 39 tester.runTests(); 40 } 41 42 @Test 43 void test1() { 44 javadoc("-d", "out-1", "-private", "-linksource", "-html5", 45 "-sourcepath", testSrc, 46 "-use", 47 "pkg", "pkg1", "pkg2", "pkg3"); 48 checkExit(Exit.OK); 49 50 html5Output(); 51 html5NegatedOutput(); 52 } 53 54 @Test 55 void test2() { 56 javadoc("-d", "out-2", "-private", "-linksource", "-html4", 57 "-sourcepath", testSrc, 58 "-use", 59 "pkg", "pkg1", "pkg2", "pkg3"); 60 checkExit(Exit.OK); 61 62 html4Output(); 63 html4NegatedOutput(); 64 } 65 66 @Test 67 void test3() { 68 javadoc("-d", "out-3", "-private", "-linksource", 69 "-sourcepath", testSrc, 70 "-use", 71 "pkg", "pkg1", "pkg2", "pkg3"); 72 checkExit(Exit.OK); 73 74 html4Output(); 75 html4NegatedOutput(); 76 } 77 78 @Test 79 void test4() { 80 javadoc("-d", "out-4", "-private", "-linksource", "-html5", 81 "-sourcepath", testSrc, 82 "-use", 83 "pkg3"); 84 checkExit(Exit.OK); 85 } 86 87 void html5Output() { 88 // Test for overview-frame page 89 checkOutput("overview-frame.html", true, 90 "<!DOCTYPE HTML>", 91 "<meta name=\"dc.created\"", 92 "<nav role=\"navigation\" class=\"indexNav\">\n" 93 + "<ul>\n" 94 + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>", 95 "<main role=\"main\" class=\"indexContainer\">\n" 96 + "<h2 title=\"Packages\">Packages</h2>"); 97 98 // Test for allclasses-frame page 99 checkOutput("allclasses-frame.html", true, 100 "<!DOCTYPE HTML>", 101 "<meta name=\"dc.created\"", 102 "<main role=\"main\" class=\"indexContainer\">\n" 103 + "<ul>\n" 104 + "<li>"); 105 106 // Test for allclasses-noframe page 107 checkOutput("allclasses-noframe.html", true, 108 "<!DOCTYPE HTML>", 109 "<meta name=\"dc.created\"", 110 "<main role=\"main\" class=\"indexContainer\">\n" 111 + "<ul>\n" 112 + "<li>"); 113 114 // Test for overview-summary page 115 checkOutput("overview-summary.html", true, 116 "<!DOCTYPE HTML>", 117 "<meta name=\"dc.created\"", 118 "<a id=\"navbar.top.firstrow\">\n" 119 + "<!-- -->\n" 120 + "</a>", 121 "<table class=\"overviewSummary\">\n" 122 + "<caption>", 123 "<header role=\"banner\">\n" 124 + "<nav role=\"navigation\">\n" 125 + "<div class=\"fixedNav\">\n" 126 + "<!-- ========= START OF TOP NAVBAR ======= -->", 127 "<footer role=\"contentinfo\">\n" 128 + "<nav role=\"navigation\">\n" 129 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 130 131 // Test for package-frame page 132 checkOutput("pkg/package-frame.html", true, 133 "<!DOCTYPE HTML>", 134 "<meta name=\"dc.created\"", 135 "<main role=\"main\">\n" 136 + "<h1 class=\"bar\"><a href=\"../pkg/package-summary.html\" target=\"classFrame\">pkg</a></h1>", 137 "<section role=\"region\">\n" 138 + "<h2 title=\"Interfaces\">Interfaces</h2>", 139 "<section role=\"region\">\n" 140 + "<h2 title=\"Classes\">Classes</h2>", 141 "<section role=\"region\">\n" 142 + "<h2 title=\"Enums\">Enums</h2>", 143 "<section role=\"region\">\n" 144 + "<h2 title=\"Exceptions\">Exceptions</h2>", 145 "<section role=\"region\">\n" 146 + "<h2 title=\"Errors\">Errors</h2>", 147 "<section role=\"region\">\n" 148 + "<h2 title=\"Annotation Types\">Annotation Types</h2>"); 149 150 // Test for package-summary page 151 checkOutput("pkg/package-summary.html", true, 152 "<!DOCTYPE HTML>", 153 "<meta name=\"dc.created\"", 154 "<a id=\"navbar.top.firstrow\">\n" 155 + "<!-- -->\n" 156 + "</a>", 157 "<table class=\"typeSummary\">", 158 "<header role=\"banner\">\n" 159 + "<nav role=\"navigation\">\n" 160 + "<div class=\"fixedNav\">\n" 161 + "<!-- ========= START OF TOP NAVBAR ======= -->", 162 "<main role=\"main\">\n" 163 + "<div class=\"header\">", 164 "<section role=\"region\">\n" 165 + "<div class=\"block\">Test package.</div>", 166 "<footer role=\"contentinfo\">\n" 167 + "<nav role=\"navigation\">\n" 168 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 169 // No package description 170 checkOutput("pkg1/package-summary.html", true, 171 "<div class=\"contentContainer\">\n" 172 + "<ul class=\"blockList\">\n" 173 + "<li class=\"blockList\">\n" 174 + "<table class=\"typeSummary\">\n" 175 + "<caption><span>Class Summary</span><span class=\"tabEnd\"> </span></caption>"); 176 177 // Test for package-tree page 178 checkOutput("pkg/package-tree.html", true, 179 "<!DOCTYPE HTML>", 180 "<meta name=\"dc.created\"", 181 "<a id=\"navbar.top.firstrow\">\n" 182 + "<!-- -->\n" 183 + "</a>", 184 "<li class=\"circle\">", 185 "<header role=\"banner\">\n" 186 + "<nav role=\"navigation\">\n" 187 + "<div class=\"fixedNav\">\n" 188 + "<!-- ========= START OF TOP NAVBAR ======= -->", 189 "<main role=\"main\">\n" 190 + "<div class=\"header\">", 191 "<section role=\"region\">\n" 192 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>", 193 "<section role=\"region\">\n" 194 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>", 195 "<section role=\"region\">\n" 196 + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>", 197 "<section role=\"region\">\n" 198 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>", 199 "<footer role=\"contentinfo\">\n" 200 + "<nav role=\"navigation\">\n" 201 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 202 203 // Test for package-use page 204 checkOutput("pkg1/package-use.html", true, 205 "<!DOCTYPE HTML>", 206 "<meta name=\"dc.created\"", 207 "<a id=\"navbar.top.firstrow\">\n" 208 + "<!-- -->\n" 209 + "</a>", 210 "<table class=\"useSummary\">", 211 "<header role=\"banner\">\n" 212 + "<nav role=\"navigation\">\n" 213 + "<div class=\"fixedNav\">\n" 214 + "<!-- ========= START OF TOP NAVBAR ======= -->", 215 "<main role=\"main\">\n" 216 + "<div class=\"header\">", 217 "<footer role=\"contentinfo\">\n" 218 + "<nav role=\"navigation\">\n" 219 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 220 221 // Test for constant-values page 222 checkOutput("constant-values.html", true, 223 "<!DOCTYPE HTML>", 224 "<meta name=\"dc.created\"", 225 "<a id=\"navbar.top.firstrow\">\n" 226 + "<!-- -->\n" 227 + "</a>", 228 "<table class=\"constantsSummary\">", 229 "<header role=\"banner\">\n" 230 + "<nav role=\"navigation\">\n" 231 + "<div class=\"fixedNav\">\n" 232 + "<!-- ========= START OF TOP NAVBAR ======= -->", 233 "<main role=\"main\">\n" 234 + "<div class=\"header\">", 235 "<section role=\"region\">\n" 236 + "<h2 title=\"Contents\">Contents</h2>\n", 237 "<section role=\"region\">\n" 238 + "<h2 title=\"pkg\">pkg.*</h2>\n", 239 "<footer role=\"contentinfo\">\n" 240 + "<nav role=\"navigation\">\n" 241 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 242 243 // Test for deprecated-list page 244 checkOutput("deprecated-list.html", true, 245 "<!DOCTYPE HTML>", 246 "<meta name=\"dc.created\"", 247 "<a id=\"navbar.top.firstrow\">\n" 248 + "<!-- -->\n" 249 + "</a>", 250 "<table class=\"deprecatedSummary\">", 251 "<header role=\"banner\">\n" 252 + "<nav role=\"navigation\">\n" 253 + "<div class=\"fixedNav\">\n" 254 + "<!-- ========= START OF TOP NAVBAR ======= -->", 255 "<main role=\"main\">\n" 256 + "<div class=\"header\">", 257 "<footer role=\"contentinfo\">\n" 258 + "<nav role=\"navigation\">\n" 259 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 260 261 // Test for serialized-form page 262 checkOutput("serialized-form.html", true, 263 "<!DOCTYPE HTML>", 264 "<meta name=\"dc.created\"", 265 "<a id=\"navbar.top.firstrow\">\n" 266 + "<!-- -->\n" 267 + "</a>", 268 "<header role=\"banner\">\n" 269 + "<nav role=\"navigation\">\n" 270 + "<div class=\"fixedNav\">\n" 271 + "<!-- ========= START OF TOP NAVBAR ======= -->", 272 "<main role=\"main\">\n" 273 + "<div class=\"header\">", 274 "<section role=\"region\">\n" 275 + "<h2 title=\"Package\">Package pkg</h2>\n", 276 "<footer role=\"contentinfo\">\n" 277 + "<nav role=\"navigation\">\n" 278 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 279 280 // Test for overview-tree page 281 checkOutput("overview-tree.html", true, 282 "<!DOCTYPE HTML>", 283 "<meta name=\"dc.created\"", 284 "<a id=\"navbar.top.firstrow\">\n" 285 + "<!-- -->\n" 286 + "</a>", 287 "<li class=\"circle\">", 288 "<header role=\"banner\">\n" 289 + "<nav role=\"navigation\">\n" 290 + "<div class=\"fixedNav\">\n" 291 + "<!-- ========= START OF TOP NAVBAR ======= -->", 292 "<main role=\"main\">\n" 293 + "<div class=\"header\">", 294 "<section role=\"region\">\n" 295 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>\n", 296 "<section role=\"region\">\n" 297 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>\n", 298 "<section role=\"region\">\n" 299 + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>\n", 300 "<section role=\"region\">\n" 301 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>\n", 302 "<footer role=\"contentinfo\">\n" 303 + "<nav role=\"navigation\">\n" 304 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 305 306 // Test for index-all page 307 checkOutput("index-all.html", true, 308 "<!DOCTYPE HTML>", 309 "<meta name=\"dc.created\"", 310 "<a id=\"navbar.top.firstrow\">\n" 311 + "<!-- -->\n" 312 + "</a>", 313 "<header role=\"banner\">\n" 314 + "<nav role=\"navigation\">\n" 315 + "<div class=\"fixedNav\">\n" 316 + "<!-- ========= START OF TOP NAVBAR ======= -->", 317 "</header>\n" 318 + "<main role=\"main\">", 319 "<footer role=\"contentinfo\">\n" 320 + "<nav role=\"navigation\">\n" 321 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 322 323 // Test for src-html page 324 checkOutput("src-html/pkg/AnotherClass.html", true, 325 "<!DOCTYPE HTML>", 326 "<main role=\"main\">\n" 327 + "<div class=\"sourceContainer\">"); 328 329 // Test for help-doc page 330 checkOutput("help-doc.html", true, 331 "<!DOCTYPE HTML>", 332 "<meta name=\"dc.created\"", 333 "<a id=\"navbar.top.firstrow\">\n" 334 + "<!-- -->\n" 335 + "</a>", 336 "<header role=\"banner\">\n" 337 + "<nav role=\"navigation\">\n" 338 + "<div class=\"fixedNav\">\n" 339 + "<!-- ========= START OF TOP NAVBAR ======= -->", 340 "<main role=\"main\">\n" 341 + "<div class=\"header\">", 342 "<section role=\"region\">\n" 343 + "<h2>Overview</h2>\n", 344 "<section role=\"region\">\n" 345 + "<h2>Package</h2>\n", 346 "<section role=\"region\">\n" 347 + "<h2>Class/Interface</h2>\n", 348 "<footer role=\"contentinfo\">\n" 349 + "<nav role=\"navigation\">\n" 350 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 351 352 // Test for a regular class page and members (nested class, field, constructore and method) 353 checkOutput("pkg/AnotherClass.html", true, 354 "<!DOCTYPE HTML>", 355 "<meta name=\"dc.created\"", 356 "<a id=\"navbar.top.firstrow\">\n" 357 + "<!-- -->\n" 358 + "</a>", 359 "<header role=\"banner\">\n" 360 + "<nav role=\"navigation\">\n" 361 + "<div class=\"fixedNav\">\n" 362 + "<!-- ========= START OF TOP NAVBAR ======= -->", 363 "<main role=\"main\">\n" 364 + "<div class=\"header\">", 365 "<section role=\"region\">\n" 366 + "<ul class=\"blockList\">\n" 367 + "<li class=\"blockList\"><a id=\"nested.class.summary\">\n" 368 + "<!-- -->\n" 369 + "</a>\n" 370 + "<h3>Nested Class Summary</h3>\n" 371 + "<table class=\"memberSummary\">", 372 "<section role=\"region\">\n" 373 + "<ul class=\"blockList\">\n" 374 + "<li class=\"blockList\"><a id=\"field.summary\">\n" 375 + "<!-- -->\n" 376 + "</a>\n" 377 + "<h3>Field Summary</h3>\n" 378 + "<table class=\"memberSummary\">", 379 "<section role=\"region\">\n" 380 + "<ul class=\"blockList\">\n" 381 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 382 + "<!-- -->\n" 383 + "</a>\n" 384 + "<h3>Constructor Summary</h3>\n" 385 + "<table class=\"memberSummary\">", 386 "<section role=\"region\">\n" 387 + "<ul class=\"blockList\">\n" 388 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 389 + "<!-- -->\n" 390 + "</a>\n" 391 + "<h3>Method Summary</h3>", 392 "<section role=\"region\">\n" 393 + "<ul class=\"blockList\">\n" 394 + "<li class=\"blockList\"><a id=\"field.detail\">\n" 395 + "<!-- -->\n" 396 + "</a>\n" 397 + "<h3>Field Detail</h3>", 398 "<section role=\"region\">\n" 399 + "<ul class=\"blockList\">\n" 400 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 401 + "<!-- -->\n" 402 + "</a>\n" 403 + "<h3>Constructor Detail</h3>", 404 "<section role=\"region\">\n" 405 + "<ul class=\"blockList\">\n" 406 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 407 + "<!-- -->\n" 408 + "</a>\n" 409 + "<h3>Method Detail</h3>", 410 "<footer role=\"contentinfo\">\n" 411 + "<nav role=\"navigation\">\n" 412 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 413 414 // Test for enum page 415 checkOutput("pkg/AnotherClass.ModalExclusionType.html", true, 416 "<!DOCTYPE HTML>", 417 "<meta name=\"dc.created\"", 418 "<a id=\"navbar.top.firstrow\">\n" 419 + "<!-- -->\n" 420 + "</a>", 421 "<header role=\"banner\">\n" 422 + "<nav role=\"navigation\">\n" 423 + "<div class=\"fixedNav\">\n" 424 + "<!-- ========= START OF TOP NAVBAR ======= -->", 425 "<main role=\"main\">\n" 426 + "<div class=\"header\">", 427 "<section role=\"region\">\n" 428 + "<ul class=\"blockList\">\n" 429 + "<li class=\"blockList\"><a id=\"enum.constant.summary\">\n" 430 + "<!-- -->\n" 431 + "</a>\n" 432 + "<h3>Enum Constant Summary</h3>\n" 433 + "<table class=\"memberSummary\">", 434 "<section role=\"region\">\n" 435 + "<ul class=\"blockList\">\n" 436 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 437 + "<!-- -->\n" 438 + "</a>\n" 439 + "<h3>Method Summary</h3>\n" 440 + "<table class=\"memberSummary\">", 441 "<section role=\"region\">\n" 442 + "<ul class=\"blockList\">\n" 443 + "<li class=\"blockList\"><a id=\"enum.constant.detail\">\n" 444 + "<!-- -->\n" 445 + "</a>\n" 446 + "<h3>Enum Constant Detail</h3>", 447 "<section role=\"region\">\n" 448 + "<ul class=\"blockList\">\n" 449 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 450 + "<!-- -->\n" 451 + "</a>\n" 452 + "<h3>Method Detail</h3>", 453 "<footer role=\"contentinfo\">\n" 454 + "<nav role=\"navigation\">\n" 455 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 456 457 // Test for interface page 458 checkOutput("pkg2/Interface.html", true, 459 "<!DOCTYPE HTML>", 460 "<meta name=\"dc.created\"", 461 "<a id=\"navbar.top.firstrow\">\n" 462 + "<!-- -->\n" 463 + "</a>", 464 "<header role=\"banner\">\n" 465 + "<nav role=\"navigation\">\n" 466 + "<div class=\"fixedNav\">\n" 467 + "<!-- ========= START OF TOP NAVBAR ======= -->", 468 "<main role=\"main\">\n" 469 + "<div class=\"header\">", 470 "<section role=\"region\">\n" 471 + "<ul class=\"blockList\">\n" 472 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 473 + "<!-- -->\n" 474 + "</a>\n" 475 + "<h3>Method Summary</h3>\n" 476 + "<table class=\"memberSummary\">", 477 "<section role=\"region\">\n" 478 + "<ul class=\"blockList\">\n" 479 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 480 + "<!-- -->\n" 481 + "</a>\n" 482 + "<h3>Method Detail</h3>", 483 "<footer role=\"contentinfo\">\n" 484 + "<nav role=\"navigation\">\n" 485 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 486 487 // Test for error page 488 checkOutput("pkg/TestError.html", true, 489 "<!DOCTYPE HTML>", 490 "<meta name=\"dc.created\"", 491 "<a id=\"navbar.top.firstrow\">\n" 492 + "<!-- -->\n" 493 + "</a>", 494 "<header role=\"banner\">\n" 495 + "<nav role=\"navigation\">\n" 496 + "<div class=\"fixedNav\">\n" 497 + "<!-- ========= START OF TOP NAVBAR ======= -->", 498 "<main role=\"main\">\n" 499 + "<div class=\"header\">", 500 "<section role=\"region\">\n" 501 + "<ul class=\"blockList\">\n" 502 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 503 + "<!-- -->\n" 504 + "</a>\n" 505 + "<h3>Constructor Summary</h3>", 506 "<section role=\"region\">\n" 507 + "<ul class=\"blockList\">\n" 508 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 509 + "<!-- -->\n" 510 + "</a>\n" 511 + "<h3>Constructor Detail</h3>", 512 "<footer role=\"contentinfo\">\n" 513 + "<nav role=\"navigation\">\n" 514 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 515 516 // Test for exception page 517 checkOutput("pkg/TestException.html", true, 518 "<!DOCTYPE HTML>", 519 "<meta name=\"dc.created\"", 520 "<a id=\"navbar.top.firstrow\">\n" 521 + "<!-- -->\n" 522 + "</a>", 523 "<header role=\"banner\">\n" 524 + "<nav role=\"navigation\">\n" 525 + "<div class=\"fixedNav\">\n" 526 + "<!-- ========= START OF TOP NAVBAR ======= -->", 527 "<main role=\"main\">\n" 528 + "<div class=\"header\">", 529 "<section role=\"region\">\n" 530 + "<ul class=\"blockList\">\n" 531 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 532 + "<!-- -->\n" 533 + "</a>\n" 534 + "<h3>Constructor Summary</h3>", 535 "<section role=\"region\">\n" 536 + "<ul class=\"blockList\">\n" 537 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 538 + "<!-- -->\n" 539 + "</a>\n" 540 + "<h3>Constructor Detail</h3>", 541 "<footer role=\"contentinfo\">\n" 542 + "<nav role=\"navigation\">\n" 543 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 544 545 // Test for annotation page 546 checkOutput("pkg2/TestAnnotationType.html", true, 547 "<!DOCTYPE HTML>", 548 "<meta name=\"dc.created\"", 549 "<a id=\"navbar.top.firstrow\">\n" 550 + "<!-- -->\n" 551 + "</a>", 552 "<header role=\"banner\">\n" 553 + "<nav role=\"navigation\">\n" 554 + "<div class=\"fixedNav\">\n" 555 + "<!-- ========= START OF TOP NAVBAR ======= -->", 556 "<main role=\"main\">\n" 557 + "<div class=\"header\">", 558 "<section role=\"region\">\n" 559 + "<ul class=\"blockList\">\n" 560 + "<li class=\"blockList\"><a id=\"annotation.type.required.element.summary\">\n" 561 + "<!-- -->\n" 562 + "</a>\n" 563 + "<h3>Required Element Summary</h3>\n" 564 + "<table class=\"memberSummary\">", 565 "<section role=\"region\">\n" 566 + "<ul class=\"blockList\">\n" 567 + "<li class=\"blockList\"><a id=\"annotation.type.optional.element.summary\">\n" 568 + "<!-- -->\n" 569 + "</a>\n" 570 + "<h3>Optional Element Summary</h3>\n" 571 + "<table class=\"memberSummary\">", 572 "<section role=\"region\">\n" 573 + "<ul class=\"blockList\">\n" 574 + "<li class=\"blockList\"><a id=\"annotation.type.element.detail\">\n" 575 + "<!-- -->\n" 576 + "</a>\n" 577 + "<h3>Element Detail</h3>", 578 "<footer role=\"contentinfo\">\n" 579 + "<nav role=\"navigation\">\n" 580 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 581 582 // Test for class use page 583 checkOutput("pkg1/class-use/RegClass.html", true, 584 "<!DOCTYPE HTML>", 585 "<meta name=\"dc.created\"", 586 "<a id=\"navbar.top.firstrow\">\n" 587 + "<!-- -->\n" 588 + "</a>", 589 "<header role=\"banner\">\n" 590 + "<nav role=\"navigation\">\n" 591 + "<div class=\"fixedNav\">\n" 592 + "<!-- ========= START OF TOP NAVBAR ======= -->", 593 "<main role=\"main\">\n" 594 + "<div class=\"header\">", 595 "<table class=\"useSummary\">", 596 "<section role=\"region\"><a id=\"pkg\">\n" 597 + "<!-- -->\n" 598 + "</a>\n" 599 + "<h3>Uses of <a href=\"../../pkg1/RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h3>\n" 600 + "<table class=\"useSummary\">", 601 "<footer role=\"contentinfo\">\n" 602 + "<nav role=\"navigation\">\n" 603 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 604 605 // Test for main index page 606 checkOutput("index.html", true, 607 "<!DOCTYPE HTML>", 608 "<link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheet.css\" title=\"Style\">", 609 "<body onload=\"loadFrames()\">\n" 610 + "<script type=\"text/javascript\">\n" 611 + "if (targetPage == \"\" || targetPage == \"undefined\")\n" 612 + " window.location.replace('overview-summary.html');\n" 613 + "</script>\n" 614 + "<noscript>JavaScript is disabled on your browser.</noscript>\n" 615 + "<main role=\"main\">\n" 616 + "<div class=\"mainContainer\">\n" 617 + "<div class=\"leftContainer\">\n" 618 + "<div class=\"leftTop\">\n" 619 + "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>\n" 620 + "</div>"); 621 } 622 623 void html5NegatedOutput() { 624 // Negated test for overview-frame page 625 checkOutput("overview-frame.html", false, 626 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 627 "<meta name=\"date\"", 628 "<div class=\"indexNav\">\n" 629 + "<ul>\n" 630 + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>", 631 "<div class=\"indexContainer\">\n" 632 + "<h2 title=\"Packages\">Packages</h2>"); 633 634 // Negated test for allclasses-frame page 635 checkOutput("allclasses-frame.html", false, 636 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 637 "<meta name=\"date\"", 638 "<div class=\"indexContainer\">\n" 639 + "<ul>\n" 640 + "<li>"); 641 642 // Negated test for allclasses-noframe page 643 checkOutput("allclasses-noframe.html", false, 644 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 645 "<meta name=\"date\"", 646 "<div class=\"indexContainer\">\n" 647 + "<ul>\n" 648 + "<li>"); 649 650 // Negated test for overview-summary page 651 checkOutput("overview-summary.html", false, 652 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 653 "<meta name=\"date\"", 654 "<a name=\"navbar.top.firstrow\">\n" 655 + "<!-- -->\n" 656 + "</a>", 657 "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n" 658 + "<caption>", 659 "</noscript>\n" 660 + "<div class=\"fixedNav\">\n" 661 + "<!-- ========= START OF TOP NAVBAR ======= -->"); 662 663 // Negated test for package-frame page 664 checkOutput("pkg/package-frame.html", false, 665 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 666 "<meta name=\"date\"", 667 "<body>\n" 668 + "<h1 class=\"bar\"><a href=\"../pkg/package-summary.html\" target=\"classFrame\">pkg</a></h1>"); 669 670 // Negated test for package-summary page 671 checkOutput("pkg/package-summary.html", false, 672 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 673 "<meta name=\"date\"", 674 "<a name=\"navbar.top.firstrow\">\n" 675 + "<!-- -->\n" 676 + "</a>", 677 "<section role=\"region\">\n" 678 + "<h2 title=\"Package pkg Description\">Package pkg Description</h2>\n", 679 "<table class=\"typeSummary\" summary=\"Interface Summary table, listing interfaces, and an explanation\">", 680 "<table class=\"typeSummary\" summary=\"Class Summary table, listing classes, and an explanation\">", 681 "<table class=\"typeSummary\" summary=\"Enum Summary table, listing enums, and an explanation\">", 682 "<table class=\"typeSummary\" summary=\"Exception Summary table, listing exceptions, and an explanation\">", 683 "<table class=\"typeSummary\" summary=\"Error Summary table, listing errors, and an explanation\">", 684 "<table class=\"typeSummary\" summary=\"Annotation Types Summary table, listing annotation types, and an explanation\">"); 685 686 // Negated test for package-tree page 687 checkOutput("pkg/package-tree.html", false, 688 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 689 "<meta name=\"date\"", 690 "<a name=\"navbar.top.firstrow\">\n" 691 + "<!-- -->\n" 692 + "</a>"); 693 694 // Negated test for package-use page 695 checkOutput("pkg1/package-use.html", false, 696 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 697 "<meta name=\"date\"", 698 "<a name=\"navbar.top.firstrow\">\n" 699 + "<!-- -->\n" 700 + "</a>", 701 "<table class=\"useSummary\" summary=\"Use table, listing packages, and an explanation\">"); 702 703 // Negated test for constant-values page 704 checkOutput("constant-values.html", false, 705 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 706 "<meta name=\"date\"", 707 "<a name=\"navbar.top.firstrow\">\n" 708 + "<!-- -->\n" 709 + "</a>", 710 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 711 + "</div>\n" 712 + "<div class=\"navPadding\"> </div>\n" 713 + "<script type=\"text/javascript\"><!--\n" 714 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 715 + "//-->\n" 716 + "</script>\n" 717 + "<div class=\"header\">", 718 "<table class=\"constantsSummary\" summary=\"Constant Field Values table, listing constant fields, and values\">"); 719 720 // Negated test for deprecated-list page 721 checkOutput("deprecated-list.html", false, 722 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 723 "<meta name=\"date\"", 724 "<a name=\"navbar.top.firstrow\">\n" 725 + "<!-- -->\n" 726 + "</a>", 727 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 728 + "</div>\n" 729 + "<div class=\"navPadding\"> </div>\n" 730 + "<script type=\"text/javascript\"><!--\n" 731 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 732 + "//-->\n" 733 + "</script>\n" 734 + "<div class=\"header\">\n" 735 + "<h1 title=\"Deprecated API\" class=\"title\">Deprecated API</h1>\n" 736 + "<h2 title=\"Contents\">Contents</h2>", 737 "<table class=\"deprecatedSummary\" summary=\"Deprecated Classes table, listing deprecated classes, and an explanation\">", 738 "<table class=\"deprecatedSummary\" summary=\"Deprecated Enums table, listing deprecated enums, and an explanation\">", 739 "<table class=\"deprecatedSummary\" summary=\"Deprecated Exceptions table, listing deprecated exceptions, and an explanation\">", 740 "<table class=\"deprecatedSummary\" summary=\"Deprecated Errors table, listing deprecated errors, and an explanation\">", 741 "<table class=\"deprecatedSummary\" summary=\"Deprecated Annotation Types table, listing deprecated annotation types, and an explanation\">", 742 "<table class=\"deprecatedSummary\" summary=\"Deprecated Fields table, listing deprecated fields, and an explanation\">", 743 "<table class=\"deprecatedSummary\" summary=\"Deprecated Methods table, listing deprecated methods, and an explanation\">", 744 "<table class=\"deprecatedSummary\" summary=\"Deprecated Constructors table, listing deprecated constructors, and an explanation\">", 745 "<table class=\"deprecatedSummary\" summary=\"Deprecated Enum Constants table, listing deprecated enum constants, and an explanation\">", 746 "<table class=\"deprecatedSummary\" summary=\"Deprecated Annotation Type Elements table, listing deprecated annotation type elements, and an explanation\">"); 747 748 // Negated test for serialized-form page 749 checkOutput("serialized-form.html", false, 750 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 751 "<meta name=\"date\"", 752 "<a name=\"navbar.top.firstrow\">\n" 753 + "<!-- -->\n" 754 + "</a>", 755 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 756 + "</div>\n" 757 + "<div class=\"navPadding\"> </div>\n" 758 + "<script type=\"text/javascript\"><!--\n" 759 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 760 + "//-->\n" 761 + "</script>\n" 762 + "<div class=\"header\">", 763 "<li class=\"blockList\">\n" 764 + "<h2 title=\"Package\">Package pkg</h2>"); 765 766 // Negated test for overview-tree page 767 checkOutput("overview-tree.html", false, 768 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 769 "<meta name=\"date\"", 770 "<a name=\"navbar.top.firstrow\">\n" 771 + "<!-- -->\n" 772 + "</a>", 773 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 774 + "</div>\n" 775 + "<div class=\"navPadding\"> </div>\n" 776 + "<script type=\"text/javascript\"><!--\n" 777 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 778 + "//-->\n" 779 + "</script>\n" 780 + "<div class=\"header\">", 781 "<div class=\"contentContainer\">\n" 782 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>", 783 "</ul>\n" 784 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>", 785 "</ul>\n" 786 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>"); 787 788 // Negated test for index-all page 789 checkOutput("index-all.html", false, 790 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 791 "<meta name=\"date\"", 792 "<a name=\"navbar.top.firstrow\">\n" 793 + "<!-- -->\n" 794 + "</a>", 795 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 796 + "</div>\n" 797 + "<div class=\"navPadding\"> </div>\n" 798 + "<script type=\"text/javascript\"><!--\n" 799 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 800 + "//-->\n" 801 + "</script>\n" 802 + "<div class=\"contentContainer\">"); 803 804 // Negated test for src-html page 805 checkOutput("src-html/pkg/AnotherClass.html", false, 806 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 807 "<body>\n" 808 + "<div class=\"sourceContainer\">"); 809 810 // Negated test for help-doc page 811 checkOutput("help-doc.html", false, 812 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 813 "<meta name=\"date\"", 814 "<a name=\"navbar.top.firstrow\">\n" 815 + "<!-- -->\n" 816 + "</a>", 817 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 818 + "</div>\n" 819 + "<div class=\"navPadding\"> </div>\n" 820 + "<script type=\"text/javascript\"><!--\n" 821 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 822 + "//-->\n" 823 + "</script>\n" 824 + "<div class=\"header\">", 825 "<ul class=\"blockList\">\n" 826 + "<li class=\"blockList\">\n" 827 + "<h2>Overview</h2>", 828 "<li class=\"blockList\">\n" 829 + "<h2>Package</h2>", 830 "<li class=\"blockList\">\n" 831 + "<h2>Class/Interface</h2>"); 832 833 // Negated test for a regular class page and members (nested class, field, constructore and method) 834 checkOutput("pkg/AnotherClass.html", false, 835 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 836 "<meta name=\"date\"", 837 "<a name=\"navbar.top.firstrow\">\n" 838 + "<!-- -->\n" 839 + "</a>", 840 "<!-- ======== START OF CLASS DATA ======== -->\n" 841 + "<div class=\"header\">", 842 "<!-- ======== NESTED CLASS SUMMARY ======== -->\n" 843 + "<ul class=\"blockList\">\n" 844 + "<li class=\"blockList\"><a name=\"nested.class.summary\">\n" 845 + "<!-- -->\n" 846 + "</a>\n" 847 + "<h3>Nested Class Summary</h3>\n" 848 + "<table class=\"memberSummary\" summary=\"Nested Class Summary table, listing nested classes, and an explanation\">", 849 "<!-- =========== FIELD SUMMARY =========== -->\n" 850 + "<ul class=\"blockList\">\n" 851 + "<li class=\"blockList\"><a name=\"field.summary\">\n" 852 + "<!-- -->\n" 853 + "</a>\n" 854 + "<h3>Field Summary</h3>\n" 855 + "<table class=\"memberSummary\" summary=\"Field Summary table, listing fields, and an explanation\">", 856 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 857 + "<ul class=\"blockList\">\n" 858 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 859 + "<!-- -->\n" 860 + "</a>\n" 861 + "<h3>Constructor Summary</h3>\n" 862 + "<table class=\"memberSummary\" summary=\"Constructor Summary table, listing constructors, and an explanation\">", 863 "<!-- ========== METHOD SUMMARY =========== -->\n" 864 + "<ul class=\"blockList\">\n" 865 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 866 + "<!-- -->\n" 867 + "</a>\n" 868 + "<h3>Method Summary</h3>\n" 869 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 870 "<!-- ============ FIELD DETAIL =========== -->\n" 871 + "<ul class=\"blockList\">\n" 872 + "<li class=\"blockList\"><a name=\"field.detail\">\n" 873 + "<!-- -->\n" 874 + "</a>\n" 875 + "<h3>Field Detail</h3>", 876 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 877 + "<ul class=\"blockList\">\n" 878 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 879 + "<!-- -->\n" 880 + "</a>\n" 881 + "<h3>Constructor Detail</h3>", 882 "<!-- ============ METHOD DETAIL ========== -->\n" 883 + "<ul class=\"blockList\">\n" 884 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 885 + "<!-- -->\n" 886 + "</a>\n" 887 + "<h3>Method Detail</h3>"); 888 889 // Negated test for enum page 890 checkOutput("pkg/AnotherClass.ModalExclusionType.html", false, 891 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 892 "<meta name=\"date\"", 893 "<a name=\"navbar.top.firstrow\">\n" 894 + "<!-- -->\n" 895 + "</a>", 896 "<!-- ======== START OF CLASS DATA ======== -->\n" 897 + "<div class=\"header\">", 898 "<!-- =========== ENUM CONSTANT SUMMARY =========== -->\n" 899 + "<ul class=\"blockList\">\n" 900 + "<li class=\"blockList\"><a name=\"enum.constant.summary\">\n" 901 + "<!-- -->\n" 902 + "</a>\n" 903 + "<h3>Enum Constant Summary</h3>\n" 904 + "<table class=\"memberSummary\" summary=\"Enum Constant Summary table, listing enum constants, and an explanation\">", 905 "<!-- ========== METHOD SUMMARY =========== -->\n" 906 + "<ul class=\"blockList\">\n" 907 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 908 + "<!-- -->\n" 909 + "</a>\n" 910 + "<h3>Method Summary</h3>\n" 911 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 912 "<!-- ============ ENUM CONSTANT DETAIL =========== -->\n" 913 + "<ul class=\"blockList\">\n" 914 + "<li class=\"blockList\"><a name=\"enum.constant.detail\">\n" 915 + "<!-- -->\n" 916 + "</a>\n" 917 + "<h3>Enum Constant Detail</h3>", 918 "<!-- ============ METHOD DETAIL ========== -->\n" 919 + "<ul class=\"blockList\">\n" 920 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 921 + "<!-- -->\n" 922 + "</a>\n" 923 + "<h3>Method Detail</h3>"); 924 925 // Negated test for interface page 926 checkOutput("pkg2/Interface.html", false, 927 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 928 "<meta name=\"date\"", 929 "<a name=\"navbar.top.firstrow\">\n" 930 + "<!-- -->\n" 931 + "</a>", 932 "<!-- ======== START OF CLASS DATA ======== -->\n" 933 + "<div class=\"header\">", 934 "<!-- ========== METHOD SUMMARY =========== -->\n" 935 + "<ul class=\"blockList\">\n" 936 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 937 + "<!-- -->\n" 938 + "</a>\n" 939 + "<h3>Method Summary</h3>\n" 940 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 941 "<!-- ============ METHOD DETAIL ========== -->\n" 942 + "<ul class=\"blockList\">\n" 943 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 944 + "<!-- -->\n" 945 + "</a>\n" 946 + "<h3>Method Detail</h3>"); 947 948 // Negated test for error page 949 checkOutput("pkg/TestError.html", false, 950 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 951 "<meta name=\"date\"", 952 "<a name=\"navbar.top.firstrow\">\n" 953 + "<!-- -->\n" 954 + "</a>", 955 "<!-- ======== START OF CLASS DATA ======== -->\n" 956 + "<div class=\"header\">", 957 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 958 + "<ul class=\"blockList\">\n" 959 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 960 + "<!-- -->\n" 961 + "</a>\n" 962 + "<h3>Constructor Summary</h3>", 963 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 964 + "<ul class=\"blockList\">\n" 965 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 966 + "<!-- -->\n" 967 + "</a>\n" 968 + "<h3>Constructor Detail</h3>"); 969 970 // Negated test for exception page 971 checkOutput("pkg/TestException.html", false, 972 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 973 "<meta name=\"date\"", 974 "<a name=\"navbar.top.firstrow\">\n" 975 + "<!-- -->\n" 976 + "</a>", 977 "<!-- ======== START OF CLASS DATA ======== -->\n" 978 + "<div class=\"header\">", 979 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 980 + "<ul class=\"blockList\">\n" 981 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 982 + "<!-- -->\n" 983 + "</a>\n" 984 + "<h3>Constructor Summary</h3>", 985 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 986 + "<ul class=\"blockList\">\n" 987 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 988 + "<!-- -->\n" 989 + "</a>\n" 990 + "<h3>Constructor Detail</h3>"); 991 992 // Negated test for annotation page 993 checkOutput("pkg2/TestAnnotationType.html", false, 994 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 995 "<meta name=\"date\"", 996 "<a name=\"navbar.top.firstrow\">\n" 997 + "<!-- -->\n" 998 + "</a>", 999 "<!-- ======== START OF CLASS DATA ======== -->\n" 1000 + "<div class=\"header\">", 1001 "<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->\n" 1002 + "<ul class=\"blockList\">\n" 1003 + "<li class=\"blockList\"><a name=\"annotation.type.required.element.summary\">\n" 1004 + "<!-- -->\n" 1005 + "</a>\n" 1006 + "<h3>Required Element Summary</h3>\n" 1007 + "<table class=\"memberSummary\" summary=\"Required Element Summary table, listing required elements, and an explanation\">", 1008 "<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->\n" 1009 + "<ul class=\"blockList\">\n" 1010 + "<li class=\"blockList\"><a name=\"annotation.type.optional.element.summary\">\n" 1011 + "<!-- -->\n" 1012 + "</a>\n" 1013 + "<h3>Optional Element Summary</h3>\n" 1014 + "<table class=\"memberSummary\" summary=\"Optional Element Summary table, listing optional elements, and an explanation\">", 1015 "<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->\n" 1016 + "<ul class=\"blockList\">\n" 1017 + "<li class=\"blockList\"><a name=\"annotation.type.element.detail\">\n" 1018 + "<!-- -->\n" 1019 + "</a>\n" 1020 + "<h3>Element Detail</h3>"); 1021 1022 // Negated test for class use page 1023 checkOutput("pkg1/class-use/RegClass.html", false, 1024 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1025 "<meta name=\"date\"", 1026 "<a name=\"navbar.top.firstrow\">\n" 1027 + "<!-- -->\n" 1028 + "</a>", 1029 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1030 + "</div>\n" 1031 + "<div class=\"navPadding\"> </div>\n" 1032 + "<script type=\"text/javascript\"><!--\n" 1033 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1034 + "//-->\n" 1035 + "</script>\n" 1036 + "<div class=\"header\">", 1037 "<table class=\"useSummary\" summary=\"Use table, listing packages, and an explanation\">", 1038 "<li class=\"blockList\"><a name=\"pkg\">\n" 1039 + "<!-- -->\n" 1040 + "</a>\n" 1041 + "<h3>Uses of <a href=\"../../pkg1/RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h3>\n" 1042 + "<table class=\"useSummary\" summary=\"Use table, listing fields, and an explanation\">"); 1043 1044 // Negated test for main index page 1045 checkOutput("index.html", false, 1046 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1047 "<body>\n" 1048 + "<script type=\"text/javascript\">\n" 1049 + "if (targetPage == \"\" || targetPage == \"undefined\")\n" 1050 + " window.location.replace('overview-summary.html');\n" 1051 + "</script>\n" 1052 + "<noscript>JavaScript is disabled on your browser.</noscript>\n" 1053 + "<div class=\"mainContainer\">\n"); 1054 } 1055 1056 void html4Output() { 1057 // Test for overview-frame page 1058 checkOutput("overview-frame.html", true, 1059 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1060 "<meta name=\"date\"", 1061 "<div class=\"indexNav\">\n" 1062 + "<ul>\n" 1063 + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>", 1064 "<div class=\"indexContainer\">\n" 1065 + "<h2 title=\"Packages\">Packages</h2>"); 1066 1067 // Test for allclasses-frame page 1068 checkOutput("allclasses-frame.html", true, 1069 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1070 "<meta name=\"date\"", 1071 "<div class=\"indexContainer\">\n" 1072 + "<ul>\n" 1073 + "<li>"); 1074 1075 // Test for allclasses-noframe page 1076 checkOutput("allclasses-noframe.html", true, 1077 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1078 "<meta name=\"date\"", 1079 "<div class=\"indexContainer\">\n" 1080 + "<ul>\n" 1081 + "<li>"); 1082 1083 // Test for overview-summary page 1084 checkOutput("overview-summary.html", true, 1085 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1086 "<meta name=\"date\"", 1087 "<a name=\"navbar.top.firstrow\">\n" 1088 + "<!-- -->\n" 1089 + "</a>", 1090 "<table class=\"overviewSummary\" summary=\"Packages table, listing packages, and an explanation\">\n" 1091 + "<caption>", 1092 "</noscript>\n" 1093 + "<div class=\"fixedNav\">\n" 1094 + "<!-- ========= START OF TOP NAVBAR ======= -->"); 1095 1096 // Test for package-frame page 1097 checkOutput("pkg/package-frame.html", true, 1098 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1099 "<meta name=\"date\"", 1100 "<body>\n" 1101 + "<h1 class=\"bar\"><a href=\"../pkg/package-summary.html\" target=\"classFrame\">pkg</a></h1>"); 1102 1103 // Test for package-summary page 1104 checkOutput("pkg/package-summary.html", true, 1105 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1106 "<meta name=\"date\"", 1107 "<a name=\"navbar.top.firstrow\">\n" 1108 + "<!-- -->\n" 1109 + "</a>", 1110 "<div class=\"contentContainer\">\n" 1111 + "<div class=\"block\">Test package.</div>", 1112 "<table class=\"typeSummary\" summary=\"Interface Summary table, listing interfaces, and an explanation\">", 1113 "<table class=\"typeSummary\" summary=\"Class Summary table, listing classes, and an explanation\">", 1114 "<table class=\"typeSummary\" summary=\"Enum Summary table, listing enums, and an explanation\">", 1115 "<table class=\"typeSummary\" summary=\"Exception Summary table, listing exceptions, and an explanation\">", 1116 "<table class=\"typeSummary\" summary=\"Error Summary table, listing errors, and an explanation\">", 1117 "<table class=\"typeSummary\" summary=\"Annotation Types Summary table, listing annotation types, and an explanation\">"); 1118 // No Package description 1119 checkOutput("pkg1/package-summary.html", true, 1120 "<div class=\"contentContainer\">\n" 1121 + "<ul class=\"blockList\">\n" 1122 + "<li class=\"blockList\">\n" 1123 + "<table class=\"typeSummary\" summary=\"Class Summary table, listing classes, and an explanation\">\n" 1124 + "<caption><span>Class Summary</span><span class=\"tabEnd\"> </span></caption>"); 1125 1126 // Test for package-tree page 1127 checkOutput("pkg/package-tree.html", true, 1128 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1129 "<meta name=\"date\"", 1130 "<a name=\"navbar.top.firstrow\">\n" 1131 + "<!-- -->\n" 1132 + "</a>", 1133 "<li class=\"circle\">"); 1134 1135 // Test for package-use page 1136 checkOutput("pkg1/package-use.html", true, 1137 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1138 "<meta name=\"date\"", 1139 "<a name=\"navbar.top.firstrow\">\n" 1140 + "<!-- -->\n" 1141 + "</a>", 1142 "<table class=\"useSummary\" summary=\"Use table, listing packages, and an explanation\">"); 1143 1144 // Test for constant-values page 1145 checkOutput("constant-values.html", true, 1146 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1147 "<meta name=\"date\"", 1148 "<a name=\"navbar.top.firstrow\">\n" 1149 + "<!-- -->\n" 1150 + "</a>", 1151 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1152 + "</div>\n" 1153 + "<div class=\"navPadding\"> </div>\n" 1154 + "<script type=\"text/javascript\"><!--\n" 1155 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1156 + "//-->\n" 1157 + "</script>\n" 1158 + "<div class=\"header\">", 1159 "<table class=\"constantsSummary\" summary=\"Constant Field Values table, listing constant fields, and values\">"); 1160 1161 // Test for deprecated-list page 1162 checkOutput("deprecated-list.html", true, 1163 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1164 "<meta name=\"date\"", 1165 "<a name=\"navbar.top.firstrow\">\n" 1166 + "<!-- -->\n" 1167 + "</a>", 1168 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1169 + "</div>\n" 1170 + "<div class=\"navPadding\"> </div>\n" 1171 + "<script type=\"text/javascript\"><!--\n" 1172 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1173 + "//-->\n" 1174 + "</script>\n" 1175 + "<div class=\"header\">\n" 1176 + "<h1 title=\"Deprecated API\" class=\"title\">Deprecated API</h1>\n" 1177 + "<h2 title=\"Contents\">Contents</h2>", 1178 "<table class=\"deprecatedSummary\" summary=\"Deprecated Classes table, listing deprecated classes, and an explanation\">", 1179 "<table class=\"deprecatedSummary\" summary=\"Deprecated Enums table, listing deprecated enums, and an explanation\">", 1180 "<table class=\"deprecatedSummary\" summary=\"Deprecated Exceptions table, listing deprecated exceptions, and an explanation\">", 1181 "<table class=\"deprecatedSummary\" summary=\"Deprecated Errors table, listing deprecated errors, and an explanation\">", 1182 "<table class=\"deprecatedSummary\" summary=\"Deprecated Annotation Types table, listing deprecated annotation types, and an explanation\">", 1183 "<table class=\"deprecatedSummary\" summary=\"Deprecated Fields table, listing deprecated fields, and an explanation\">", 1184 "<table class=\"deprecatedSummary\" summary=\"Deprecated Methods table, listing deprecated methods, and an explanation\">", 1185 "<table class=\"deprecatedSummary\" summary=\"Deprecated Constructors table, listing deprecated constructors, and an explanation\">", 1186 "<table class=\"deprecatedSummary\" summary=\"Deprecated Enum Constants table, listing deprecated enum constants, and an explanation\">", 1187 "<table class=\"deprecatedSummary\" summary=\"Deprecated Annotation Type Elements table, listing deprecated annotation type elements, and an explanation\">"); 1188 1189 // Test for serialized-form page 1190 checkOutput("serialized-form.html", true, 1191 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1192 "<meta name=\"date\"", 1193 "<a name=\"navbar.top.firstrow\">\n" 1194 + "<!-- -->\n" 1195 + "</a>", 1196 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1197 + "</div>\n" 1198 + "<div class=\"navPadding\"> </div>\n" 1199 + "<script type=\"text/javascript\"><!--\n" 1200 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1201 + "//-->\n" 1202 + "</script>\n" 1203 + "<div class=\"header\">", 1204 "<li class=\"blockList\">\n" 1205 + "<h2 title=\"Package\">Package pkg</h2>"); 1206 1207 // Test for overview-tree page 1208 checkOutput("overview-tree.html", true, 1209 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1210 "<meta name=\"date\"", 1211 "<a name=\"navbar.top.firstrow\">\n" 1212 + "<!-- -->\n" 1213 + "</a>", 1214 "<li class=\"circle\">", 1215 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1216 + "</div>\n" 1217 + "<div class=\"navPadding\"> </div>\n" 1218 + "<script type=\"text/javascript\"><!--\n" 1219 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1220 + "//-->\n" 1221 + "</script>\n" 1222 + "<div class=\"header\">", 1223 "<h1 class=\"title\">Hierarchy For All Packages</h1>\n" 1224 + "<span class=\"packageHierarchyLabel\">Package Hierarchies:</span>", 1225 "<div class=\"contentContainer\">\n" 1226 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>", 1227 "</ul>\n" 1228 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>", 1229 "</ul>\n" 1230 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>"); 1231 1232 // Test for index-all page 1233 checkOutput("index-all.html", true, 1234 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1235 "<meta name=\"date\"", 1236 "<a name=\"navbar.top.firstrow\">\n" 1237 + "<!-- -->\n" 1238 + "</a>", 1239 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1240 + "</div>\n" 1241 + "<div class=\"navPadding\"> </div>\n" 1242 + "<script type=\"text/javascript\"><!--\n" 1243 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1244 + "//-->\n" 1245 + "</script>\n" 1246 + "<div class=\"contentContainer\">"); 1247 1248 // Test for src-html page 1249 checkOutput("src-html/pkg/AnotherClass.html", true, 1250 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1251 "<body>\n" 1252 + "<div class=\"sourceContainer\">"); 1253 1254 // Test for help-doc page 1255 checkOutput("help-doc.html", true, 1256 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1257 "<meta name=\"date\"", 1258 "<a name=\"navbar.top.firstrow\">\n" 1259 + "<!-- -->\n" 1260 + "</a>", 1261 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1262 + "</div>\n" 1263 + "<div class=\"navPadding\"> </div>\n" 1264 + "<script type=\"text/javascript\"><!--\n" 1265 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1266 + "//-->\n" 1267 + "</script>\n" 1268 + "<div class=\"header\">", 1269 "<ul class=\"blockList\">\n" 1270 + "<li class=\"blockList\">\n" 1271 + "<h2>Overview</h2>", 1272 "<li class=\"blockList\">\n" 1273 + "<h2>Package</h2>", 1274 "<li class=\"blockList\">\n" 1275 + "<h2>Class/Interface</h2>"); 1276 1277 // Test for a regular class page and members (nested class, field, constructore and method) 1278 checkOutput("pkg/AnotherClass.html", true, 1279 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1280 "<meta name=\"date\"", 1281 "<a name=\"navbar.top.firstrow\">\n" 1282 + "<!-- -->\n" 1283 + "</a>", 1284 "<!-- ======== START OF CLASS DATA ======== -->\n" 1285 + "<div class=\"header\">", 1286 "<!-- ======== NESTED CLASS SUMMARY ======== -->\n" 1287 + "<ul class=\"blockList\">\n" 1288 + "<li class=\"blockList\"><a name=\"nested.class.summary\">\n" 1289 + "<!-- -->\n" 1290 + "</a>\n" 1291 + "<h3>Nested Class Summary</h3>\n" 1292 + "<table class=\"memberSummary\" summary=\"Nested Class Summary table, listing nested classes, and an explanation\">", 1293 "<!-- =========== FIELD SUMMARY =========== -->\n" 1294 + "<ul class=\"blockList\">\n" 1295 + "<li class=\"blockList\"><a name=\"field.summary\">\n" 1296 + "<!-- -->\n" 1297 + "</a>\n" 1298 + "<h3>Field Summary</h3>\n" 1299 + "<table class=\"memberSummary\" summary=\"Field Summary table, listing fields, and an explanation\">", 1300 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 1301 + "<ul class=\"blockList\">\n" 1302 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 1303 + "<!-- -->\n" 1304 + "</a>\n" 1305 + "<h3>Constructor Summary</h3>\n" 1306 + "<table class=\"memberSummary\" summary=\"Constructor Summary table, listing constructors, and an explanation\">", 1307 "<!-- ========== METHOD SUMMARY =========== -->\n" 1308 + "<ul class=\"blockList\">\n" 1309 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 1310 + "<!-- -->\n" 1311 + "</a>\n" 1312 + "<h3>Method Summary</h3>\n" 1313 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 1314 "<!-- ============ FIELD DETAIL =========== -->\n" 1315 + "<ul class=\"blockList\">\n" 1316 + "<li class=\"blockList\"><a name=\"field.detail\">\n" 1317 + "<!-- -->\n" 1318 + "</a>\n" 1319 + "<h3>Field Detail</h3>", 1320 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 1321 + "<ul class=\"blockList\">\n" 1322 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 1323 + "<!-- -->\n" 1324 + "</a>\n" 1325 + "<h3>Constructor Detail</h3>", 1326 "<!-- ============ METHOD DETAIL ========== -->\n" 1327 + "<ul class=\"blockList\">\n" 1328 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 1329 + "<!-- -->\n" 1330 + "</a>\n" 1331 + "<h3>Method Detail</h3>"); 1332 1333 // Test for enum page 1334 checkOutput("pkg/AnotherClass.ModalExclusionType.html", true, 1335 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1336 "<meta name=\"date\"", 1337 "<a name=\"navbar.top.firstrow\">\n" 1338 + "<!-- -->\n" 1339 + "</a>", 1340 "<!-- ======== START OF CLASS DATA ======== -->\n" 1341 + "<div class=\"header\">", 1342 "<!-- =========== ENUM CONSTANT SUMMARY =========== -->\n" 1343 + "<ul class=\"blockList\">\n" 1344 + "<li class=\"blockList\"><a name=\"enum.constant.summary\">\n" 1345 + "<!-- -->\n" 1346 + "</a>\n" 1347 + "<h3>Enum Constant Summary</h3>\n" 1348 + "<table class=\"memberSummary\" summary=\"Enum Constant Summary table, listing enum constants, and an explanation\">", 1349 "<!-- ========== METHOD SUMMARY =========== -->\n" 1350 + "<ul class=\"blockList\">\n" 1351 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 1352 + "<!-- -->\n" 1353 + "</a>\n" 1354 + "<h3>Method Summary</h3>\n" 1355 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 1356 "<!-- ============ ENUM CONSTANT DETAIL =========== -->\n" 1357 + "<ul class=\"blockList\">\n" 1358 + "<li class=\"blockList\"><a name=\"enum.constant.detail\">\n" 1359 + "<!-- -->\n" 1360 + "</a>\n" 1361 + "<h3>Enum Constant Detail</h3>", 1362 "<!-- ============ METHOD DETAIL ========== -->\n" 1363 + "<ul class=\"blockList\">\n" 1364 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 1365 + "<!-- -->\n" 1366 + "</a>\n" 1367 + "<h3>Method Detail</h3>"); 1368 1369 // Test for interface page 1370 checkOutput("pkg2/Interface.html", true, 1371 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1372 "<meta name=\"date\"", 1373 "<a name=\"navbar.top.firstrow\">\n" 1374 + "<!-- -->\n" 1375 + "</a>", 1376 "<!-- ======== START OF CLASS DATA ======== -->\n" 1377 + "<div class=\"header\">", 1378 "<!-- ========== METHOD SUMMARY =========== -->\n" 1379 + "<ul class=\"blockList\">\n" 1380 + "<li class=\"blockList\"><a name=\"method.summary\">\n" 1381 + "<!-- -->\n" 1382 + "</a>\n" 1383 + "<h3>Method Summary</h3>\n" 1384 + "<table class=\"memberSummary\" summary=\"Method Summary table, listing methods, and an explanation\">", 1385 "<!-- ============ METHOD DETAIL ========== -->\n" 1386 + "<ul class=\"blockList\">\n" 1387 + "<li class=\"blockList\"><a name=\"method.detail\">\n" 1388 + "<!-- -->\n" 1389 + "</a>\n" 1390 + "<h3>Method Detail</h3>"); 1391 1392 // Test for error page 1393 checkOutput("pkg/TestError.html", true, 1394 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1395 "<meta name=\"date\"", 1396 "<a name=\"navbar.top.firstrow\">\n" 1397 + "<!-- -->\n" 1398 + "</a>", 1399 "<!-- ======== START OF CLASS DATA ======== -->\n" 1400 + "<div class=\"header\">", 1401 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 1402 + "<ul class=\"blockList\">\n" 1403 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 1404 + "<!-- -->\n" 1405 + "</a>\n" 1406 + "<h3>Constructor Summary</h3>", 1407 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 1408 + "<ul class=\"blockList\">\n" 1409 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 1410 + "<!-- -->\n" 1411 + "</a>\n" 1412 + "<h3>Constructor Detail</h3>"); 1413 1414 // Test for exception page 1415 checkOutput("pkg/TestException.html", true, 1416 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1417 "<meta name=\"date\"", 1418 "<a name=\"navbar.top.firstrow\">\n" 1419 + "<!-- -->\n" 1420 + "</a>", 1421 "<!-- ======== START OF CLASS DATA ======== -->\n" 1422 + "<div class=\"header\">", 1423 "<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n" 1424 + "<ul class=\"blockList\">\n" 1425 + "<li class=\"blockList\"><a name=\"constructor.summary\">\n" 1426 + "<!-- -->\n" 1427 + "</a>\n" 1428 + "<h3>Constructor Summary</h3>", 1429 "<!-- ========= CONSTRUCTOR DETAIL ======== -->\n" 1430 + "<ul class=\"blockList\">\n" 1431 + "<li class=\"blockList\"><a name=\"constructor.detail\">\n" 1432 + "<!-- -->\n" 1433 + "</a>\n" 1434 + "<h3>Constructor Detail</h3>"); 1435 1436 // Test for annotation page 1437 checkOutput("pkg2/TestAnnotationType.html", true, 1438 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1439 "<meta name=\"date\"", 1440 "<a name=\"navbar.top.firstrow\">\n" 1441 + "<!-- -->\n" 1442 + "</a>", 1443 "<!-- ======== START OF CLASS DATA ======== -->\n" 1444 + "<div class=\"header\">", 1445 "<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->\n" 1446 + "<ul class=\"blockList\">\n" 1447 + "<li class=\"blockList\"><a name=\"annotation.type.required.element.summary\">\n" 1448 + "<!-- -->\n" 1449 + "</a>\n" 1450 + "<h3>Required Element Summary</h3>\n" 1451 + "<table class=\"memberSummary\" summary=\"Required Element Summary table, listing required elements, and an explanation\">", 1452 "<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->\n" 1453 + "<ul class=\"blockList\">\n" 1454 + "<li class=\"blockList\"><a name=\"annotation.type.optional.element.summary\">\n" 1455 + "<!-- -->\n" 1456 + "</a>\n" 1457 + "<h3>Optional Element Summary</h3>\n" 1458 + "<table class=\"memberSummary\" summary=\"Optional Element Summary table, listing optional elements, and an explanation\">", 1459 "<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->\n" 1460 + "<ul class=\"blockList\">\n" 1461 + "<li class=\"blockList\"><a name=\"annotation.type.element.detail\">\n" 1462 + "<!-- -->\n" 1463 + "</a>\n" 1464 + "<h3>Element Detail</h3>"); 1465 1466 // Test for class use page 1467 checkOutput("pkg1/class-use/RegClass.html", true, 1468 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1469 "<meta name=\"date\"", 1470 "<a name=\"navbar.top.firstrow\">\n" 1471 + "<!-- -->\n" 1472 + "</a>", 1473 "<!-- ========= END OF TOP NAVBAR ========= -->\n" 1474 + "</div>\n" 1475 + "<div class=\"navPadding\"> </div>\n" 1476 + "<script type=\"text/javascript\"><!--\n" 1477 + "$('.navPadding').css('padding-top', $('.fixedNav').css(\"height\"));\n" 1478 + "//-->\n" 1479 + "</script>\n" 1480 + "<div class=\"header\">", 1481 "<table class=\"useSummary\" summary=\"Use table, listing packages, and an explanation\">", 1482 "<li class=\"blockList\"><a name=\"pkg\">\n" 1483 + "<!-- -->\n" 1484 + "</a>\n" 1485 + "<h3>Uses of <a href=\"../../pkg1/RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h3>\n" 1486 + "<table class=\"useSummary\" summary=\"Use table, listing fields, and an explanation\">"); 1487 1488 // Test for main index page 1489 checkOutput("index.html", true, 1490 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">", 1491 "<link rel=\"stylesheet\" type=\"text/css\" href=\"stylesheet.css\" title=\"Style\">", 1492 "<body onload=\"loadFrames()\">\n" 1493 + "<script type=\"text/javascript\">\n" 1494 + "if (targetPage == \"\" || targetPage == \"undefined\")\n" 1495 + " window.location.replace('overview-summary.html');\n" 1496 + "</script>\n" 1497 + "<noscript>JavaScript is disabled on your browser.</noscript>\n" 1498 + "<div class=\"mainContainer\">\n" 1499 + "<div class=\"leftContainer\">\n" 1500 + "<div class=\"leftTop\">\n" 1501 + "<iframe src=\"overview-frame.html\" name=\"packageListFrame\" title=\"All Packages\"></iframe>\n" 1502 + "</div>"); 1503 } 1504 1505 void html4NegatedOutput() { 1506 // Negated test for overview-frame page 1507 checkOutput("overview-frame.html", false, 1508 "<!DOCTYPE HTML>", 1509 "<meta name=\"dc.created\"", 1510 "<nav role=\"navigation\" class=\"indexNav\">\n" 1511 + "<ul>\n" 1512 + "<li><a href=\"allclasses-frame.html\" target=\"packageFrame\">All Classes</a></li>", 1513 "<main role=\"main\" class=\"indexContainer\">\n" 1514 + "<h2 title=\"Packages\">Packages</h2>"); 1515 1516 // Negated test for allclasses-frame page 1517 checkOutput("allclasses-frame.html", false, 1518 "<!DOCTYPE HTML>", 1519 "<meta name=\"dc.created\"", 1520 "<main role=\"main\" class=\"indexContainer\">\n" 1521 + "<ul>\n" 1522 + "<li>"); 1523 1524 // Negated test for allclasses-noframe page 1525 checkOutput("allclasses-noframe.html", false, 1526 "<!DOCTYPE HTML>", 1527 "<meta name=\"dc.created\"", 1528 "<main role=\"main\" class=\"indexContainer\">\n" 1529 + "<ul>\n" 1530 + "<li>"); 1531 1532 // Negated test for overview-summary page 1533 checkOutput("overview-summary.html", false, 1534 "<!DOCTYPE HTML>", 1535 "<meta name=\"dc.created\"", 1536 "<a id=\"navbar.top.firstrow\">\n" 1537 + "<!-- -->\n" 1538 + "</a>", 1539 "<table class=\"overviewSummary\">\n" 1540 + "<caption>", 1541 "<header role=\"banner\">\n" 1542 + "<nav role=\"navigation\">\n" 1543 + "<!-- ========= START OF TOP NAVBAR ======= -->"); 1544 1545 // Negated test for package-frame page 1546 checkOutput("pkg/package-frame.html", false, 1547 "<!DOCTYPE HTML>", 1548 "<meta name=\"dc.created\"", 1549 "<main role=\"main\">\n" 1550 + "<h1 class=\"bar\"><a href=\"../pkg/package-summary.html\" target=\"classFrame\">pkg</a></h1>", 1551 "<section role=\"region\">\n" 1552 + "<h2 title=\"Interfaces\">Interfaces</h2>", 1553 "<section role=\"region\">\n" 1554 + "<h2 title=\"Classes\">Classes</h2>", 1555 "<section role=\"region\">\n" 1556 + "<h2 title=\"Enums\">Enums</h2>", 1557 "<section role=\"region\">\n" 1558 + "<h2 title=\"Exceptions\">Exceptions</h2>", 1559 "<section role=\"region\">\n" 1560 + "<h2 title=\"Errors\">Errors</h2>", 1561 "<section role=\"region\">\n" 1562 + "<h2 title=\"Annotation Types\">Annotation Types</h2>"); 1563 1564 // Negated test for package-summary page 1565 checkOutput("pkg/package-summary.html", false, 1566 "<!DOCTYPE HTML>", 1567 "<meta name=\"dc.created\"", 1568 "<a id=\"navbar.top.firstrow\">\n" 1569 + "<!-- -->\n" 1570 + "</a>", 1571 "<table class=\"typeSummary\">", 1572 "<header role=\"banner\">\n" 1573 + "<nav role=\"navigation\">\n" 1574 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1575 "<main role=\"main\">\n" 1576 + "<div class=\"header\">", 1577 "<h2 title=\"Package pkg Description\">Package pkg Description</h2>\n", 1578 "<footer role=\"contentinfo\">\n" 1579 + "<nav role=\"navigation\">\n" 1580 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1581 1582 // Negated test for package-tree page 1583 checkOutput("pkg/package-tree.html", false, 1584 "<!DOCTYPE HTML>", 1585 "<meta name=\"dc.created\"", 1586 "<a id=\"navbar.top.firstrow\">\n" 1587 + "<!-- -->\n" 1588 + "</a>", 1589 "<header role=\"banner\">\n" 1590 + "<nav role=\"navigation\">\n" 1591 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1592 "<main role=\"main\">\n" 1593 + "<div class=\"header\">", 1594 "<section role=\"region\">\n" 1595 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>", 1596 "<section role=\"region\">\n" 1597 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>", 1598 "<section role=\"region\">\n" 1599 + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>", 1600 "<section role=\"region\">\n" 1601 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>", 1602 "<footer role=\"contentinfo\">\n" 1603 + "<nav role=\"navigation\">\n" 1604 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1605 1606 // Negated test for package-use page 1607 checkOutput("pkg1/package-use.html", false, 1608 "<!DOCTYPE HTML>", 1609 "<meta name=\"dc.created\"", 1610 "<a id=\"navbar.top.firstrow\">\n" 1611 + "<!-- -->\n" 1612 + "</a>", 1613 "<table class=\"useSummary\">", 1614 "<header role=\"banner\">\n" 1615 + "<nav role=\"navigation\">\n" 1616 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1617 "<main role=\"main\">\n" 1618 + "<div class=\"header\">", 1619 "<footer role=\"contentinfo\">\n" 1620 + "<nav role=\"navigation\">\n" 1621 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1622 1623 // Negated test for constant-values page 1624 checkOutput("constant-values.html", false, 1625 "<!DOCTYPE HTML>", 1626 "<meta name=\"dc.created\"", 1627 "<a id=\"navbar.top.firstrow\">\n" 1628 + "<!-- -->\n" 1629 + "</a>", 1630 "<table class=\"constantsSummary\">", 1631 "<header role=\"banner\">\n" 1632 + "<nav role=\"navigation\">\n" 1633 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1634 "<main role=\"main\">\n" 1635 + "<div class=\"header\">", 1636 "<section role=\"region\">\n" 1637 + "<h2 title=\"Contents\">Contents</h2>\n", 1638 "<section role=\"region\">\n" 1639 + "<h2 title=\"pkg\">pkg.*</h2>\n", 1640 "<footer role=\"contentinfo\">\n" 1641 + "<nav role=\"navigation\">\n" 1642 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1643 1644 // Negated test for deprecated-list page 1645 checkOutput("deprecated-list.html", false, 1646 "<!DOCTYPE HTML>", 1647 "<meta name=\"dc.created\"", 1648 "<a id=\"navbar.top.firstrow\">\n" 1649 + "<!-- -->\n" 1650 + "</a>", 1651 "<table class=\"deprecatedSummary\">", 1652 "<header role=\"banner\">\n" 1653 + "<nav role=\"navigation\">\n" 1654 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1655 "<main role=\"main\">\n" 1656 + "<div class=\"header\">", 1657 "<footer role=\"contentinfo\">\n" 1658 + "<nav role=\"navigation\">\n" 1659 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1660 1661 // Negated test for serialized-form page 1662 checkOutput("serialized-form.html", false, 1663 "<!DOCTYPE HTML>", 1664 "<meta name=\"dc.created\"", 1665 "<a id=\"navbar.top.firstrow\">\n" 1666 + "<!-- -->\n" 1667 + "</a>", 1668 "<header role=\"banner\">\n" 1669 + "<nav role=\"navigation\">\n" 1670 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1671 "<main role=\"main\">\n" 1672 + "<div class=\"header\">", 1673 "<section role=\"region\">\n" 1674 + "<h2 title=\"Package\">Package pkg</h2>\n", 1675 "<footer role=\"contentinfo\">\n" 1676 + "<nav role=\"navigation\">\n" 1677 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1678 1679 // Negated test for overview-tree page 1680 checkOutput("overview-tree.html", false, 1681 "<!DOCTYPE HTML>", 1682 "<meta name=\"dc.created\"", 1683 "<a id=\"navbar.top.firstrow\">\n" 1684 + "<!-- -->\n" 1685 + "</a>", 1686 "<header role=\"banner\">\n" 1687 + "<nav role=\"navigation\">\n" 1688 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1689 "<main role=\"main\">\n" 1690 + "<div class=\"header\">", 1691 "<section role=\"region\">\n" 1692 + "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>\n", 1693 "<section role=\"region\">\n" 1694 + "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>\n", 1695 "<section role=\"region\">\n" 1696 + "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>\n", 1697 "<section role=\"region\">\n" 1698 + "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>\n", 1699 "<footer role=\"contentinfo\">\n" 1700 + "<nav role=\"navigation\">\n" 1701 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1702 1703 // Negated test for index-all page 1704 checkOutput("index-all.html", false, 1705 "<!DOCTYPE HTML>", 1706 "<meta name=\"dc.created\"", 1707 "<a id=\"navbar.top.firstrow\">\n" 1708 + "<!-- -->\n" 1709 + "</a>", 1710 "<header role=\"banner\">\n" 1711 + "<nav role=\"navigation\">\n" 1712 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1713 "</header>\n" 1714 + "<main role=\"main\">", 1715 "<footer role=\"contentinfo\">\n" 1716 + "<nav role=\"navigation\">\n" 1717 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1718 1719 // Negated test for src-html page 1720 checkOutput("src-html/pkg/AnotherClass.html", false, 1721 "<!DOCTYPE HTML>", 1722 "<main role=\"main\">\n" 1723 + "<div class=\"sourceContainer\">"); 1724 1725 // Negated test for help-doc page 1726 checkOutput("help-doc.html", false, 1727 "<!DOCTYPE HTML>", 1728 "<meta name=\"dc.created\"", 1729 "<a id=\"navbar.top.firstrow\">\n" 1730 + "<!-- -->\n" 1731 + "</a>", 1732 "<header role=\"banner\">\n" 1733 + "<nav role=\"navigation\">\n" 1734 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1735 "<main role=\"main\">\n" 1736 + "<div class=\"header\">", 1737 "<section role=\"region\">\n" 1738 + "<h2>Overview</h2>\n", 1739 "<section role=\"region\">\n" 1740 + "<h2>Package</h2>\n", 1741 "<section role=\"region\">\n" 1742 + "<h2>Class/Interface</h2>\n", 1743 "<footer role=\"contentinfo\">\n" 1744 + "<nav role=\"navigation\">\n" 1745 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1746 1747 // Negated test for a regular class page and members (nested class, field, constructore and method) 1748 checkOutput("pkg/AnotherClass.html", false, 1749 "<!DOCTYPE HTML>", 1750 "<meta name=\"dc.created\"", 1751 "<a id=\"navbar.top.firstrow\">\n" 1752 + "<!-- -->\n" 1753 + "</a>", 1754 "<header role=\"banner\">\n" 1755 + "<nav role=\"navigation\">\n" 1756 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1757 "<main role=\"main\">\n" 1758 + "<div class=\"header\">", 1759 "<section role=\"region\">\n" 1760 + "<ul class=\"blockList\">\n" 1761 + "<li class=\"blockList\"><a id=\"nested.class.summary\">\n" 1762 + "<!-- -->\n" 1763 + "</a>\n" 1764 + "<h3>Nested Class Summary</h3>\n" 1765 + "<table class=\"memberSummary\">", 1766 "<section role=\"region\">\n" 1767 + "<ul class=\"blockList\">\n" 1768 + "<li class=\"blockList\"><a id=\"field.summary\">\n" 1769 + "<!-- -->\n" 1770 + "</a>\n" 1771 + "<h3>Field Summary</h3>\n" 1772 + "<table class=\"memberSummary\">", 1773 "<section role=\"region\">\n" 1774 + "<ul class=\"blockList\">\n" 1775 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 1776 + "<!-- -->\n" 1777 + "</a>\n" 1778 + "<h3>Constructor Summary</h3>\n" 1779 + "<table class=\"memberSummary\">", 1780 "<section role=\"region\">\n" 1781 + "<ul class=\"blockList\">\n" 1782 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 1783 + "<!-- -->\n" 1784 + "</a>\n" 1785 + "<h3>Method Summary</h3>", 1786 "<section role=\"region\">\n" 1787 + "<ul class=\"blockList\">\n" 1788 + "<li class=\"blockList\"><a id=\"field.detail\">\n" 1789 + "<!-- -->\n" 1790 + "</a>\n" 1791 + "<h3>Field Detail</h3>", 1792 "<section role=\"region\">\n" 1793 + "<ul class=\"blockList\">\n" 1794 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 1795 + "<!-- -->\n" 1796 + "</a>\n" 1797 + "<h3>Constructor Detail</h3>", 1798 "<section role=\"region\">\n" 1799 + "<ul class=\"blockList\">\n" 1800 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 1801 + "<!-- -->\n" 1802 + "</a>\n" 1803 + "<h3>Method Detail</h3>", 1804 "<footer role=\"contentinfo\">\n" 1805 + "<nav role=\"navigation\">\n" 1806 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1807 1808 // Negated test for enum page 1809 checkOutput("pkg/AnotherClass.ModalExclusionType.html", false, 1810 "<!DOCTYPE HTML>", 1811 "<meta name=\"dc.created\"", 1812 "<a id=\"navbar.top.firstrow\">\n" 1813 + "<!-- -->\n" 1814 + "</a>", 1815 "<header role=\"banner\">\n" 1816 + "<nav role=\"navigation\">\n" 1817 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1818 "<main role=\"main\">\n" 1819 + "<div class=\"header\">", 1820 "<section role=\"region\">\n" 1821 + "<ul class=\"blockList\">\n" 1822 + "<li class=\"blockList\"><a id=\"enum.constant.summary\">\n" 1823 + "<!-- -->\n" 1824 + "</a>\n" 1825 + "<h3>Enum Constant Summary</h3>\n" 1826 + "<table class=\"memberSummary\">", 1827 "<section role=\"region\">\n" 1828 + "<ul class=\"blockList\">\n" 1829 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 1830 + "<!-- -->\n" 1831 + "</a>\n" 1832 + "<h3>Method Summary</h3>\n" 1833 + "<table class=\"memberSummary\">", 1834 "<section role=\"region\">\n" 1835 + "<ul class=\"blockList\">\n" 1836 + "<li class=\"blockList\"><a id=\"enum.constant.detail\">\n" 1837 + "<!-- -->\n" 1838 + "</a>\n" 1839 + "<h3>Enum Constant Detail</h3>", 1840 "<section role=\"region\">\n" 1841 + "<ul class=\"blockList\">\n" 1842 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 1843 + "<!-- -->\n" 1844 + "</a>\n" 1845 + "<h3>Method Detail</h3>", 1846 "<footer role=\"contentinfo\">\n" 1847 + "<nav role=\"navigation\">\n" 1848 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1849 1850 // Negated test for interface page 1851 checkOutput("pkg2/Interface.html", false, 1852 "<!DOCTYPE HTML>", 1853 "<meta name=\"dc.created\"", 1854 "<a id=\"navbar.top.firstrow\">\n" 1855 + "<!-- -->\n" 1856 + "</a>", 1857 "<header role=\"banner\">\n" 1858 + "<nav role=\"navigation\">\n" 1859 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1860 "<main role=\"main\">\n" 1861 + "<div class=\"header\">", 1862 "<section role=\"region\">\n" 1863 + "<ul class=\"blockList\">\n" 1864 + "<li class=\"blockList\"><a id=\"method.summary\">\n" 1865 + "<!-- -->\n" 1866 + "</a>\n" 1867 + "<h3>Method Summary</h3>\n" 1868 + "<table class=\"memberSummary\">", 1869 "<section role=\"region\">\n" 1870 + "<ul class=\"blockList\">\n" 1871 + "<li class=\"blockList\"><a id=\"method.detail\">\n" 1872 + "<!-- -->\n" 1873 + "</a>\n" 1874 + "<h3>Method Detail</h3>", 1875 "<footer role=\"contentinfo\">\n" 1876 + "<nav role=\"navigation\">\n" 1877 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1878 1879 // Negated test for error page 1880 checkOutput("pkg/TestError.html", false, 1881 "<!DOCTYPE HTML>", 1882 "<meta name=\"dc.created\"", 1883 "<a id=\"navbar.top.firstrow\">\n" 1884 + "<!-- -->\n" 1885 + "</a>", 1886 "<header role=\"banner\">\n" 1887 + "<nav role=\"navigation\">\n" 1888 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1889 "<main role=\"main\">\n" 1890 + "<div class=\"header\">", 1891 "<section role=\"region\">\n" 1892 + "<ul class=\"blockList\">\n" 1893 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 1894 + "<!-- -->\n" 1895 + "</a>\n" 1896 + "<h3>Constructor Summary</h3>", 1897 "<section role=\"region\">\n" 1898 + "<ul class=\"blockList\">\n" 1899 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 1900 + "<!-- -->\n" 1901 + "</a>\n" 1902 + "<h3>Constructor Detail</h3>", 1903 "<footer role=\"contentinfo\">\n" 1904 + "<nav role=\"navigation\">\n" 1905 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1906 1907 // Negated test for exception page 1908 checkOutput("pkg/TestException.html", false, 1909 "<!DOCTYPE HTML>", 1910 "<meta name=\"dc.created\"", 1911 "<a id=\"navbar.top.firstrow\">\n" 1912 + "<!-- -->\n" 1913 + "</a>", 1914 "<header role=\"banner\">\n" 1915 + "<nav role=\"navigation\">\n" 1916 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1917 "<main role=\"main\">\n" 1918 + "<div class=\"header\">", 1919 "<section role=\"region\">\n" 1920 + "<ul class=\"blockList\">\n" 1921 + "<li class=\"blockList\"><a id=\"constructor.summary\">\n" 1922 + "<!-- -->\n" 1923 + "</a>\n" 1924 + "<h3>Constructor Summary</h3>", 1925 "<section role=\"region\">\n" 1926 + "<ul class=\"blockList\">\n" 1927 + "<li class=\"blockList\"><a id=\"constructor.detail\">\n" 1928 + "<!-- -->\n" 1929 + "</a>\n" 1930 + "<h3>Constructor Detail</h3>", 1931 "<footer role=\"contentinfo\">\n" 1932 + "<nav role=\"navigation\">\n" 1933 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1934 1935 // Negated test for annotation page 1936 checkOutput("pkg2/TestAnnotationType.html", false, 1937 "<!DOCTYPE HTML>", 1938 "<meta name=\"dc.created\"", 1939 "<a id=\"navbar.top.firstrow\">\n" 1940 + "<!-- -->\n" 1941 + "</a>", 1942 "<header role=\"banner\">\n" 1943 + "<nav role=\"navigation\">\n" 1944 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1945 "<main role=\"main\">\n" 1946 + "<div class=\"header\">", 1947 "<section role=\"region\">\n" 1948 + "<ul class=\"blockList\">\n" 1949 + "<li class=\"blockList\"><a id=\"annotation.type.required.element.summary\">\n" 1950 + "<!-- -->\n" 1951 + "</a>\n" 1952 + "<h3>Required Element Summary</h3>\n" 1953 + "<table class=\"memberSummary\">", 1954 "<section role=\"region\">\n" 1955 + "<ul class=\"blockList\">\n" 1956 + "<li class=\"blockList\"><a id=\"annotation.type.optional.element.summary\">\n" 1957 + "<!-- -->\n" 1958 + "</a>\n" 1959 + "<h3>Optional Element Summary</h3>\n" 1960 + "<table class=\"memberSummary\">", 1961 "<section role=\"region\">\n" 1962 + "<ul class=\"blockList\">\n" 1963 + "<li class=\"blockList\"><a id=\"annotation.type.element.detail\">\n" 1964 + "<!-- -->\n" 1965 + "</a>\n" 1966 + "<h3>Element Detail</h3>", 1967 "<footer role=\"contentinfo\">\n" 1968 + "<nav role=\"navigation\">\n" 1969 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1970 1971 // Negated test for class use page 1972 checkOutput("pkg1/class-use/RegClass.html", false, 1973 "<!DOCTYPE HTML>", 1974 "<meta name=\"dc.created\"", 1975 "<a id=\"navbar.top.firstrow\">\n" 1976 + "<!-- -->\n" 1977 + "</a>", 1978 "<header role=\"banner\">\n" 1979 + "<nav role=\"navigation\">\n" 1980 + "<!-- ========= START OF TOP NAVBAR ======= -->", 1981 "<main role=\"main\">\n" 1982 + "<div class=\"header\">", 1983 "<table class=\"useSummary\">", 1984 "<section role=\"region\"><a id=\"pkg\">\n" 1985 + "<!-- -->\n" 1986 + "</a>\n" 1987 + "<h3>Uses of <a href=\"../../pkg1/RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h3>\n" 1988 + "\n" 1989 + "<table class=\"useSummary\">", 1990 "<footer role=\"contentinfo\">\n" 1991 + "<nav role=\"navigation\">\n" 1992 + "<!-- ======= START OF BOTTOM NAVBAR ====== -->"); 1993 1994 // Negated test for main index page 1995 checkOutput("index.html", false, 1996 "<!DOCTYPE HTML>", 1997 "<body>\n" 1998 + "<script type=\"text/javascript\">\n" 1999 + "if (targetPage == \"\" || targetPage == \"undefined\")\n" 2000 + " window.location.replace('overview-summary.html');\n" 2001 + "</script>\n" 2002 + "<noscript>JavaScript is disabled on your browser.</noscript>\n" 2003 + "<main role=\"main\">\n" 2004 + "<div class=\"mainContainer\">\n"); 2005 } 2006} 2007