2015-11-28 18:52:17 -08:00
|
|
|
/*
|
2020-03-04 12:58:13 -08:00
|
|
|
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
2015-11-28 18:52:17 -08:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
|
|
|
* This code is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 only, as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
* accompanied this code).
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License version
|
|
|
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*
|
|
|
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
* or visit www.oracle.com if you need additional information or have any
|
|
|
|
* questions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* @test
|
2018-05-29 11:20:04 -07:00
|
|
|
* @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 8196202
|
2019-11-27 13:08:16 +01:00
|
|
|
* 8202624 8210047 8184205 8221871 8223733 8223378
|
2015-11-28 18:52:17 -08:00
|
|
|
* @summary Test the version of HTML generated by the javadoc tool.
|
2018-12-21 10:38:33 -08:00
|
|
|
* @library ../../lib
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.tool
|
2018-12-21 10:38:33 -08:00
|
|
|
* @build javadoc.tester.*
|
2015-11-28 18:52:17 -08:00
|
|
|
* @run main TestHtmlVersion
|
|
|
|
*/
|
|
|
|
|
2018-12-21 10:38:33 -08:00
|
|
|
import javadoc.tester.JavadocTester;
|
|
|
|
|
2015-11-28 18:52:17 -08:00
|
|
|
public class TestHtmlVersion extends JavadocTester {
|
|
|
|
|
|
|
|
public static void main(String... args) throws Exception {
|
|
|
|
TestHtmlVersion tester = new TestHtmlVersion();
|
|
|
|
tester.runTests();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Test
|
2018-12-21 10:38:33 -08:00
|
|
|
public void test1() {
|
2018-03-06 10:45:47 -08:00
|
|
|
javadoc("-d", "out-1",
|
|
|
|
"-private",
|
|
|
|
"-linksource",
|
2015-11-28 18:52:17 -08:00
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"-use",
|
|
|
|
"pkg", "pkg1", "pkg2", "pkg3");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
|
|
|
|
html5Output();
|
|
|
|
html5NegatedOutput();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Test
|
2018-12-21 10:38:33 -08:00
|
|
|
public void test4() {
|
2018-03-06 10:45:47 -08:00
|
|
|
javadoc("-d", "out-4",
|
|
|
|
"-private",
|
|
|
|
"-linksource",
|
2015-11-28 18:52:17 -08:00
|
|
|
"-sourcepath", testSrc,
|
|
|
|
"-use",
|
|
|
|
"pkg3");
|
|
|
|
checkExit(Exit.OK);
|
|
|
|
}
|
|
|
|
|
|
|
|
void html5Output() {
|
|
|
|
// Test for overview-summary page
|
2019-04-01 12:44:23 +05:30
|
|
|
checkOutput("index.html", true,
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<div class=\"overview-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table>\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<caption>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for package-summary page
|
|
|
|
checkOutput("pkg/package-summary.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<div class=\"type-summary\">\n<table>",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"package-description\" id=\"package.description\">\n"
|
2016-10-10 15:17:02 -07:00
|
|
|
+ "<div class=\"block\">Test package.</div>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
2016-10-10 15:17:02 -07:00
|
|
|
// No package description
|
|
|
|
checkOutput("pkg1/package-summary.html", true,
|
2020-03-04 12:58:13 -08:00
|
|
|
"<section class=\"summary\">\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\">\n"
|
|
|
|
+ "<div class=\"type-summary\">\n<table>\n"
|
|
|
|
+ "<caption><span>Class Summary</span><span class=\"tab-end\"> </span></caption>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Test for package-tree page
|
|
|
|
checkOutput("pkg/package-tree.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<li class=\"circle\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for package-use page
|
|
|
|
checkOutput("pkg1/package-use.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<div class=\"use-summary\">\n<table>",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for constant-values page
|
|
|
|
checkOutput("constant-values.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<div class=\"constants-summary\">\n<table>",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"packages\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Contents\">Contents</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constants-summary\" id=\"pkg\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"pkg\">pkg.*</h2>\n",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for deprecated-list page
|
|
|
|
checkOutput("deprecated-list.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<div class=\"deprecated-summary\" id=\"class\">\n<table>",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for serialized-form page
|
|
|
|
checkOutput("serialized-form.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"serialized-package-container\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Package\">Package pkg</h2>\n",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for overview-tree page
|
|
|
|
checkOutput("overview-tree.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<li class=\"circle\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>\n",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>\n",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Annotation Type Hierarchy\">Annotation Type Hierarchy</h2>\n",
|
2019-04-23 18:28:48 +05:30
|
|
|
"<section class=\"hierarchy\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>\n",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for index-all page
|
|
|
|
checkOutput("index-all.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"</header>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"flex-content\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<main role=\"main\">",
|
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for src-html page
|
|
|
|
checkOutput("src-html/pkg/AnotherClass.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<main role=\"main\">\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"source-container\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Test for help-doc page
|
|
|
|
checkOutput("help-doc.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"help-section\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2>Overview</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"help-section\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2>Package</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"help-section\">\n"
|
2018-07-09 13:26:59 -07:00
|
|
|
+ "<h2>Class or Interface</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for a regular class page and members (nested class, field, constructore and method)
|
|
|
|
checkOutput("pkg/AnotherClass.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"nested-class-summary\" id=\"nested.class.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Nested Class Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n<table>",
|
|
|
|
"<section class=\"field-summary\" id=\"field.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Field Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n<table>",
|
|
|
|
"<section class=\"constructor-summary\" id=\"constructor.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n<table>",
|
|
|
|
"<section class=\"method-summary\" id=\"method.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"field-details\" id=\"field.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Field Details</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constructor-details\" id=\"constructor.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Constructor Details</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"method-details\" id=\"method.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Method Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for enum page
|
|
|
|
checkOutput("pkg/AnotherClass.ModalExclusionType.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constants-summary\" id=\"enum.constant.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Enum Constant Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n",
|
2018-11-20 10:50:54 +05:30
|
|
|
"<table aria-labelledby=\"t0\">\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"method-summary\" id=\"method.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n",
|
2018-11-20 10:50:54 +05:30
|
|
|
"<table aria-labelledby=\"t0\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constant-details\" id=\"enum.constant.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Enum Constant Details</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"method-details\" id=\"method.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Method Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for interface page
|
|
|
|
checkOutput("pkg2/Interface.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"method-summary\" id=\"method.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n",
|
2018-11-20 10:50:54 +05:30
|
|
|
"<table aria-labelledby=\"t0\">\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"method-details\" id=\"method.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Method Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for error page
|
|
|
|
checkOutput("pkg/TestError.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constructor-summary\" id=\"constructor.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constructor-details\" id=\"constructor.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Constructor Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for exception page
|
|
|
|
checkOutput("pkg/TestException.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constructor-summary\" id=\"constructor.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"constructor-details\" id=\"constructor.detail\">\n"
|
2019-06-12 13:21:25 +02:00
|
|
|
+ "<h2>Constructor Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for annotation page
|
|
|
|
checkOutput("pkg2/TestAnnotationType.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
2019-11-27 13:08:16 +01:00
|
|
|
+ "<!-- ======== START OF CLASS DATA ======== -->\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<section class=\"member-summary\" id=\"annotation.type.required.element.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Required Element Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n<table>",
|
|
|
|
"<section class=\"member-summary\" id=\"annotation.type.optional.element.summary\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Optional Element Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n<table>",
|
2020-01-14 21:17:30 +01:00
|
|
|
"<section class=\"details\" id=\"annotation.type.element.detail\">\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
2020-01-14 21:17:30 +01:00
|
|
|
+ "<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<li class=\"block-list\">\n"
|
|
|
|
+ "<section class=\"member-details\">\n"
|
2020-01-14 21:17:30 +01:00
|
|
|
+ "<h2>Element Details</h2>\n",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
|
|
|
|
// Test for class use page
|
|
|
|
checkOutput("pkg1/class-use/RegClass.html", true,
|
|
|
|
"<!DOCTYPE HTML>",
|
|
|
|
"<meta name=\"dc.created\"",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul id=\"navbar.top.firstrow\" class=\"nav-list\" title=\"Navigation\">\n",
|
|
|
|
"<header role=\"banner\" class=\"flex-header\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->",
|
|
|
|
"<main role=\"main\">\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"use-summary\">\n<table>",
|
2020-01-14 21:17:30 +01:00
|
|
|
"<section class=\"detail\" id=\"pkg\">\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Uses of <a href=\"../RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"use-summary\">\n<table>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<footer role=\"contentinfo\">\n"
|
|
|
|
+ "<nav role=\"navigation\">\n"
|
|
|
|
+ "<!-- ======= START OF BOTTOM NAVBAR ====== -->");
|
|
|
|
}
|
|
|
|
|
|
|
|
void html5NegatedOutput() {
|
|
|
|
// Negated test for overview-summary page
|
|
|
|
checkOutput("overview-summary.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
2018-11-20 10:50:54 +05:30
|
|
|
"<table summary=\"Package Summary table, listing packages, and an explanation\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<caption>",
|
|
|
|
"</noscript>\n"
|
|
|
|
+ "<!-- ========= START OF TOP NAVBAR ======= -->");
|
|
|
|
|
|
|
|
// Negated test for package-summary page
|
|
|
|
checkOutput("pkg/package-summary.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
2019-04-05 15:57:33 -07:00
|
|
|
"<section>\n"
|
2019-04-23 18:28:48 +05:30
|
|
|
+ "<h2 title=\"PackagAnotherClass.ModalExclusionType.htmle pkg Description\">Package pkg Description</h2>\n",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Interface Summary table, listing interfaces, and an explanation\">",
|
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Class Summary table, listing classes, and an explanation\">",
|
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Enum Summary table, listing enums, and an explanation\">",
|
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Exception Summary table, listing exceptions, and an explanation\">",
|
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Error Summary table, listing errors, and an explanation\">",
|
|
|
|
"<div class=\"type-summary\">\n<table summary=\"Annotation Types Summary table, listing annotation types, and an explanation\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for package-tree page
|
|
|
|
checkOutput("pkg/package-tree.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>");
|
|
|
|
|
|
|
|
// Negated test for package-use page
|
|
|
|
checkOutput("pkg1/package-use.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"use-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Use table, listing packages, and an explanation\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for constant-values page
|
|
|
|
checkOutput("constant-values.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"constants-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Constant Field Values table, listing constant fields, and values\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for deprecated-list page
|
|
|
|
checkOutput("deprecated-list.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">\n"
|
|
|
|
+ "<h1 title=\"Deprecated API\" class=\"title\">Deprecated API</h1>\n"
|
|
|
|
+ "<h2 title=\"Contents\">Contents</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Classes table, listing classes, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Enums table, listing enums, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Exceptions table, listing exceptions, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Errors table, listing errors, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Annotation Types table, listing annotation types, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Fields table, listing fields, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Methods table, listing methods, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Constructors table, listing constructors, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Enum Constants table, listing enum constants, and an explanation\">",
|
|
|
|
"<div class=\"deprecated-summary\">\n<table summary=\"Annotation Type Elements table, listing annotation type elements, and an explanation\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for serialized-form page
|
|
|
|
checkOutput("serialized-form.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<li class=\"block-list\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2 title=\"Package\">Package pkg</h2>");
|
|
|
|
|
|
|
|
// Negated test for overview-tree page
|
|
|
|
checkOutput("overview-tree.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">",
|
|
|
|
"<div class=\"contentContainer\">\n"
|
|
|
|
+ "<h2 title=\"Class Hierarchy\">Class Hierarchy</h2>",
|
|
|
|
"</ul>\n"
|
|
|
|
+ "<h2 title=\"Interface Hierarchy\">Interface Hierarchy</h2>",
|
|
|
|
"</ul>\n"
|
|
|
|
+ "<h2 title=\"Enum Hierarchy\">Enum Hierarchy</h2>");
|
|
|
|
|
|
|
|
// Negated test for index-all page
|
|
|
|
checkOutput("index-all.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"contentContainer\">");
|
|
|
|
|
|
|
|
// Negated test for src-html page
|
|
|
|
checkOutput("src-html/pkg/AnotherClass.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<body>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"source-container\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for help-doc page
|
|
|
|
checkOutput("help-doc.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2>Overview</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<li class=\"block-list\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2>Package</h2>",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<li class=\"block-list\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<h2>Class/Interface</h2>");
|
|
|
|
|
|
|
|
// Negated test for a regular class page and members (nested class, field, constructore and method)
|
|
|
|
checkOutput("pkg/AnotherClass.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ======== NESTED CLASS SUMMARY ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"nested.class.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Nested Class Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Nested Class Summary table, listing nested classes, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- =========== FIELD SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"field.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Field Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Field Summary table, listing fields, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Constructor Summary table, listing constructors, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ========== METHOD SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Method Summary table, listing methods, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ FIELD DETAIL =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"field.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Field Details</h2>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Constructor Details</h2>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ METHOD DETAIL ========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Method Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for enum page
|
|
|
|
checkOutput("pkg/AnotherClass.ModalExclusionType.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- =========== ENUM CONSTANT SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"enum.constant.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Enum Constant Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Enum Constant Summary table, listing enum constants, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ========== METHOD SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Method Summary table, listing methods, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ ENUM CONSTANT DETAIL =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"enum.constant.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Enum Constant Details</h2>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ METHOD DETAIL ========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Method Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for interface page
|
|
|
|
checkOutput("pkg2/Interface.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========== METHOD SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Method Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Method Summary table, listing methods, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ METHOD DETAIL ========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"method.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Method Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for error page
|
|
|
|
checkOutput("pkg/TestError.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Constructor Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for exception page
|
|
|
|
checkOutput("pkg/TestException.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ======== CONSTRUCTOR SUMMARY ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Constructor Summary</h2>",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ========= CONSTRUCTOR DETAIL ======== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"constructor.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Constructor Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for annotation page
|
|
|
|
checkOutput("pkg2/TestAnnotationType.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"annotation.type.required.element.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Required Element Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Required Element Summary table, listing required elements, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"annotation.type.optional.element.summary\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Optional Element Summary</h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"member-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Optional Element Summary table, listing optional elements, and an explanation\">",
|
2015-11-28 18:52:17 -08:00
|
|
|
"<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<ul class=\"block-list\">\n"
|
|
|
|
+ "<li class=\"block-list\"><a name=\"annotation.type.element.detail\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-05-21 15:02:18 +05:30
|
|
|
+ "<h2>Element Details</h2>");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for class use page
|
|
|
|
checkOutput("pkg1/class-use/RegClass.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<meta name=\"date\"",
|
|
|
|
"<a name=\"navbar.top.firstrow\">\n"
|
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>",
|
|
|
|
"<!-- ========= END OF TOP NAVBAR ========= -->\n"
|
|
|
|
+ "</div>\n"
|
|
|
|
+ "<div class=\"header\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<div class=\"use-summary\">\n"
|
2018-11-20 10:50:54 +05:30
|
|
|
+ "<table summary=\"Use table, listing packages, and an explanation\">",
|
2020-03-13 10:57:41 -07:00
|
|
|
"<li class=\"block-list\"><a name=\"pkg\">\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<!-- -->\n"
|
|
|
|
+ "</a>\n"
|
2019-03-04 11:19:34 -08:00
|
|
|
+ "<h2>Uses of <a href=\"../RegClass.html\" title=\"class in pkg1\">RegClass</a> in <a href=\"../../pkg/package-summary.html\">pkg</a></h2>\n"
|
2020-03-13 10:57:41 -07:00
|
|
|
+ "<div class=\"use-summary\">\n<table summary=\"Use table, listing fields, and an explanation\">");
|
2015-11-28 18:52:17 -08:00
|
|
|
|
|
|
|
// Negated test for main index page
|
|
|
|
checkOutput("index.html", false,
|
|
|
|
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">",
|
|
|
|
"<body>\n"
|
2017-02-02 14:55:23 -08:00
|
|
|
+ "<script type=\"text/javascript\">\n"
|
|
|
|
+ "if (targetPage == \"\" || targetPage == \"undefined\")\n"
|
|
|
|
+ " window.location.replace('overview-summary.html');\n"
|
|
|
|
+ "</script>\n"
|
|
|
|
+ "<noscript>JavaScript is disabled on your browser.</noscript>\n"
|
2015-11-28 18:52:17 -08:00
|
|
|
+ "<div class=\"mainContainer\">\n");
|
|
|
|
}
|
|
|
|
}
|