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